From 6aa9085739289136a1b1cc9370d50edb5e166b27 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Sun, 5 Apr 2026 15:59:30 +0200 Subject: [PATCH] Refactor `signInFixture` parameters in E2E test for clarity and update `signinWithEmail` usage accordingly --- tests/e2e/web/specs/signIn.spec.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/e2e/web/specs/signIn.spec.ts b/tests/e2e/web/specs/signIn.spec.ts index 4c5b00a5..9501062f 100644 --- a/tests/e2e/web/specs/signIn.spec.ts +++ b/tests/e2e/web/specs/signIn.spec.ts @@ -1,9 +1,13 @@ import {expect, test} from '../fixtures/signInFixture' test.describe('when given valid input', () => { - test('should be able to sign in to an available account', async ({app, signedInAccount}) => { + test('should be able to sign in to an available account', async ({ + app, + signedOutAccount: account, + }) => { + await app.signinWithEmail(account) await app.home.goToHomePage() - await app.home.verifySignedInHomePage(signedInAccount.display_name) + await app.home.verifySignedInHomePage(account.display_name) }) })