@bigbinary/neeto-playwright-commons 1.22.3 → 1.22.5

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
@@ -193250,7 +193250,7 @@ class CustomDomainPage {
193250
193250
  .on("error", () => {
193251
193251
  resolve(false);
193252
193252
  });
193253
- }), { timeout: 25000, intervals: [3000] })
193253
+ }), { timeout: 30000, intervals: [5000] })
193254
193254
  .toBe(true);
193255
193255
  this.saveCustomDomainState = async () => {
193256
193256
  const { user } = readFileSyncIfExists();
@@ -193260,6 +193260,8 @@ class CustomDomainPage {
193260
193260
  updateCredentials({ key: "baseUrl", value: this.baseURL });
193261
193261
  updateCredentials({ key: "domain", value: CUSTOM_DOMAIN_SUFFIX });
193262
193262
  };
193263
+ // eslint-disable-next-line playwright/no-wait-for-timeout
193264
+ this.waitForDomainPropagation = () => this.page.waitForTimeout(10000);
193263
193265
  this.setupCustomDomain = async () => {
193264
193266
  if (shouldSkipCustomDomainSetup())
193265
193267
  return;
@@ -193282,6 +193284,7 @@ class CustomDomainPage {
193282
193284
  await this.validateCustomDomain(domain);
193283
193285
  process.env.BASE_URL = this.baseURL;
193284
193286
  await this.waitForTrustedSSL();
193287
+ await this.waitForDomainPropagation();
193285
193288
  };
193286
193289
  this.disconnectCustomDomain = async () => {
193287
193290
  if (shouldSkipCustomDomainSetup())