@bigbinary/neeto-playwright-commons 1.22.2 → 1.22.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
@@ -3455,9 +3455,33 @@ declare class CustomDomainPage {
3455
3455
  neetoPlaywrightUtilities,
3456
3456
  product
3457
3457
  }: CustomDomainPageProps);
3458
- private getCustomDomain;
3458
+ /**
3459
+ *
3460
+ * Generates and returns the full custom domain URL using either a provided subdomain or the user's current subdomain from global state.
3461
+ *
3462
+ * newSubdomain (optional): A string representing the subdomain to use. If not provided, the method uses the subdomainName from the global user state.
3463
+ *
3464
+ * The full custom domain URL, combining the subdomain and the constant domain suffix.
3465
+ *
3466
+ * @example
3467
+ *
3468
+ * const domain = customDomainPage.getCustomDomain("cpt-form-534343434");
3469
+ * @endexample
3470
+ */
3471
+ getCustomDomain: (newSubdomain?: string) => string;
3459
3472
  private addCustomDomain;
3460
- private validateCustomDomain;
3473
+ /**
3474
+ *
3475
+ * Validates a custom domain via the UI.
3476
+ *
3477
+ * domain: The custom domain string to validate.
3478
+ *
3479
+ * @example
3480
+ *
3481
+ * await customDomainPage.validateCustomDomain("custom.aceinvoice.com");
3482
+ * @endexample
3483
+ */
3484
+ validateCustomDomain: (domain: string) => Promise<void>;
3461
3485
  private loginToCustomDomain;
3462
3486
  private waitForTrustedSSL;
3463
3487
  private saveCustomDomainState;
package/index.js CHANGED
@@ -193200,7 +193200,7 @@ class CustomDomainPage {
193200
193200
  await expect(async () => {
193201
193201
  await validateButton.click();
193202
193202
  await this.neetoPlaywrightUtilities.verifyToast({
193203
- timeout: 15000,
193203
+ timeout: 20000,
193204
193204
  message: this.t("neetoCustomDomains.validation.successMessage"),
193205
193205
  });
193206
193206
  }).toPass({ timeout: 60000 });