@bigbinary/neeto-playwright-commons 4.6.5 → 4.6.7

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 +1 -1
package/index.js CHANGED
@@ -1915,7 +1915,7 @@ const ZAPIER_SELECTORS = {
1915
1915
  zapToggle: "zap-toggle",
1916
1916
  stepBlock: `step-node-${process.env.ZAP_ID}`,
1917
1917
  universalTopbar: "universalTopbar",
1918
- accountsMenu: "accountsMenu",
1918
+ accountsMenu: "accounts-menu-summary",
1919
1919
  zapToggleCheckbox: "input[type='checkbox']",
1920
1920
  };
1921
1921
 
@@ -120098,7 +120098,6 @@ class ZapierPage extends IntegrationBase {
120098
120098
  page: zapierWebPage,
120099
120099
  });
120100
120100
  await this.zapierWebPage
120101
- .getByTestId(ZAPIER_SELECTORS.universalTopbar)
120102
120101
  .getByTestId(ZAPIER_SELECTORS.accountsMenu)
120103
120102
  .waitFor({ timeout: 25_000 });
120104
120103
  };
@@ -121900,7 +121899,9 @@ class CustomDomainPage {
121900
121899
  await Promise.all([
121901
121900
  expect(validateButton).toBeVisible(),
121902
121901
  expect(this.page
121903
- .getByTestId(COMMON_SELECTORS.paneBody)
121902
+ .getByTestId(IS_SHADCN_UI
121903
+ ? COMMON_SELECTORS.sheetWrapper
121904
+ : COMMON_SELECTORS.paneBody)
121904
121905
  .getByRole("cell", { name: domain.split(".")[0] })).toBeVisible(),
121905
121906
  ]);
121906
121907
  await this.neetoPlaywrightUtilities.waitForPageLoad();
@@ -122055,7 +122056,7 @@ class CustomDomainPage {
122055
122056
  await Promise.all(customDomains.map(({ hostname }) => this.customDomainApi.delete(hostname)));
122056
122057
  };
122057
122058
  isCertificateLimitExceeded = () => this.page
122058
- .getByTestId(COMMON_SELECTORS.paneBody)
122059
+ .getByTestId(IS_SHADCN_UI ? COMMON_SELECTORS.sheetWrapper : COMMON_SELECTORS.paneBody)
122059
122060
  .getByText(RegExp(CERTIFICATE_LIMIT_EXCEEDED_REGEXP, "i"))
122060
122061
  .isVisible();
122061
122062
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-playwright-commons",
3
- "version": "4.6.5",
3
+ "version": "4.6.7",
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",