From 0a8f2d5e496ff61970fa6a9b21695fef7905398b Mon Sep 17 00:00:00 2001 From: Pranav C Date: Wed, 7 Feb 2024 12:26:51 +0000 Subject: [PATCH] test: reload page after navigating to signin page --- tests/playwright/pages/SsoIdpPage/SAMLLoginPage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/playwright/pages/SsoIdpPage/SAMLLoginPage.ts b/tests/playwright/pages/SsoIdpPage/SAMLLoginPage.ts index 710e29e61b..7094474674 100644 --- a/tests/playwright/pages/SsoIdpPage/SAMLLoginPage.ts +++ b/tests/playwright/pages/SsoIdpPage/SAMLLoginPage.ts @@ -13,8 +13,8 @@ export class SAMLLoginPage extends BasePage { async goto(title = 'test') { // reload page to get latest app info - await this.rootPage.reload(); await this.rootPage.goto('/#/signin/'); + await this.rootPage.reload(); // click sign in with SAML await this.rootPage.locator(`button:has-text("Sign in with ${title}")`).click(); }