@bigbinary/neeto-playwright-commons 4.6.7 → 4.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +5 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -17902,10 +17902,11 @@ class GooglePage extends IntegrationBase {
|
|
|
17902
17902
|
await this.waitForGoogleAuthURL();
|
|
17903
17903
|
await this.selectGoogleAccount(appName);
|
|
17904
17904
|
await this.page.waitForLoadState("load", { timeout: 25_000 });
|
|
17905
|
-
|
|
17906
|
-
|
|
17907
|
-
|
|
17908
|
-
|
|
17905
|
+
const allowButton = this.page.getByRole("button", {
|
|
17906
|
+
name: GOOGLE_LOGIN_TEXTS.allow,
|
|
17907
|
+
});
|
|
17908
|
+
await expect(allowButton).toBeVisible({ timeout: 25_000 });
|
|
17909
|
+
await allowButton.click();
|
|
17909
17910
|
};
|
|
17910
17911
|
selectGoogleAccount = async (appName = this.appName) => {
|
|
17911
17912
|
const chooseAnAccountHeading = this.page.getByText(GOOGLE_LOGIN_TEXTS.chooseAnAccount, { exact: true });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-playwright-commons",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.8",
|
|
4
4
|
"description": "A package encapsulating common playwright code across neeto projects.",
|
|
5
5
|
"repository": "git@github.com:bigbinary/neeto-playwright-commons.git",
|
|
6
6
|
"license": "apache-2.0",
|