Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
doralchan committed Sep 26, 2024
1 parent 195f782 commit 29de827
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/app/views/explore/toolbar/index.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ describe('ExploreToolbar', function () {

const section = screen.getByTestId('section-result-mode');
const samples = within(section).getByRole('radio', {name: 'Samples'});
const aggregates = within(section).getByRole('radio', {name: 'Aggregate'});
const aggregates = within(section).getByRole('radio', {name: 'Aggregates'});

expect(samples).toBeChecked();
expect(aggregates).not.toBeChecked();
Expand Down Expand Up @@ -249,7 +249,7 @@ describe('ExploreToolbar', function () {
// click the aggregates mode to enable
await userEvent.click(
within(screen.getByTestId('section-result-mode')).getByRole('radio', {
name: 'Aggregate',
name: 'Aggregates',
})
);

Expand Down

0 comments on commit 29de827

Please sign in to comment.