@bigbinary/neeto-playwright-commons 3.3.8 → 3.3.9

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.cjs.js CHANGED
@@ -2538,13 +2538,13 @@ class TeamMembers {
2538
2538
  }));
2539
2539
  const continueBtn = this.page.getByTestId(MEMBER_SELECTORS.continueButton);
2540
2540
  await continueBtn.click();
2541
- if (IS_STAGING_ENV) {
2542
- await this.page
2543
- .getByTestId(COMMON_SELECTORS.paneBody)
2544
- .getByTestId(COMMON_SELECTORS.checkboxLabel)
2545
- .click();
2546
- await continueBtn.click();
2547
- }
2541
+ if (IS_DEV_ENV)
2542
+ return;
2543
+ await this.page
2544
+ .getByTestId(COMMON_SELECTORS.paneBody)
2545
+ .getByTestId(COMMON_SELECTORS.checkboxLabel)
2546
+ .click();
2547
+ await continueBtn.click();
2548
2548
  };
2549
2549
  addMemberViaUI = async ({ emails = [faker.faker.internet.exampleEmail()], role = "standard", } = {}) => {
2550
2550
  await this.openMemberPane();