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 ed18904 commit 2e69753
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 @@ -447,7 +447,7 @@ export const EmailSubscriptionModalSubscribe: Story = {
hasRegisteredEmail: false,
},
play: async ({ canvasElement }) => {
const screen = within(canvasElement)
const modal = withinModal(canvasElement)
const button = screen.getByText(/^Sign and Authorize Email/i)
await userEvent.type(screen.getByPlaceholderText('Add email for notifications here'), 'test@email.com')
await userEvent.click(button)
Expand Down

0 comments on commit 2e69753

Please sign in to comment.