@bigbinary/neeto-playwright-commons 1.23.4 → 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 +6 -5
- package/index.cjs.js.map +1 -1
- package/index.d.ts +2 -0
- package/index.js +6 -5
- package/index.js.map +1 -1
- package/package.json +1 -1
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:
|
|
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:
|
|
118278
|
+
timeout: 60000,
|
|
118279
118279
|
}));
|
|
118280
118280
|
await test.expect(this.page).toHaveURL(new RegExp(ROUTES.loginLink), {
|
|
118281
|
-
timeout:
|
|
118281
|
+
timeout: 35000,
|
|
118282
118282
|
});
|
|
118283
118283
|
});
|
|
118284
118284
|
};
|
|
@@ -121089,7 +121089,7 @@ class Member {
|
|
|
121089
121089
|
}, { timeout: 60000 })
|
|
121090
121090
|
.toBe(true);
|
|
121091
121091
|
};
|
|
121092
|
-
this.editMemberViaRequest = async ({ email, firstName, lastName, newRole, subscriptionPlan, }) => {
|
|
121092
|
+
this.editMemberViaRequest = async ({ email, newEmail, firstName, lastName, newRole, subscriptionPlan, }) => {
|
|
121093
121093
|
const responseBody = (await this.memberApis
|
|
121094
121094
|
.fetch({ search: email })
|
|
121095
121095
|
.then(response => response === null || response === void 0 ? void 0 : response.json()));
|
|
@@ -121099,7 +121099,8 @@ class Member {
|
|
|
121099
121099
|
active: true,
|
|
121100
121100
|
firstName,
|
|
121101
121101
|
lastName,
|
|
121102
|
-
|
|
121102
|
+
organizationRole: newRole,
|
|
121103
|
+
email: newEmail,
|
|
121103
121104
|
subscriptionPlan,
|
|
121104
121105
|
})));
|
|
121105
121106
|
};
|