Skip to content

Commit dcac7d5

Browse files
donna-belsey-nhsankur-jain-nhs
authored andcommitted
Reapply "TASK AS/MD/AJ/DB Update E2E test with new NHS Login page layout"
This reverts commit fe425b4. (cherry picked from commit d67a580)
1 parent c7cfeb0 commit dcac7d5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

e2e/auth.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,11 @@ export const login = async (browser: Browser, nhsLoginUsername: string): Promise
4949
await page.getByRole("button", { name: "Continue" }).click();
5050
}
5151

52-
await page.waitForURL("**/enter-email", { timeout: 30000 });
52+
await page.waitForURL("**/login", { timeout: 30000 });
5353
await page.getByLabel("Email address").evaluate((input: HTMLInputElement, fillText) => {
5454
input.value = fillText;
5555
input.dispatchEvent(new Event("input"));
5656
}, user.nhsLoginUsername);
57-
await page.getByRole("button", { name: "Continue" }).click();
58-
59-
await page.waitForURL("**/log-in-password", { timeout: 30000 });
6057
await page.getByRole("textbox", { name: "Password" }).evaluate((input: HTMLInputElement, fillText) => {
6158
input.value = fillText;
6259
input.dispatchEvent(new Event("input"));

0 commit comments

Comments
 (0)