@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 CHANGED
@@ -114317,7 +114317,7 @@ const THEMES_TEXTS = {
114317
114317
 
114318
114318
  class HelpAndProfilePage {
114319
114319
  constructor({ page, neetoPlaywrightUtilities, chatApiBaseURL, kbDocsBaseURL, changelogBaseURL, }) {
114320
- this.hoverOnBody = () => this.page.locator("body").hover();
114320
+ this.hoverOnBody = () => this.page.locator("body").hover({ timeout: 10000 });
114321
114321
  this.openHelpCenter = async () => {
114322
114322
  await test.expect(async () => {
114323
114323
  await this.hoverOnBody();
@@ -114325,7 +114325,7 @@ class HelpAndProfilePage {
114325
114325
  await floatingActionMenuButton.scrollIntoViewIfNeeded();
114326
114326
  await floatingActionMenuButton.hover();
114327
114327
  await test.expect(this.page.getByTestId(HELP_CENTER_SELECTORS.chatButton)).toBeVisible();
114328
- }).toPass({ timeout: 15000 });
114328
+ }).toPass({ timeout: 60000 });
114329
114329
  };
114330
114330
  this.openLiveChatAndVerify = async (widgetVisibilityTimeout = 10000) => {
114331
114331
  await test.expect(async () => {
@@ -125132,13 +125132,18 @@ const definePlaywrightConfig = (overrides) => {
125132
125132
  projects: useCustomProjects
125133
125133
  ? projectOverrides
125134
125134
  : (() => {
125135
+ const setupLaunchOptions = getProjectLaunchOptions(PROJECT_NAMES.setup);
125135
125136
  const webkitLaunchOptions = getProjectLaunchOptions(PROJECT_NAMES.webkit);
125136
125137
  const lighthouseAuditsLaunchOptions = getProjectLaunchOptions(PROJECT_NAMES.lighthouseAudits);
125138
+ const cleanupCredentialsLaunchOptions = getProjectLaunchOptions(PROJECT_NAMES.cleanupCredentials);
125137
125139
  return [
125138
125140
  {
125139
125141
  name: PROJECT_NAMES.setup,
125140
125142
  testMatch: "global.setup.ts",
125141
125143
  teardown: PROJECT_NAMES.cleanupCredentials,
125144
+ ...(setupLaunchOptions && {
125145
+ use: { launchOptions: setupLaunchOptions },
125146
+ }),
125142
125147
  },
125143
125148
  {
125144
125149
  name: PROJECT_NAMES.chromium,
@@ -125177,6 +125182,9 @@ const definePlaywrightConfig = (overrides) => {
125177
125182
  {
125178
125183
  name: PROJECT_NAMES.cleanupCredentials,
125179
125184
  testMatch: "global.teardown.ts",
125185
+ ...(cleanupCredentialsLaunchOptions && {
125186
+ use: { launchOptions: cleanupCredentialsLaunchOptions },
125187
+ }),
125180
125188
  },
125181
125189
  ...projectOverrides,
125182
125190
  ];