@bigbinary/neeto-playwright-commons 1.6.2 → 1.6.3

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
@@ -7207,6 +7207,7 @@ const HELP_CENTER_SELECTORS = {
7207
7207
 
7208
7208
  const PROFILE_SECTION_SELECTORS = {
7209
7209
  profileSectionButton: "profile-section",
7210
+ profilePopup: "profile-popup",
7210
7211
  myProfileButton: "my-profile-button",
7211
7212
  profileOrganizationSettingsButton: "profile-organization-settings-button",
7212
7213
  logoutButton: "profile-logout-button",
@@ -7391,7 +7392,7 @@ class HelpAndProfilePage {
7391
7392
  this.openProfilePopup = () => test.expect(async () => {
7392
7393
  await this.profileSectionButton.scrollIntoViewIfNeeded();
7393
7394
  await this.profileSectionButton.hover();
7394
- await test.expect(this.profileSectionButton).toBeVisible();
7395
+ await test.expect(this.page.getByTestId(PROFILE_SECTION_SELECTORS.profilePopup)).toBeVisible();
7395
7396
  }).toPass({ timeout: 15000 });
7396
7397
  this.openAuthLinkAndVerify = async ({ linkSelector, redirectLink, }) => {
7397
7398
  var _a, _b;
@@ -8250,6 +8251,7 @@ const definePlaywrightConfig = (overrides) => {
8250
8251
  trace: "on",
8251
8252
  video: { mode: "on", size: { width: 1200, height: 1200 } },
8252
8253
  screenshot: "on",
8254
+ actionTimeout: 10 * 1000,
8253
8255
  ...useOverrides,
8254
8256
  },
8255
8257
  projects: useCustomProjects