@bigbinary/neeto-playwright-commons 1.3.0 → 1.3.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.cjs.js +4 -3
- package/index.cjs.js.map +1 -1
- package/index.d.ts +4 -14
- package/index.js +4 -3
- package/index.js.map +1 -1
- package/package.json +2 -1
package/index.cjs.js
CHANGED
|
@@ -11,6 +11,7 @@ var require$$0$2 = require('stream');
|
|
|
11
11
|
var require$$0$4 = require('events');
|
|
12
12
|
var ramda = require('ramda');
|
|
13
13
|
var dayjs = require('dayjs');
|
|
14
|
+
var playwrightI18nextFixture = require('playwright-i18next-fixture');
|
|
14
15
|
var require$$3 = require('crypto');
|
|
15
16
|
|
|
16
17
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -6983,7 +6984,7 @@ const generateStagingData = (product = "invoice") => {
|
|
|
6983
6984
|
};
|
|
6984
6985
|
};
|
|
6985
6986
|
|
|
6986
|
-
const
|
|
6987
|
+
const i18nFixture = playwrightI18nextFixture.createI18nFixture({
|
|
6987
6988
|
// i18n configuration options
|
|
6988
6989
|
options: {
|
|
6989
6990
|
debug: false,
|
|
@@ -6996,7 +6997,7 @@ const i18n = {
|
|
|
6996
6997
|
// Run as auto fixture to be available through all tests by getI18nInstance()
|
|
6997
6998
|
// Default: true
|
|
6998
6999
|
auto: true,
|
|
6999
|
-
};
|
|
7000
|
+
});
|
|
7000
7001
|
|
|
7001
7002
|
const BASE_URL = "/api/v1";
|
|
7002
7003
|
const ROUTES = {
|
|
@@ -7807,7 +7808,7 @@ exports.commands = commands;
|
|
|
7807
7808
|
exports.definePlaywrightConfig = definePlaywrightConfig;
|
|
7808
7809
|
exports.generateStagingData = generateStagingData;
|
|
7809
7810
|
exports.hyphenize = hyphenize;
|
|
7810
|
-
exports.
|
|
7811
|
+
exports.i18nFixture = i18nFixture;
|
|
7811
7812
|
exports.initializeCredentials = initializeCredentials;
|
|
7812
7813
|
exports.joinHyphenCase = joinHyphenCase;
|
|
7813
7814
|
exports.joinString = joinString;
|