@bigbinary/neeto-playwright-commons 1.13.10 → 1.13.12
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 +8 -4
- package/index.cjs.js.map +1 -1
- package/index.d.ts +3 -0
- package/index.js +8 -4
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -619,6 +619,7 @@ const TAB_SELECTORS = {
|
|
|
619
619
|
shareTab: "share-tab",
|
|
620
620
|
submissionsTab: "submissions-tab",
|
|
621
621
|
paymentsTab: "payments-tab",
|
|
622
|
+
settingsTab: "settings-tab",
|
|
622
623
|
};
|
|
623
624
|
|
|
624
625
|
const TAGS_SELECTORS = {
|
|
@@ -21179,7 +21180,7 @@ const i18nFixture = {
|
|
|
21179
21180
|
class ThankYouPage {
|
|
21180
21181
|
constructor(page, neetoPlaywrightUtilities) {
|
|
21181
21182
|
this.navigateToThankYouPage = async () => {
|
|
21182
|
-
await this.page.getByTestId(TAB_SELECTORS.
|
|
21183
|
+
await this.page.getByTestId(TAB_SELECTORS.settingsTab).click();
|
|
21183
21184
|
const fetchConfiguration = this.neetoPlaywrightUtilities.interceptMultipleResponses({
|
|
21184
21185
|
responseUrl: ROUTES.neetoThankYou,
|
|
21185
21186
|
});
|
|
@@ -23708,7 +23709,7 @@ class SlackPage extends IntegrationBase {
|
|
|
23708
23709
|
const allowButton = this.page.getByRole("button", {
|
|
23709
23710
|
name: SLACK_WEB_TEXTS.allow,
|
|
23710
23711
|
});
|
|
23711
|
-
await test$1.expect(allowButton).toBeEnabled({ timeout:
|
|
23712
|
+
await test$1.expect(allowButton).toBeEnabled({ timeout: 30000 });
|
|
23712
23713
|
const currentWorkspace = (await this.page
|
|
23713
23714
|
.locator(SLACK_SELECTORS.teamPicketButtonContent)
|
|
23714
23715
|
.textContent()) || "";
|
|
@@ -25000,11 +25001,14 @@ class OrganizationPage {
|
|
|
25000
25001
|
}
|
|
25001
25002
|
}
|
|
25002
25003
|
};
|
|
25003
|
-
this.loginViaSSO = async (email = generateRandomBypassEmail(), loginTimeout =
|
|
25004
|
+
this.loginViaSSO = async (email = generateRandomBypassEmail(), loginTimeout = 2 * 60 * 1000) => {
|
|
25004
25005
|
await this.page.getByTestId(LOGIN_SELECTORS.emailTextField).fill(email);
|
|
25006
|
+
const unregisteredEmailError = this.page.getByTestId(SIGNUP_SELECTORS.unregisterdEmailError);
|
|
25005
25007
|
await test$1.expect(async () => {
|
|
25006
25008
|
await this.page.getByTestId(LOGIN_SELECTORS.submitButton).click();
|
|
25007
|
-
await test$1.expect(
|
|
25009
|
+
await test$1.expect(unregisteredEmailError).toBeHidden();
|
|
25010
|
+
await this.neetoPlaywrightUtilities.waitForPageLoad();
|
|
25011
|
+
await test$1.expect(unregisteredEmailError).toBeHidden();
|
|
25008
25012
|
}).toPass({ timeout: loginTimeout });
|
|
25009
25013
|
await this.page
|
|
25010
25014
|
.getByTestId(SIGNUP_SELECTORS.otpTextBox)
|