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.
This commit is contained in:
@@ -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<string, string> = {
|
||||
'home': '/',
|
||||
|
||||
Reference in New Issue
Block a user