diff --git a/tests/playwright/pages/SsoIdpPage/OpenIDLoginPage.ts b/tests/playwright/pages/SsoIdpPage/OpenIDLoginPage.ts index ccde05658d..93ce2bbec2 100644 --- a/tests/playwright/pages/SsoIdpPage/OpenIDLoginPage.ts +++ b/tests/playwright/pages/SsoIdpPage/OpenIDLoginPage.ts @@ -13,10 +13,8 @@ export class OpenIDLoginPage extends BasePage { async goto(title = 'test') { // reload page to get latest app info await this.rootPage.reload(); - await this.rootPage.waitForTimeout(500); + await this.rootPage.waitForTimeout(1000); await this.rootPage.goto('/#/signin/'); - await this.rootPage.waitForTimeout(500); - await this.rootPage.reload(); // click sign in with SAML await this.rootPage.locator(`button:has-text("Sign in with ${title}")`).click(); } diff --git a/tests/playwright/pages/SsoIdpPage/SAMLLoginPage.ts b/tests/playwright/pages/SsoIdpPage/SAMLLoginPage.ts index 731f55c2f6..fa6647808e 100644 --- a/tests/playwright/pages/SsoIdpPage/SAMLLoginPage.ts +++ b/tests/playwright/pages/SsoIdpPage/SAMLLoginPage.ts @@ -14,11 +14,8 @@ export class SAMLLoginPage extends BasePage { async goto(title = 'test') { // reload page to get latest app info await this.rootPage.reload(); - await this.rootPage.waitForTimeout(500); + await this.rootPage.waitForTimeout(1000); await this.rootPage.goto('/#/signin/'); - await this.rootPage.waitForTimeout(500); - await this.rootPage.reload(); - // click sign in with SAML await this.rootPage.locator(`button:has-text("Sign in with ${title}")`).click(); }