@bigbinary/neeto-playwright-commons 1.8.28 → 1.8.29

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
@@ -139,6 +139,8 @@ const skipTest = {
139
139
  },
140
140
  };
141
141
  const shouldSkipSetupAndTeardown = () => { var _a; return ((_a = getGlobalUserState()) === null || _a === void 0 ? void 0 : _a.isLoggedIn) && process.env.SKIP_SETUP === "true"; };
142
+ // trims and replaces multiple whitespace characters in a string with a single space
143
+ const squish = (text) => text.trim().replace(/\s+/g, " ");
142
144
 
143
145
  const COMMON_SELECTORS = {
144
146
  spinner: ".neeto-ui-spinner",
@@ -12845,6 +12847,7 @@ const SIGNUP_SELECTORS = {
12845
12847
  subdomainNameTextField: "signup-organization-subdomain-text-field",
12846
12848
  subdomainError: "subdomain-input-error",
12847
12849
  tryFreeButton: "neeto-auth-signup-link",
12850
+ unregisterdEmailError: "unregisterd-email-error",
12848
12851
  };
12849
12852
 
12850
12853
  const extractSubdomainFromError = (errorString) => {
@@ -13868,6 +13871,7 @@ exports.readFileSyncIfExists = readFileSyncIfExists;
13868
13871
  exports.removeCredentialFile = removeCredentialFile;
13869
13872
  exports.shouldSkipSetupAndTeardown = shouldSkipSetupAndTeardown;
13870
13873
  exports.skipTest = skipTest;
13874
+ exports.squish = squish;
13871
13875
  exports.stealthTest = stealth;
13872
13876
  exports.tableUtils = tableUtils;
13873
13877
  exports.updateCredentials = updateCredentials;