@bigbinary/neeto-playwright-commons 7.0.0 → 7.0.1

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 (3) hide show
  1. package/index.d.ts +1 -1
  2. package/index.js +5 -2
  3. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -5361,6 +5361,7 @@ declare const ZAPIER_WEB_TEXTS: {
5361
5361
  reconnect: string;
5362
5362
  retestStep: string;
5363
5363
  editThisZap: string;
5364
+ publishThisZap: string;
5364
5365
  staging: string;
5365
5366
  create: string;
5366
5367
  account: string;
@@ -6900,7 +6901,6 @@ declare const ZAPIER_SELECTORS: {
6900
6901
  zapierSubLink: string;
6901
6902
  navbar: string;
6902
6903
  authTitle: string;
6903
- publishButton: string;
6904
6904
  panelFooter: string;
6905
6905
  zapToggle: string;
6906
6906
  stepBlock: string;
package/index.js CHANGED
@@ -507,6 +507,7 @@ const ZAPIER_WEB_TEXTS = {
507
507
  reconnect: "Reconnect this authentication",
508
508
  retestStep: "Retest step",
509
509
  editThisZap: "Edit this Zap",
510
+ publishThisZap: "Publish this Zap",
510
511
  staging: "Staging",
511
512
  create: "Create",
512
513
  account: "Account",
@@ -1169,7 +1170,6 @@ const ZAPIER_SELECTORS = {
1169
1170
  zapierSubLink: "zapier-sub-link",
1170
1171
  navbar: "top-nav-test-id",
1171
1172
  authTitle: "auth-title",
1172
- publishButton: "publish-button-wrapper",
1173
1173
  panelFooter: "#details-panel-footer",
1174
1174
  zapToggle: "zap-toggle",
1175
1175
  stepBlock: `step-node-${process.env.ZAP_ID}`,
@@ -5255,7 +5255,10 @@ class ZapierPage extends IntegrationBase {
5255
5255
  .getByRole("button", { name: ZAPIER_WEB_TEXTS.editThisZap })
5256
5256
  .click();
5257
5257
  await this.zapierWebPage.waitForLoadState();
5258
- const publishBtn = this.navbar.getByTestId(ZAPIER_SELECTORS.publishButton);
5258
+ const publishBtn = this.navbar.getByRole("button", {
5259
+ name: ZAPIER_WEB_TEXTS.publishThisZap,
5260
+ exact: true,
5261
+ });
5259
5262
  const editBtn = this.zapierWebPage.getByRole("button", {
5260
5263
  name: ZAPIER_WEB_TEXTS.editExistingDraft,
5261
5264
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-playwright-commons",
3
- "version": "7.0.0",
3
+ "version": "7.0.1",
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",
@@ -63,7 +63,7 @@
63
63
  "eslint-plugin-import": "^2.32.0",
64
64
  "eslint-plugin-playwright": "^2.12.2",
65
65
  "globals": "^17.4.0",
66
- "husky": "9.0.11",
66
+ "husky": "9.1.7",
67
67
  "i18next": "27.1.5",
68
68
  "nano-staged": "^1.0.2",
69
69
  "prettier": "3.10.1",