Browse Source

test: reload page after navigating to signin page

pull/7569/head
Pranav C 8 months ago
parent
commit
0a8f2d5e49
  1. 2
      tests/playwright/pages/SsoIdpPage/SAMLLoginPage.ts

2
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();
}

Loading…
Cancel
Save