File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,7 @@ export class ALCSLoginPage {
1212 this . page = page ;
1313 this . baseUrl = baseUrl ;
1414 this . idirLink = page . getByRole ( 'link' , { name : 'Basic or Business BCeID' } ) ;
15- // There is an error with the username label on BCeID page
16- this . userIdTextbox = page . getByRole ( 'textbox' ) . nth ( 0 ) ;
15+ this . userIdTextbox = page . locator ( '#user' ) ;
1716 this . passwordTextbox = page . getByLabel ( 'Password' ) ;
1817 this . continueButton = page . getByRole ( 'button' , { name : 'Continue' } ) ;
1918 }
Original file line number Diff line number Diff line change @@ -12,8 +12,7 @@ export class PortalLoginPage {
1212 this . page = page ;
1313 this . baseUrl = baseUrl ;
1414 this . loginButton = page . getByRole ( 'button' , { name : 'Portal Login' } ) ;
15- // There is an error with the username label on BCeID page
16- this . userIdTextbox = page . getByRole ( 'textbox' ) . nth ( 0 ) ;
15+ this . userIdTextbox = page . locator ( '#user' ) ;
1716 this . passwordTextbox = page . getByLabel ( 'Password' ) ;
1817 this . continueButton = page . getByRole ( 'button' , { name : 'Continue' } ) ;
1918 }
You can’t perform that action at this time.
0 commit comments