@bigbinary/neeto-playwright-commons 1.8.22 → 1.8.23
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 +6 -4
- package/index.cjs.js.map +1 -1
- package/index.js +7 -5
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import require$$0$4 from 'path';
|
|
|
12
12
|
import require$$0$5 from 'stream';
|
|
13
13
|
import require$$0$6 from 'events';
|
|
14
14
|
import { getI18nInstance, initI18n } from 'playwright-i18next-fixture';
|
|
15
|
-
import {
|
|
15
|
+
import { isNotEmpty, humanize } from '@bigbinary/neeto-cist';
|
|
16
16
|
import require$$3 from 'crypto';
|
|
17
17
|
|
|
18
18
|
const ENVIRONMENT = {
|
|
@@ -10011,8 +10011,8 @@ const MEMBER_TEXTS = {
|
|
|
10011
10011
|
agent: "Agent",
|
|
10012
10012
|
};
|
|
10013
10013
|
const INTEGRATIONS_TEXTS = {
|
|
10014
|
-
connectHeader: (integration) => `Connect your ${
|
|
10015
|
-
connectedHeader: (integration) => `You are connected to ${
|
|
10014
|
+
connectHeader: (integration) => `Connect your ${integration} account`,
|
|
10015
|
+
connectedHeader: (integration) => `You are connected to ${integration}`,
|
|
10016
10016
|
};
|
|
10017
10017
|
const SLACK_WEB_TEXTS = {
|
|
10018
10018
|
signOut: "Sign out",
|
|
@@ -10333,9 +10333,11 @@ class IntegrationBase {
|
|
|
10333
10333
|
this.integrationCard = this.page.getByTestId(INTEGRATION_SELECTORS.integrationCard(integration));
|
|
10334
10334
|
this.integrationRouteIndex = integrationRouteIndex || "";
|
|
10335
10335
|
this.connectHeader =
|
|
10336
|
-
connectHeader ||
|
|
10336
|
+
connectHeader ||
|
|
10337
|
+
INTEGRATIONS_TEXTS.connectHeader(humanize(this.integration));
|
|
10337
10338
|
this.connectedHeader =
|
|
10338
|
-
connectedHeader ||
|
|
10339
|
+
connectedHeader ||
|
|
10340
|
+
INTEGRATIONS_TEXTS.connectedHeader(humanize(this.integration));
|
|
10339
10341
|
}
|
|
10340
10342
|
}
|
|
10341
10343
|
|