diff --git a/tests/playwright/pages/SsoIdpPage/GoogleLoginPage.ts b/tests/playwright/pages/SsoIdpPage/GoogleLoginPage.ts index 23aedca43f..c6925639ce 100644 --- a/tests/playwright/pages/SsoIdpPage/GoogleLoginPage.ts +++ b/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/ }); }