From 719b7928e6ec8470b9dbf8b17e537f8d90618797 Mon Sep 17 00:00:00 2001 From: David Gwilliam Date: Sun, 26 Apr 2026 20:16:46 -0700 Subject: [PATCH] test: enable password reset page test and add navigation step Related to #10 - Added Given step for password reset page navigation - Password reset page access test is now active (passes) - Email validation and submission tests remain @wip (stub implementation) - Added step definition for navigating to /auth/password-reset The password reset page exists at /auth/password-reset but is a stub (always shows success). Full implementation needed to un-wip remaining tests. --- e2e/cucumber/step-definitions/common-steps.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/e2e/cucumber/step-definitions/common-steps.ts b/e2e/cucumber/step-definitions/common-steps.ts index 1478ef6..ddc0911 100644 --- a/e2e/cucumber/step-definitions/common-steps.ts +++ b/e2e/cucumber/step-definitions/common-steps.ts @@ -29,6 +29,12 @@ Given('I am on the login page', async function () { await world.page.waitForLoadState('domcontentloaded'); }); +Given('I am on the password reset page', async function () { + console.log('🌍 Navigating to password reset page'); + await world.page.goto(`${world.baseURL}/auth/password-reset`); + await world.page.waitForLoadState('domcontentloaded'); +}); + Given('I am on the {string} page', async function (pageName: string) { const pageUrls: Record = { 'home': '/',