@bigbinary/neeto-playwright-commons 1.23.3 → 1.23.5

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
@@ -118272,13 +118272,13 @@ class HelpAndProfilePage {
118272
118272
  await test.test.step("2: Click logout and verify", async () => {
118273
118273
  await this.page
118274
118274
  .getByTestId(PROFILE_SECTION_SELECTORS.logoutButton)
118275
- .click({ timeout: 35000 });
118275
+ .click({ timeout: 60000 });
118276
118276
  process.env.TEST_ENV === ENVIRONMENT.staging &&
118277
118277
  (await test.expect(this.page).toHaveURL(new RegExp(NEETO_AUTH_BASE_URL()), {
118278
- timeout: 15000,
118278
+ timeout: 60000,
118279
118279
  }));
118280
118280
  await test.expect(this.page).toHaveURL(new RegExp(ROUTES.loginLink), {
118281
- timeout: 15000,
118281
+ timeout: 35000,
118282
118282
  });
118283
118283
  });
118284
118284
  };
@@ -120641,7 +120641,9 @@ class SlackPage extends IntegrationBase {
120641
120641
  await slackWebappPage
120642
120642
  .locator(SLACK_SELECTORS.loginPassword)
120643
120643
  .pressSequentially(slackLoginPassword, { delay: 10 });
120644
- await slackWebappPage.locator(SLACK_SELECTORS.signInButton).click();
120644
+ await slackWebappPage
120645
+ .locator(SLACK_SELECTORS.signInButton)
120646
+ .click({ timeout: 35000 });
120645
120647
  await slackWebappPage.waitForLoadState("domcontentloaded", {
120646
120648
  timeout: 25000,
120647
120649
  });
@@ -121087,7 +121089,7 @@ class Member {
121087
121089
  }, { timeout: 60000 })
121088
121090
  .toBe(true);
121089
121091
  };
121090
- this.editMemberViaRequest = async ({ email, firstName, lastName, newRole, subscriptionPlan, }) => {
121092
+ this.editMemberViaRequest = async ({ email, newEmail, firstName, lastName, newRole, subscriptionPlan, }) => {
121091
121093
  const responseBody = (await this.memberApis
121092
121094
  .fetch({ search: email })
121093
121095
  .then(response => response === null || response === void 0 ? void 0 : response.json()));
@@ -121097,7 +121099,8 @@ class Member {
121097
121099
  active: true,
121098
121100
  firstName,
121099
121101
  lastName,
121100
- organization_role: newRole,
121102
+ organizationRole: newRole,
121103
+ email: newEmail,
121101
121104
  subscriptionPlan,
121102
121105
  })));
121103
121106
  };