@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.js CHANGED
@@ -2517,13 +2517,13 @@ class TeamMembers {
2517
2517
  }));
2518
2518
  const continueBtn = this.page.getByTestId(MEMBER_SELECTORS.continueButton);
2519
2519
  await continueBtn.click();
2520
- if (IS_STAGING_ENV) {
2521
- await this.page
2522
- .getByTestId(COMMON_SELECTORS.paneBody)
2523
- .getByTestId(COMMON_SELECTORS.checkboxLabel)
2524
- .click();
2525
- await continueBtn.click();
2526
- }
2520
+ if (IS_DEV_ENV)
2521
+ return;
2522
+ await this.page
2523
+ .getByTestId(COMMON_SELECTORS.paneBody)
2524
+ .getByTestId(COMMON_SELECTORS.checkboxLabel)
2525
+ .click();
2526
+ await continueBtn.click();
2527
2527
  };
2528
2528
  addMemberViaUI = async ({ emails = [faker.internet.exampleEmail()], role = "standard", } = {}) => {
2529
2529
  await this.openMemberPane();