@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.d.ts CHANGED
@@ -411,6 +411,7 @@ declare const KEYBOARD_SHORTCUTS_SELECTORS: {
411
411
 
412
412
  declare const PROFILE_SECTION_SELECTORS: {
413
413
  profileSectionButton: string;
414
+ profilePopup: string;
414
415
  myProfileButton: string;
415
416
  profileOrganizationSettingsButton: string;
416
417
  logoutButton: string;
package/index.js CHANGED
@@ -7172,6 +7172,7 @@ const HELP_CENTER_SELECTORS = {
7172
7172
 
7173
7173
  const PROFILE_SECTION_SELECTORS = {
7174
7174
  profileSectionButton: "profile-section",
7175
+ profilePopup: "profile-popup",
7175
7176
  myProfileButton: "my-profile-button",
7176
7177
  profileOrganizationSettingsButton: "profile-organization-settings-button",
7177
7178
  logoutButton: "profile-logout-button",
@@ -7356,7 +7357,7 @@ class HelpAndProfilePage {
7356
7357
  this.openProfilePopup = () => expect(async () => {
7357
7358
  await this.profileSectionButton.scrollIntoViewIfNeeded();
7358
7359
  await this.profileSectionButton.hover();
7359
- await expect(this.profileSectionButton).toBeVisible();
7360
+ await expect(this.page.getByTestId(PROFILE_SECTION_SELECTORS.profilePopup)).toBeVisible();
7360
7361
  }).toPass({ timeout: 15000 });
7361
7362
  this.openAuthLinkAndVerify = async ({ linkSelector, redirectLink, }) => {
7362
7363
  var _a, _b;
@@ -8215,6 +8216,7 @@ const definePlaywrightConfig = (overrides) => {
8215
8216
  trace: "on",
8216
8217
  video: { mode: "on", size: { width: 1200, height: 1200 } },
8217
8218
  screenshot: "on",
8219
+ actionTimeout: 10 * 1000,
8218
8220
  ...useOverrides,
8219
8221
  },
8220
8222
  projects: useCustomProjects