Skip to content

Commit b0964b6

Browse files
committed
remove expects for pending state
1 parent fdeda42 commit b0964b6

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

tests/e2e/onboarding.test.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,6 @@ test('onboarding with link', async ({ page, getOnboardingData }) => {
6060
await emailTextbox.fill(onboardingData.email)
6161

6262
await page.getByRole('button', { name: /submit/i }).click()
63-
await expect(
64-
page.getByRole('button', { name: /submit/i, disabled: true }),
65-
).toBeVisible()
6663
await expect(page.getByText(/check your email/i)).toBeVisible()
6764

6865
const email = await readEmail(onboardingData.email)
@@ -120,9 +117,6 @@ test('onboarding with a short code', async ({ page, getOnboardingData }) => {
120117
await emailTextbox.fill(onboardingData.email)
121118

122119
await page.getByRole('button', { name: /submit/i }).click()
123-
await expect(
124-
page.getByRole('button', { name: /submit/i, disabled: true }),
125-
).toBeVisible()
126120
await expect(page.getByText(/check your email/i)).toBeVisible()
127121

128122
const email = await readEmail(onboardingData.email)
@@ -353,9 +347,6 @@ test('reset password with a link', async ({ page, insertNewUser }) => {
353347
).toBeVisible()
354348
await page.getByRole('textbox', { name: /username/i }).fill(user.username)
355349
await page.getByRole('button', { name: /recover password/i }).click()
356-
await expect(
357-
page.getByRole('button', { name: /recover password/i, disabled: true }),
358-
).toBeVisible()
359350
await expect(page.getByText(/check your email/i)).toBeVisible()
360351

361352
const email = await readEmail(user.email)
@@ -380,9 +371,6 @@ test('reset password with a link', async ({ page, insertNewUser }) => {
380371
await page.getByLabel(/^confirm password$/i).fill(newPassword)
381372

382373
await page.getByRole('button', { name: /reset password/i }).click()
383-
await expect(
384-
page.getByRole('button', { name: /reset password/i, disabled: true }),
385-
).toBeVisible()
386374

387375
await expect(page).toHaveURL('/login')
388376
await page.getByRole('textbox', { name: /username/i }).fill(user.username)
@@ -411,9 +399,6 @@ test('reset password with a short code', async ({ page, insertNewUser }) => {
411399
).toBeVisible()
412400
await page.getByRole('textbox', { name: /username/i }).fill(user.username)
413401
await page.getByRole('button', { name: /recover password/i }).click()
414-
await expect(
415-
page.getByRole('button', { name: /recover password/i, disabled: true }),
416-
).toBeVisible()
417402
await expect(page.getByText(/check your email/i)).toBeVisible()
418403

419404
const email = await readEmail(user.email)

0 commit comments

Comments
 (0)