Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Moore committed Dec 24, 2024
1 parent 7f18a3d commit eb52e02
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -791,10 +791,10 @@ export const UpdatesLabels: Story = {
const canvas = within(canvasElement)

await step('Initial render complete', async () => {
await waitFor(() => canvas.getByRole('button', { name: 'Add Filters' }))
await waitFor(() => canvas.getByRole('button', { name: 'Add filters' }))
})

await userEvent.click(canvas.getByRole('button', { name: 'Add Filters' }))
await userEvent.click(canvas.getByRole('button', { name: 'Add filters' }))

expect(canvas.queryByText('Custom Range')).not.toBeInTheDocument()

Expand Down

0 comments on commit eb52e02

Please sign in to comment.