File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff 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" ) ) ;
You can’t perform that action at this time.
0 commit comments