@bigbinary/neeto-playwright-commons 1.22.0 → 1.22.1

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
@@ -2981,13 +2981,6 @@ interface LoginAndOnboardParams extends BasicUserInfo {
2981
2981
  baseURL?: string;
2982
2982
  fetchOtpFromEmail?: FetchOtpFromEmail;
2983
2983
  }
2984
- interface Credentials extends BasicUserInfo {
2985
- otp?: number;
2986
- domain: string;
2987
- currentUserName: string;
2988
- businessName: string;
2989
- subdomainName: string;
2990
- }
2991
2984
  type FetchOtpFromEmail = (params: {
2992
2985
  email: string;
2993
2986
  timeout: number;
@@ -2997,6 +2990,13 @@ interface LoginWithFastmailEmail {
2997
2990
  loginTimeout?: number;
2998
2991
  fetchOtpFromEmail: FetchOtpFromEmail;
2999
2992
  }
2993
+ interface Credentials extends BasicUserInfo {
2994
+ otp?: number;
2995
+ domain: string;
2996
+ currentUserName: string;
2997
+ businessName: string;
2998
+ subdomainName: string;
2999
+ }
3000
3000
  declare class OrganizationPage {
3001
3001
  page: Page;
3002
3002
  neetoPlaywrightUtilities: CustomCommands;
package/index.js CHANGED
@@ -191777,7 +191777,7 @@ class ZapierPage extends IntegrationBase {
191777
191777
  await expect(this.zapierWebPage.locator(ZAPIER_SELECTORS.spinner)).toBeHidden({
191778
191778
  timeout: 25000,
191779
191779
  });
191780
- (await testTriggerButton.isVisible()) && (await testTriggerButton.click());
191780
+ await testTriggerButton.click();
191781
191781
  await expect(this.zapierWebPage.getByText(ZAPIER_WEB_TEXTS.testCurrentlyInQueue)).toBeHidden({ timeout: 20000 });
191782
191782
  await expect(this.zapierWebPage.getByLabel(ZAPIER_WEB_TEXTS.statusLabel, {
191783
191783
  exact: true,
@@ -193093,8 +193093,10 @@ class ApiKeysPage {
193093
193093
  .getByTestId(COMMON_SELECTORS.paneBody)
193094
193094
  .getByTestId(ADMIN_PANEL_SELECTORS.expiryDateInput);
193095
193095
  await expiryDateInput.click();
193096
- await expiryDateInput.pressSequentially(expiryDate);
193097
- await expiryDateInput.blur();
193096
+ await expect(this.page.getByLabel(DATE_TEXTS.nextYear, { exact: true })).toBeVisible();
193097
+ await expiryDateInput.pressSequentially(expiryDate, { delay: 250 });
193098
+ await this.page.keyboard.press("Enter");
193099
+ await expect(this.page.getByLabel(DATE_TEXTS.nextYear, { exact: true })).toBeHidden();
193098
193100
  }
193099
193101
  await this.page.getByTestId(COMMON_SELECTORS.saveChangesButton).click();
193100
193102
  await this.neetoPlaywrightUtilities.verifyToast();