@uuv/playwright 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/.npmignore +2 -0
- package/CHANGELOG.md +18 -0
- package/README.md +5 -5
- package/dist/CHANGELOG.md +18 -0
- package/dist/README.md +5 -5
- package/package.json +9 -7
- package/postinstall.js +2 -0
package/.npmignore
ADDED
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## [1.3.2](https://github.com/e2e-test-quest/uuv/compare/runner-playwright-v1.3.1...runner-playwright-v1.3.2) (2023-05-11)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **runner-playwright:** add lint script [#8](https://github.com/e2e-test-quest/uuv/issues/8) ([0cd7451](https://github.com/e2e-test-quest/uuv/commit/0cd7451a2bb73698e05aefc6c89be01c2ea41c96))
|
|
7
|
+
* **runner-playwright:** update @cucumber/cucumber dep version, [#93](https://github.com/e2e-test-quest/uuv/issues/93) ([a891a70](https://github.com/e2e-test-quest/uuv/commit/a891a70daad1cb5d7d34f25097a31d89f92b92c6))
|
|
8
|
+
|
|
9
|
+
## [1.3.1](https://github.com/e2e-test-quest/uuv/compare/runner-playwright-v1.3.0...runner-playwright-v1.3.1) (2023-05-09)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **runner-commons:** fix npm documentation, [#87](https://github.com/e2e-test-quest/uuv/issues/87) ([ba7394c](https://github.com/e2e-test-quest/uuv/commit/ba7394cd755e350fd5a5964aed26435e5979e77d))
|
|
15
|
+
* **runner-commons:** modify keyword for npmjs, [#87](https://github.com/e2e-test-quest/uuv/issues/87) ([392c4d0](https://github.com/e2e-test-quest/uuv/commit/392c4d0337179dae2c2a96c26dc2cc32e0ad87b3))
|
|
16
|
+
* **runner-playwright:** add `npx playwright install` into postinstall, [#87](https://github.com/e2e-test-quest/uuv/issues/87) ([035f6aa](https://github.com/e2e-test-quest/uuv/commit/035f6aabb7d654eb45b789e73d63f118b628f9af))
|
|
17
|
+
* **runner-playwright:** fix npm documentation, [#87](https://github.com/e2e-test-quest/uuv/issues/87) ([716de44](https://github.com/e2e-test-quest/uuv/commit/716de44456c50dcc4f52c3ed49f8fe48bf2f15b0))
|
|
18
|
+
* **runner-playwright:** modify doc for npmjs, [#87](https://github.com/e2e-test-quest/uuv/issues/87) ([593e4ef](https://github.com/e2e-test-quest/uuv/commit/593e4ef3d14df27b3770f17bac9ba9ba7f326f4a))
|
|
1
19
|
|
|
2
20
|
# Change Log
|
|
3
21
|
All notable changes to this project will be documented in this file.
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<p align="center">
|
|
5
5
|
<a href="https://e2e-test-quest.github.io/uuv/">
|
|
6
6
|
<picture>
|
|
7
|
-
<img alt="UUV Logo" src="
|
|
7
|
+
<img alt="UUV Logo" src="https://e2e-test-quest.github.io/uuv/img/uuv.png">
|
|
8
8
|
</picture>
|
|
9
9
|
</a>
|
|
10
10
|
</p>
|
|
@@ -35,19 +35,19 @@ Make test writing fast, understandable by any human understanding English or Fre
|
|
|
35
35
|
</a><br />
|
|
36
36
|
</p>
|
|
37
37
|
|
|
38
|
-
## What is
|
|
38
|
+
## What is @uuv/playwright ?
|
|
39
39
|
|
|
40
40
|
<p align="center">
|
|
41
41
|
|
|
42
42
|
The `@uuv` library (User centric Usecases Validator) is an ecosystem that simplifies the writing of End to End tests in a BDD approach and a user-centric way.
|
|
43
|
-
We can use the playwright engine to run test or cypress with [uuv/cypress](https://www.npmjs.com/package/@uuv/cypress)
|
|
43
|
+
We can use the playwright engine to run test or cypress with [@uuv/cypress](https://www.npmjs.com/package/@uuv/cypress)
|
|
44
44
|
</p>
|
|
45
45
|
|
|
46
46
|
## Installing
|
|
47
47
|
|
|
48
|
-
<a href="https://e2e-test-quest.github.io/uuv/docs/getting-started/installation#playwright"><img src="https://img.shields.io/badge/Install%
|
|
48
|
+
<a href="https://e2e-test-quest.github.io/uuv/docs/getting-started/installation#playwright"><img src="https://img.shields.io/badge/Install%20Playwright%20doc-red?&style=for-the-badge&logo=github&logoColor=white" alt="documentation for install uuv playwright"/></a>
|
|
49
49
|
|
|
50
|
-
<a href="https://e2e-test-quest.github.io/uuv/docs/getting-started/configuration"><img src="https://img.shields.io/badge/Configure%
|
|
50
|
+
<a href="https://e2e-test-quest.github.io/uuv/docs/getting-started/configuration"><img src="https://img.shields.io/badge/Configure%20Playwright%20doc-red?&style=for-the-badge&logo=github&logoColor=white" alt="documentation for configure uuv playwright"/></a>
|
|
51
51
|
|
|
52
52
|
<a href="https://e2e-test-quest.github.io/uuv/docs/test/first-test"><img src="https://img.shields.io/badge/Write%20test%20doc-red?&style=for-the-badge&logo=github&logoColor=white" alt="documentation for write test"/></a>
|
|
53
53
|
|
package/dist/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## [1.3.2](https://github.com/e2e-test-quest/uuv/compare/runner-playwright-v1.3.1...runner-playwright-v1.3.2) (2023-05-11)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **runner-playwright:** add lint script [#8](https://github.com/e2e-test-quest/uuv/issues/8) ([0cd7451](https://github.com/e2e-test-quest/uuv/commit/0cd7451a2bb73698e05aefc6c89be01c2ea41c96))
|
|
7
|
+
* **runner-playwright:** update @cucumber/cucumber dep version, [#93](https://github.com/e2e-test-quest/uuv/issues/93) ([a891a70](https://github.com/e2e-test-quest/uuv/commit/a891a70daad1cb5d7d34f25097a31d89f92b92c6))
|
|
8
|
+
|
|
9
|
+
## [1.3.1](https://github.com/e2e-test-quest/uuv/compare/runner-playwright-v1.3.0...runner-playwright-v1.3.1) (2023-05-09)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **runner-commons:** fix npm documentation, [#87](https://github.com/e2e-test-quest/uuv/issues/87) ([ba7394c](https://github.com/e2e-test-quest/uuv/commit/ba7394cd755e350fd5a5964aed26435e5979e77d))
|
|
15
|
+
* **runner-commons:** modify keyword for npmjs, [#87](https://github.com/e2e-test-quest/uuv/issues/87) ([392c4d0](https://github.com/e2e-test-quest/uuv/commit/392c4d0337179dae2c2a96c26dc2cc32e0ad87b3))
|
|
16
|
+
* **runner-playwright:** add `npx playwright install` into postinstall, [#87](https://github.com/e2e-test-quest/uuv/issues/87) ([035f6aa](https://github.com/e2e-test-quest/uuv/commit/035f6aabb7d654eb45b789e73d63f118b628f9af))
|
|
17
|
+
* **runner-playwright:** fix npm documentation, [#87](https://github.com/e2e-test-quest/uuv/issues/87) ([716de44](https://github.com/e2e-test-quest/uuv/commit/716de44456c50dcc4f52c3ed49f8fe48bf2f15b0))
|
|
18
|
+
* **runner-playwright:** modify doc for npmjs, [#87](https://github.com/e2e-test-quest/uuv/issues/87) ([593e4ef](https://github.com/e2e-test-quest/uuv/commit/593e4ef3d14df27b3770f17bac9ba9ba7f326f4a))
|
|
1
19
|
|
|
2
20
|
# Change Log
|
|
3
21
|
All notable changes to this project will be documented in this file.
|
package/dist/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<p align="center">
|
|
5
5
|
<a href="https://e2e-test-quest.github.io/uuv/">
|
|
6
6
|
<picture>
|
|
7
|
-
<img alt="UUV Logo" src="
|
|
7
|
+
<img alt="UUV Logo" src="https://e2e-test-quest.github.io/uuv/img/uuv.png">
|
|
8
8
|
</picture>
|
|
9
9
|
</a>
|
|
10
10
|
</p>
|
|
@@ -35,19 +35,19 @@ Make test writing fast, understandable by any human understanding English or Fre
|
|
|
35
35
|
</a><br />
|
|
36
36
|
</p>
|
|
37
37
|
|
|
38
|
-
## What is
|
|
38
|
+
## What is @uuv/playwright ?
|
|
39
39
|
|
|
40
40
|
<p align="center">
|
|
41
41
|
|
|
42
42
|
The `@uuv` library (User centric Usecases Validator) is an ecosystem that simplifies the writing of End to End tests in a BDD approach and a user-centric way.
|
|
43
|
-
We can use the playwright engine to run test or cypress with [uuv/cypress](https://www.npmjs.com/package/@uuv/cypress)
|
|
43
|
+
We can use the playwright engine to run test or cypress with [@uuv/cypress](https://www.npmjs.com/package/@uuv/cypress)
|
|
44
44
|
</p>
|
|
45
45
|
|
|
46
46
|
## Installing
|
|
47
47
|
|
|
48
|
-
<a href="https://e2e-test-quest.github.io/uuv/docs/getting-started/installation#playwright"><img src="https://img.shields.io/badge/Install%
|
|
48
|
+
<a href="https://e2e-test-quest.github.io/uuv/docs/getting-started/installation#playwright"><img src="https://img.shields.io/badge/Install%20Playwright%20doc-red?&style=for-the-badge&logo=github&logoColor=white" alt="documentation for install uuv playwright"/></a>
|
|
49
49
|
|
|
50
|
-
<a href="https://e2e-test-quest.github.io/uuv/docs/getting-started/configuration"><img src="https://img.shields.io/badge/Configure%
|
|
50
|
+
<a href="https://e2e-test-quest.github.io/uuv/docs/getting-started/configuration"><img src="https://img.shields.io/badge/Configure%20Playwright%20doc-red?&style=for-the-badge&logo=github&logoColor=white" alt="documentation for configure uuv playwright"/></a>
|
|
51
51
|
|
|
52
52
|
<a href="https://e2e-test-quest.github.io/uuv/docs/test/first-test"><img src="https://img.shields.io/badge/Write%20test%20doc-red?&style=for-the-badge&logo=github&logoColor=white" alt="documentation for write test"/></a>
|
|
53
53
|
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uuv/playwright",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"author": "Louis Fredice NJAKO MOLOM (https://github.com/luifr10) & Stanley SERVICAL (https://github.com/stanlee974)",
|
|
6
|
-
"description": "A
|
|
6
|
+
"description": "A solution to run E2E tests written in cucumber(BDD) with playwright.",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"test",
|
|
21
21
|
"testing",
|
|
22
22
|
"accessibility",
|
|
23
|
-
"
|
|
23
|
+
"accessibilite",
|
|
24
24
|
"a11y",
|
|
25
25
|
"playwright",
|
|
26
26
|
"testing-library",
|
|
@@ -36,12 +36,13 @@
|
|
|
36
36
|
"test:open": "ts-node test.ts open",
|
|
37
37
|
"test:alone:run": "npx playwright test",
|
|
38
38
|
"test:format": "ts-node format-cucumber-report.ts",
|
|
39
|
-
"test": "npm run test:run"
|
|
39
|
+
"test": "npm run test:run",
|
|
40
|
+
"lint": "eslint -c .eslintrc.json"
|
|
40
41
|
},
|
|
41
42
|
"dependencies": {
|
|
42
|
-
"@cucumber/cucumber": "9.1.
|
|
43
|
+
"@cucumber/cucumber": "9.1.2",
|
|
43
44
|
"@playwright/test": "1.33.0",
|
|
44
|
-
"@uuv/runner-commons": "1.3.
|
|
45
|
+
"@uuv/runner-commons": "1.3.2",
|
|
45
46
|
"axe-core": "4.7.0",
|
|
46
47
|
"axe-playwright": "1.2.3",
|
|
47
48
|
"chalk": "4.1.2",
|
|
@@ -66,7 +67,8 @@
|
|
|
66
67
|
"postinstall.js",
|
|
67
68
|
"target-config/**/*",
|
|
68
69
|
"src/cucumber/step_definitions/playwright/generated/**/*",
|
|
69
|
-
"*.md"
|
|
70
|
+
"*.md",
|
|
71
|
+
".npmignore"
|
|
70
72
|
],
|
|
71
73
|
"exports": {
|
|
72
74
|
".": {
|
package/postinstall.js
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
const fs = require("fs");
|
|
18
|
+
const { execSync } = require("child_process");
|
|
18
19
|
const PROJECT_DIR = `${__dirname}/../../../`;
|
|
19
20
|
const CLI_DIR = `${__dirname}/dist/lib`;
|
|
20
21
|
const TARGET_CONFIG_DIR = `${__dirname}/target-config`;
|
|
@@ -43,6 +44,7 @@ function main () {
|
|
|
43
44
|
if (fs.existsSync(`${PROJECT_DIR}/package.json`) && !fs.existsSync(`${PROJECT_DIR}/.no-postinstall`)) {
|
|
44
45
|
copyFileIfMissing("playwright.config.ts", `${TARGET_CONFIG_DIR}`, `${PROJECT_DIR}/uuv`);
|
|
45
46
|
copyFileIfMissing("cucumber.cjs", `${TARGET_CONFIG_DIR}`, `${PROJECT_DIR}`);
|
|
47
|
+
execSync("npx playwright install", { stdio: "inherit" });
|
|
46
48
|
} else {
|
|
47
49
|
console.log("postinstall - Nothing to copy");
|
|
48
50
|
}
|