Skip to content

Commit

Permalink
Change 'if' expression in 'OcpUserLoginPage' (#22824)
Browse files Browse the repository at this point in the history
  • Loading branch information
artaleks9 committed Feb 16, 2024
1 parent e76edad commit a697721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/pageobjects/login/openshift/OcpUserLoginPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class OcpUserLoginPage implements IOcpLoginPage {
async login(): Promise<void> {
Logger.debug();

if (OAUTH_CONSTANTS.TS_OCP_LOGIN_PAGE_PROVIDER_TITLE !== '') {
if (await this.ocpLogin.isIdentityProviderLinkVisible()) {
await this.ocpLogin.waitAndClickOnLoginProviderTitle();
}

Expand Down

0 comments on commit a697721

Please sign in to comment.