Skip to content

Commit

Permalink
fix registerName
Browse files Browse the repository at this point in the history
  • Loading branch information
storywithoutend committed Sep 4, 2024
1 parent d7dfe39 commit 7a68d2b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions e2e/specs/stateless/registerName.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ test.describe.serial('normal registration', () => {
await expect(page.getByTestId('payment-choice-ethereum')).toBeChecked()
await expect(registrationPage.primaryNameToggle).toBeChecked()

await page.pause()
// should show adjusted gas estimate when primary name setting checked
const estimate = await registrationPage.getGas()
expect(estimate).toBeGreaterThan(0)
Expand Down Expand Up @@ -141,12 +140,12 @@ test.describe.serial('normal registration', () => {
await expect(page.getByTestId('finish-button')).toBeEnabled()

// should allow finalising registration and automatically go to the complete step
await page.getByTestId('finish-button').click()
await expect(
page.getByText(
'You will need to complete two transactions to secure your name. The second transaction must be completed within 24 hours of the first.',
'Your name is not registered until you’ve completed the second transaction. You have 23 hours remaining to complete it.',
),
).toBeVisible()
await page.getByTestId('finish-button').click()
await expect(page.getByText('Open Wallet')).toBeVisible()
await transactionModal.confirm()

Expand Down

0 comments on commit 7a68d2b

Please sign in to comment.