@bigbinary/neeto-playwright-commons 1.16.0 → 1.16.2

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
@@ -1732,6 +1732,12 @@ interface ZapierPageInitializer {
1732
1732
  integrationRouteIndex?: string;
1733
1733
  mailerUtils: MailerUtils;
1734
1734
  }
1735
+ interface VerifyZapIsTriggeredProps {
1736
+ submittedEmail: string;
1737
+ zapTriggeredAfter: Date;
1738
+ productName: string;
1739
+ timeout?: number;
1740
+ }
1735
1741
  declare class ZapierPage extends IntegrationBase {
1736
1742
  zapierWebPage: Page;
1737
1743
  continueButton: Locator;
@@ -1800,6 +1806,8 @@ declare class ZapierPage extends IntegrationBase {
1800
1806
  *
1801
1807
  * productName: Name of the product.
1802
1808
  *
1809
+ * timeout(optional): Timeout in milliseconds to fetch the latest response. Default is 2 * 60_000.
1810
+ *
1803
1811
  * @example
1804
1812
  *
1805
1813
  * await zapierPage.verifyZapIsTriggered({
@@ -1812,12 +1820,9 @@ declare class ZapierPage extends IntegrationBase {
1812
1820
  verifyZapIsTriggered: ({
1813
1821
  productName,
1814
1822
  submittedEmail,
1815
- zapTriggeredAfter
1816
- }: {
1817
- submittedEmail: string;
1818
- zapTriggeredAfter: Date;
1819
- productName: string;
1820
- }) => Promise<FormattedList | Record<string, never>>;
1823
+ zapTriggeredAfter,
1824
+ timeout
1825
+ }: VerifyZapIsTriggeredProps) => Promise<FormattedList | Record<string, never>>;
1821
1826
  /**
1822
1827
  *
1823
1828
  * Skips test if Zapier task limit is exhausted.
@@ -4039,6 +4044,7 @@ declare const COMMON_SELECTORS: {
4039
4044
  helpPopoverButton: string;
4040
4045
  helpPopoverDesc: string;
4041
4046
  helpPopoverLinkButton: string;
4047
+ copyToClipboardButton: string;
4042
4048
  };
4043
4049
  /**
4044
4050
  *