@bigbinary/neeto-playwright-commons 4.6.7 → 4.7.0

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.
Files changed (2) hide show
  1. package/index.js +5 -4
  2. package/package.json +3 -3
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
- await this.page.waitForURL(new RegExp(THIRD_PARTY_ROUTES.google.consentScreen));
17906
- await this.page
17907
- .getByRole("button", { name: GOOGLE_LOGIN_TEXTS.allow })
17908
- .click();
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.7",
3
+ "version": "4.7.0",
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",
@@ -43,7 +43,7 @@
43
43
  "@bigbinary/eslint-plugin-neeto": "1.9.0",
44
44
  "@bigbinary/neeto-cist": "1.0.17",
45
45
  "@eslint/js": "^9.27.0",
46
- "@faker-js/faker": "10.3.0",
46
+ "@faker-js/faker": "10.5.0",
47
47
  "@playwright/test": "1.58.2",
48
48
  "@rollup/plugin-alias": "6.0.0",
49
49
  "@rollup/plugin-commonjs": "29.0.2",
@@ -75,7 +75,7 @@
75
75
  },
76
76
  "peerDependencies": {
77
77
  "@bigbinary/neeto-cist": "1.0.17",
78
- "@faker-js/faker": "10.3.0",
78
+ "@faker-js/faker": "10.5.0",
79
79
  "@playwright/test": "1.58.2",
80
80
  "dayjs": "1.11.19",
81
81
  "eslint-import-resolver-typescript": "^4.4.4",