Skip to content

Commit

Permalink
Change tests for email subscription modal
Browse files Browse the repository at this point in the history
Co-authored-by: Theophile Sandoz <theophile.sandoz@gmail.com>
  • Loading branch information
IlyaSmiyukha and thesan authored Jul 26, 2023
1 parent e52fd4b commit ed18904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/app/App.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ export const EmailSubscriptionModalDecline: Story = {
hasRegisteredEmail: false,
},
play: async ({ canvasElement }) => {
const screen = within(canvasElement)
const modal = withinModal(canvasElement)
const element = await screen.getByText('Sign up to email notifications')
expect(element)
await userEvent.click(screen.getByText('Not now'))
Expand Down

0 comments on commit ed18904

Please sign in to comment.