Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

test: google auth sso test correction

Pranav C2b89fa54b9fc
diff --git a/tests/playwright/pages/SsoIdpPage/GoogleLoginPage.ts b/tests/playwright/pages/SsoIdpPage/GoogleLoginPage.ts
index af98d3fcb3..917b895b62 100644
--- a/tests/playwright/pages/SsoIdpPage/GoogleLoginPage.ts
+++ b/tests/playwright/pages/SsoIdpPage/GoogleLoginPage.ts
@@ -17,9 +17,10 @@ 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(`a:has-text("Sign in with google")`).click();
-
- await this.rootPage.waitForNavigation({ url: /accounts\.google\.com/ });
+ await Promise.all([
+ this.rootPage.waitForNavigation({ url: /accounts\.google\.com/, waitUntil: 'networkidle' }),
+ this.rootPage.locator(`a:has-text("Sign in with google")`).click(),
+ ]);
}
get() {