@bigbinary/neeto-playwright-commons 1.26.27 → 1.26.29
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 +10 -2
- package/index.cjs.js.map +1 -1
- package/index.js +10 -2
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -114296,7 +114296,7 @@ const THEMES_TEXTS = {
|
|
|
114296
114296
|
|
|
114297
114297
|
class HelpAndProfilePage {
|
|
114298
114298
|
constructor({ page, neetoPlaywrightUtilities, chatApiBaseURL, kbDocsBaseURL, changelogBaseURL, }) {
|
|
114299
|
-
this.hoverOnBody = () => this.page.locator("body").hover();
|
|
114299
|
+
this.hoverOnBody = () => this.page.locator("body").hover({ timeout: 10000 });
|
|
114300
114300
|
this.openHelpCenter = async () => {
|
|
114301
114301
|
await expect(async () => {
|
|
114302
114302
|
await this.hoverOnBody();
|
|
@@ -114304,7 +114304,7 @@ class HelpAndProfilePage {
|
|
|
114304
114304
|
await floatingActionMenuButton.scrollIntoViewIfNeeded();
|
|
114305
114305
|
await floatingActionMenuButton.hover();
|
|
114306
114306
|
await expect(this.page.getByTestId(HELP_CENTER_SELECTORS.chatButton)).toBeVisible();
|
|
114307
|
-
}).toPass({ timeout:
|
|
114307
|
+
}).toPass({ timeout: 60000 });
|
|
114308
114308
|
};
|
|
114309
114309
|
this.openLiveChatAndVerify = async (widgetVisibilityTimeout = 10000) => {
|
|
114310
114310
|
await expect(async () => {
|
|
@@ -125111,13 +125111,18 @@ const definePlaywrightConfig = (overrides) => {
|
|
|
125111
125111
|
projects: useCustomProjects
|
|
125112
125112
|
? projectOverrides
|
|
125113
125113
|
: (() => {
|
|
125114
|
+
const setupLaunchOptions = getProjectLaunchOptions(PROJECT_NAMES.setup);
|
|
125114
125115
|
const webkitLaunchOptions = getProjectLaunchOptions(PROJECT_NAMES.webkit);
|
|
125115
125116
|
const lighthouseAuditsLaunchOptions = getProjectLaunchOptions(PROJECT_NAMES.lighthouseAudits);
|
|
125117
|
+
const cleanupCredentialsLaunchOptions = getProjectLaunchOptions(PROJECT_NAMES.cleanupCredentials);
|
|
125116
125118
|
return [
|
|
125117
125119
|
{
|
|
125118
125120
|
name: PROJECT_NAMES.setup,
|
|
125119
125121
|
testMatch: "global.setup.ts",
|
|
125120
125122
|
teardown: PROJECT_NAMES.cleanupCredentials,
|
|
125123
|
+
...(setupLaunchOptions && {
|
|
125124
|
+
use: { launchOptions: setupLaunchOptions },
|
|
125125
|
+
}),
|
|
125121
125126
|
},
|
|
125122
125127
|
{
|
|
125123
125128
|
name: PROJECT_NAMES.chromium,
|
|
@@ -125156,6 +125161,9 @@ const definePlaywrightConfig = (overrides) => {
|
|
|
125156
125161
|
{
|
|
125157
125162
|
name: PROJECT_NAMES.cleanupCredentials,
|
|
125158
125163
|
testMatch: "global.teardown.ts",
|
|
125164
|
+
...(cleanupCredentialsLaunchOptions && {
|
|
125165
|
+
use: { launchOptions: cleanupCredentialsLaunchOptions },
|
|
125166
|
+
}),
|
|
125159
125167
|
},
|
|
125160
125168
|
...projectOverrides,
|
|
125161
125169
|
];
|