Skip to content

Commit 19e525e

Browse files
author
Shay
committed
Merge branch '200-install-fix-npm-package' into 'main'
Resolve "Install fix npm package" See merge request elgentos/magento2-playwright!15
2 parents 11104d3 + 1edd489 commit 19e525e

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ npm install @elgentos/magento2-playwright
7676

7777
## ⏸️ Before you run
7878

79-
After the installation, a variety of folders will have been created. Most notable in these are `base-tests`, which contain the tests without alteration, and `tests`. **You will never have to make changes to the** `base-tests` **folder. Doing so might break things, so please be cautious.**
79+
After the installation, a variety of folders will have been created. Most notable in these are `base-tests`, which contain the tests without alteration, and `tests`. **You should never make changes directly to the base-tests folder, as this may break functionality. However, note that the** `base-tests` **can be updated when you upgrade the package, so always review any changes after an update.**
8080

8181

8282

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
{
22
"name": "@elgentos/magento2-playwright",
3-
"version": "2.0.0-alpha",
3+
"version": "2.0.1-alpha",
44
"author": "elgentos",
55
"license": "ISC",
66
"description": "A Playwright End-To-End (E2E) testing suite for Magento 2 with Hyva that helps you find (potential) issues on your webshop.",
77
"scripts": {
8-
"postinstall": "node build.js && npx playwright install",
9-
"translate": "node translate-json.js nl_NL",
10-
"preinstall": "node install.js"
8+
"postinstall": "node build.js && npx playwright install && node install.js",
9+
"translate": "node translate-json.js nl_NL"
1110
},
1211
"dependencies": {
1312
"@faker-js/faker": "^9.8.0",

tsconfig.example.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"resolveJsonModule": true,
99
"baseUrl": ".",
1010
"paths": {
11-
"config": ["tests.config.ts"],
11+
"config": ["tests.config.ts"]
1212
}
1313
}
14-
}
14+
}

0 commit comments

Comments
 (0)