|
|
@ -13,8 +13,8 @@ export class SAMLLoginPage extends BasePage { |
|
|
|
|
|
|
|
|
|
|
|
async goto(title = 'test') { |
|
|
|
async goto(title = 'test') { |
|
|
|
// reload page to get latest app info
|
|
|
|
// reload page to get latest app info
|
|
|
|
await this.rootPage.reload(); |
|
|
|
|
|
|
|
await this.rootPage.goto('/#/signin/'); |
|
|
|
await this.rootPage.goto('/#/signin/'); |
|
|
|
|
|
|
|
await this.rootPage.reload(); |
|
|
|
// click sign in with SAML
|
|
|
|
// click sign in with SAML
|
|
|
|
await this.rootPage.locator(`button:has-text("Sign in with ${title}")`).click(); |
|
|
|
await this.rootPage.locator(`button:has-text("Sign in with ${title}")`).click(); |
|
|
|
} |
|
|
|
} |
|
|
|