π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix(pw): sso openId test fail issue
Ramesh Mane2a16c6c58567
diff --git a/tests/playwright/pages/SsoIdpPage/OpenIDLoginPage.ts b/tests/playwright/pages/SsoIdpPage/OpenIDLoginPage.tsindex 3896e24c56..d04f6acf79 100644--- a/tests/playwright/pages/SsoIdpPage/OpenIDLoginPage.ts+++ b/tests/playwright/pages/SsoIdpPage/OpenIDLoginPage.ts@@ -23,16 +23,20 @@ export class OpenIDLoginPage extends BasePage {async signIn({ email }: { email: string }) {const signIn = this.get();- await signIn.locator('[name="login"]').waitFor();+ const loginLocator = signIn.locator('[name="login"]');+ await loginLocator.waitFor();- await signIn.locator(`[name="login"]`).fill(email);+ await loginLocator.fill(email);await signIn.locator(`[name="password"]`).fill('dummy-password');await signIn.locator(`[type="submit"]`).click();++ await loginLocator.waitFor({ state: 'hidden' });+const authorize = this.get();await Promise.all([- this.rootPage.waitForNavigation({ url: /localhost:3000/ }),+ this.rootPage.waitForNavigation({ url: /localhost:3000/, waitUntil: 'networkidle' }),authorize.locator(`[type="submit"]`).click(),]);