Browse Source

test(playwright): change button selector with `a`

pull/7650/head
Pranav C 5 months ago
parent
commit
515585091c
  1. 2
      tests/playwright/pages/SsoIdpPage/GoogleLoginPage.ts

2
tests/playwright/pages/SsoIdpPage/GoogleLoginPage.ts

@ -15,7 +15,7 @@ export class GoogleLoginPage extends BasePage {
// reload page to get latest app info
await this.rootPage.reload({ waitUntil: 'networkidle' });
// click sign in with SAML
await this.rootPage.locator(`button:has-text("Sign in with google")`).click();
await this.rootPage.locator(`a:has-text("Sign in with google")`).click();
await this.rootPage.waitForNavigation({ url: /accounts\.google\.com/ });
}

Loading…
Cancel
Save