Skip to content

Commit

Permalink
Update registerName.spec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
storywithoutend committed Dec 2, 2024
1 parent da16a71 commit b4e1360
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions e2e/specs/stateless/registerName.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,10 @@ test.describe.serial('normal registration', () => {
})

await test.step('should be able to start registration step', async () => {
await expect(
page.getByText(
'Your name is not registered until you’ve completed the second transaction. You have 23 hours remaining to complete it.',
),
).toBeVisible()
await expect(page.getByTestId('transactions-subheading')).toBeVisible()
await expect(page.getByTestId('transactions-subheading')).toHaveText(
/Your name is not registered until you’ve completed the second transaction. You have (23 hours|1 day) remaining to complete it./,
)
await page.getByTestId('finish-button').click()
})

Expand Down

0 comments on commit b4e1360

Please sign in to comment.