@bigbinary/neeto-playwright-commons 4.1.11 → 4.1.12
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.js +4 -7
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -116722,7 +116722,8 @@ const i18nFixture = {
|
|
|
116722
116722
|
i18n: [
|
|
116723
116723
|
async ({}, use) => {
|
|
116724
116724
|
const translation = readTranslations();
|
|
116725
|
-
const
|
|
116725
|
+
const browser = await chromium.launch();
|
|
116726
|
+
const page = await browser.newPage();
|
|
116726
116727
|
const taxonomies = await mergeTaxonomies(translation, page);
|
|
116727
116728
|
const options = {
|
|
116728
116729
|
debug: false,
|
|
@@ -116755,16 +116756,12 @@ const i18nFixture = {
|
|
|
116755
116756
|
cache: true,
|
|
116756
116757
|
});
|
|
116757
116758
|
await page.close();
|
|
116759
|
+
await browser.close();
|
|
116758
116760
|
await use(i18nInitialized);
|
|
116759
116761
|
},
|
|
116760
116762
|
{ auto: true, scope: "worker" },
|
|
116761
116763
|
],
|
|
116762
|
-
t: [
|
|
116763
|
-
async ({ i18n }, use) => {
|
|
116764
|
-
await use(i18n.t);
|
|
116765
|
-
},
|
|
116766
|
-
{ scope: "worker" },
|
|
116767
|
-
],
|
|
116764
|
+
t: [({ i18n }, use) => use(i18n.t), { scope: "worker" }],
|
|
116768
116765
|
};
|
|
116769
116766
|
|
|
116770
116767
|
class ThankYouPage {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-playwright-commons",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.12",
|
|
4
4
|
"description": "A package encapsulating common playwright code across neeto projects.",
|
|
5
5
|
"repository": "git@github.com:bigbinary/neeto-playwright-commons.git",
|
|
6
6
|
"license": "apache-2.0",
|