Recommendation metrics: publish the margin of error on every delta #122
@@ -213,8 +213,11 @@ describe('Admin tuning page', () => {
|
||||
//
|
||||
// Queried as column headers rather than by text: the caption below also
|
||||
// mentions "Plays", and matching on the word finds the prose too.
|
||||
expect(screen.getByRole('columnheader', { name: /Plays/ })).toHaveTextContent('(window)');
|
||||
expect(screen.getByRole('columnheader', { name: /^Skip/ })).toHaveTextContent('(last wk)');
|
||||
// Exact accessible names: /^Skip/ also matches the "Skip rate by week"
|
||||
// sparkline column, and /Plays/ matched the caption prose before that.
|
||||
expect(screen.getByRole('columnheader', { name: 'Plays (window)' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('columnheader', { name: 'Skip (last wk)' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('columnheader', { name: 'Completion (last wk)' })).toBeInTheDocument();
|
||||
// The knob turn is listed under the chart AND tooltipped on each
|
||||
// sparkline's marker tick, hence getAllBy.
|
||||
expect(
|
||||
|
||||
Reference in New Issue
Block a user