Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kgabryje committed Jul 25, 2022
1 parent 3f23e0f commit b3bf9f3
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,7 @@ describe('VizTypeControl', () => {
expect(screen.getByLabelText('bar-chart-tile')).toBeVisible();
expect(screen.getByLabelText('area-chart-tile')).toBeVisible();
expect(screen.queryByLabelText('monitor')).not.toBeInTheDocument();
expect(
screen.queryByLabelText('current-rendered-tile'),
).not.toBeInTheDocument();
expect(screen.queryByLabelText('check-square')).not.toBeInTheDocument();

expect(
within(screen.getByTestId('fast-viz-switcher')).getByText(
Expand Down Expand Up @@ -189,7 +187,7 @@ describe('VizTypeControl', () => {
},
};
renderWrapper(props, state);
expect(screen.getByLabelText('current-rendered-tile')).toBeVisible();
expect(screen.getByLabelText('check-square')).toBeVisible();
expect(
within(screen.getByTestId('fast-viz-switcher')).getByText('Line Chart'),
).toBeVisible();
Expand Down

0 comments on commit b3bf9f3

Please sign in to comment.