@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.d.ts CHANGED
@@ -2508,6 +2508,7 @@ interface AddMemberProps {
2508
2508
  }
2509
2509
  interface EditMemberProps$1 {
2510
2510
  email: string;
2511
+ newEmail?: string;
2511
2512
  firstName?: string;
2512
2513
  lastName?: string;
2513
2514
  newRole?: string;
@@ -2525,6 +2526,7 @@ declare class Member {
2525
2526
  }: AddMemberProps) => Promise<void>;
2526
2527
  editMemberViaRequest: ({
2527
2528
  email,
2529
+ newEmail,
2528
2530
  firstName,
2529
2531
  lastName,
2530
2532
  newRole,
package/index.js CHANGED
@@ -118251,13 +118251,13 @@ class HelpAndProfilePage {
118251
118251
  await test$1.step("2: Click logout and verify", async () => {
118252
118252
  await this.page
118253
118253
  .getByTestId(PROFILE_SECTION_SELECTORS.logoutButton)
118254
- .click({ timeout: 35000 });
118254
+ .click({ timeout: 60000 });
118255
118255
  process.env.TEST_ENV === ENVIRONMENT.staging &&
118256
118256
  (await expect(this.page).toHaveURL(new RegExp(NEETO_AUTH_BASE_URL()), {
118257
- timeout: 15000,
118257
+ timeout: 60000,
118258
118258
  }));
118259
118259
  await expect(this.page).toHaveURL(new RegExp(ROUTES.loginLink), {
118260
- timeout: 15000,
118260
+ timeout: 35000,
118261
118261
  });
118262
118262
  });
118263
118263
  };
@@ -120620,7 +120620,9 @@ class SlackPage extends IntegrationBase {
120620
120620
  await slackWebappPage
120621
120621
  .locator(SLACK_SELECTORS.loginPassword)
120622
120622
  .pressSequentially(slackLoginPassword, { delay: 10 });
120623
- await slackWebappPage.locator(SLACK_SELECTORS.signInButton).click();
120623
+ await slackWebappPage
120624
+ .locator(SLACK_SELECTORS.signInButton)
120625
+ .click({ timeout: 35000 });
120624
120626
  await slackWebappPage.waitForLoadState("domcontentloaded", {
120625
120627
  timeout: 25000,
120626
120628
  });
@@ -121066,7 +121068,7 @@ class Member {
121066
121068
  }, { timeout: 60000 })
121067
121069
  .toBe(true);
121068
121070
  };
121069
- this.editMemberViaRequest = async ({ email, firstName, lastName, newRole, subscriptionPlan, }) => {
121071
+ this.editMemberViaRequest = async ({ email, newEmail, firstName, lastName, newRole, subscriptionPlan, }) => {
121070
121072
  const responseBody = (await this.memberApis
121071
121073
  .fetch({ search: email })
121072
121074
  .then(response => response === null || response === void 0 ? void 0 : response.json()));
@@ -121076,7 +121078,8 @@ class Member {
121076
121078
  active: true,
121077
121079
  firstName,
121078
121080
  lastName,
121079
- organization_role: newRole,
121081
+ organizationRole: newRole,
121082
+ email: newEmail,
121080
121083
  subscriptionPlan,
121081
121084
  })));
121082
121085
  };