Skip to content

Commit d703e5d

Browse files
authored
Update 'login form' locator of 'Bitbucket.org' (#23498)
1 parent c8d9d19 commit d703e5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/e2e/pageobjects/git-providers/OauthPage.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ export class OauthPage {
5050
OauthPage.DENY_ACCESS_BUTTON = By.xpath('//span[text()="Deny"]');
5151
}
5252
break;
53-
case GitProviderType.BITBUCKET_CLOUD_OAUTH2:
53+
case GitProviderType.BITBUCKET_CLOUD_OAUTH2:
5454
{
55-
OauthPage.LOGIN_FORM = By.id('username');
55+
OauthPage.LOGIN_FORM = By.css('[data-testid="username"]');
5656
OauthPage.PASSWORD_FORM = By.id('password');
5757
OauthPage.SUBMIT_BUTTON = By.id('login-submit');
5858
OauthPage.APPROVE_BUTTON = By.xpath('//button[@value="approve"]');

0 commit comments

Comments
 (0)