From fbda1caaf721408584d9103d49f5bfb57c3537c4 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Thu, 5 Mar 2026 23:49:25 +0100 Subject: [PATCH] Fix e2e tests --- tests/e2e/web/specs/onboardingFlow.spec.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/e2e/web/specs/onboardingFlow.spec.ts b/tests/e2e/web/specs/onboardingFlow.spec.ts index 5422816d..a6ef4a3a 100644 --- a/tests/e2e/web/specs/onboardingFlow.spec.ts +++ b/tests/e2e/web/specs/onboardingFlow.spec.ts @@ -246,7 +246,7 @@ test.describe('when given valid input', () => { await authPage.clickSignUpWithEmailButton() }) - test('the first time its an option', async ({ + test("the first time it's an option", async ({ onboardingPage, signUpPage, profilePage, @@ -261,7 +261,6 @@ test.describe('when given valid input', () => { await signUpPage.fillDisplayName(fakerAccount.display_name) await signUpPage.fillUsername(fakerAccount.username) await signUpPage.clickNextButton() - await signUpPage.clickNextButton() //Skip bio await signUpPage.clickNextButton() //Skip optional information await profilePage.clickCloseButton() await onboardingPage.clickRefineProfileButton() @@ -272,7 +271,7 @@ test.describe('when given valid input', () => { await expect(dbInfo.user.username).toContain(fakerAccount.username) }) - test('the second time its an option', async ({ + test("the second time it's an option", async ({ onboardingPage, signUpPage, profilePage, @@ -287,7 +286,6 @@ test.describe('when given valid input', () => { await signUpPage.fillDisplayName(fakerAccount.display_name) await signUpPage.fillUsername(fakerAccount.username) await signUpPage.clickNextButton() - await signUpPage.clickNextButton() //Skip bio await signUpPage.clickNextButton() //Skip optional information await profilePage.clickCloseButton() await onboardingPage.clickRefineProfileButton()