mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-25 04:45:07 +00:00
test: google auth sso test correction
This commit is contained in:
@@ -17,9 +17,10 @@ export class GoogleLoginPage extends BasePage {
|
||||
// reload page to get latest app info
|
||||
await this.rootPage.reload({ waitUntil: 'networkidle' });
|
||||
// click sign in with SAML
|
||||
await this.rootPage.locator(`a:has-text("Sign in with google")`).click();
|
||||
|
||||
await this.rootPage.waitForNavigation({ url: /accounts\.google\.com/ });
|
||||
await Promise.all([
|
||||
this.rootPage.waitForNavigation({ url: /accounts\.google\.com/, waitUntil: 'networkidle' }),
|
||||
this.rootPage.locator(`a:has-text("Sign in with google")`).click(),
|
||||
]);
|
||||
}
|
||||
|
||||
get() {
|
||||
|
||||
Reference in New Issue
Block a user