@bigbinary/neeto-playwright-commons 1.8.0 → 1.8.2
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 +4 -2
- package/index.cjs.js.map +1 -1
- package/index.js +4 -2
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -218,7 +218,7 @@ class CustomCommands {
|
|
|
218
218
|
await this.recursiveMethod(callback, condition, timeout, startTime);
|
|
219
219
|
};
|
|
220
220
|
this.verifySuccessToast = async ({ message = "", closeAfterVerification = true, } = {}) => {
|
|
221
|
-
if (ramda.isEmpty(message)) {
|
|
221
|
+
if (!ramda.isEmpty(message)) {
|
|
222
222
|
await test.expect(this.page.getByTestId(COMMON_SELECTORS.toastMessage)).toContainText(message);
|
|
223
223
|
}
|
|
224
224
|
else {
|
|
@@ -7514,6 +7514,7 @@ class OrganizationPage {
|
|
|
7514
7514
|
await this.page.getByTestId(SIGNUP_SELECTORS.emailTextField).fill(email);
|
|
7515
7515
|
const signup = this.neetoPlaywrightUtilities.interceptMultipleResponses({
|
|
7516
7516
|
responseUrl: ROUTES.signup,
|
|
7517
|
+
timeout: 60 * 1000,
|
|
7517
7518
|
baseUrl: NEETO_AUTH_BASE_URL(),
|
|
7518
7519
|
});
|
|
7519
7520
|
await this.page.getByTestId(SIGNUP_SELECTORS.submitButton).click();
|
|
@@ -7539,7 +7540,7 @@ class OrganizationPage {
|
|
|
7539
7540
|
this.page.waitForResponse(response => response.url().includes(ROUTES.signup)),
|
|
7540
7541
|
this.page.waitForResponse(response => response.url().includes(ROUTES.countries)),
|
|
7541
7542
|
]);
|
|
7542
|
-
await this.page.waitForURL(`**${ROUTES.profile}`, { timeout:
|
|
7543
|
+
await this.page.waitForURL(`**${ROUTES.profile}`, { timeout: 60 * 1000 });
|
|
7543
7544
|
await this.page
|
|
7544
7545
|
.getByTestId(SIGNUP_SELECTORS.firstNameTextField)
|
|
7545
7546
|
.fill(firstName);
|
|
@@ -7549,6 +7550,7 @@ class OrganizationPage {
|
|
|
7549
7550
|
await this.page.getByTestId(COMMON_SELECTORS.checkbox).click();
|
|
7550
7551
|
const submitProfile = this.neetoPlaywrightUtilities.interceptMultipleResponses({
|
|
7551
7552
|
responseUrl: ROUTES.signup,
|
|
7553
|
+
timeout: 1000 * 60,
|
|
7552
7554
|
baseUrl: NEETO_AUTH_BASE_URL(),
|
|
7553
7555
|
});
|
|
7554
7556
|
await this.page.getByTestId(SIGNUP_SELECTORS.profileSubmitButton).click();
|