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 2e69753 commit 1dd7a75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/ui/src/app/App.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ export const EmailSubscriptionModalSubscribe: Story = {
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 waitFor(() => expect(button).toBeEnabled())
await userEvent.click(button)
expect(screen.getByText('Pending transaction'))
},
Expand Down

0 comments on commit 1dd7a75

Please sign in to comment.