|
|
@ -15,7 +15,7 @@ export class GoogleLoginPage extends BasePage { |
|
|
|
// reload page to get latest app info
|
|
|
|
// reload page to get latest app info
|
|
|
|
await this.rootPage.reload({ waitUntil: 'networkidle' }); |
|
|
|
await this.rootPage.reload({ waitUntil: 'networkidle' }); |
|
|
|
// click sign in with SAML
|
|
|
|
// click sign in with SAML
|
|
|
|
await this.rootPage.locator(`button:has-text("Sign in with google")`).click(); |
|
|
|
await this.rootPage.locator(`a:has-text("Sign in with google")`).click(); |
|
|
|
|
|
|
|
|
|
|
|
await this.rootPage.waitForNavigation({ url: /accounts\.google\.com/ }); |
|
|
|
await this.rootPage.waitForNavigation({ url: /accounts\.google\.com/ }); |
|
|
|
} |
|
|
|
} |
|
|
|