@uuv/playwright 1.12.0 → 1.13.1

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.
Files changed (2) hide show
  1. package/README.md +35 -16
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -13,24 +13,53 @@ Test as final user
13
13
  </h3>
14
14
 
15
15
  <p align="center">
16
- Make test writing fast, understandable by any human understanding English or French.
16
+ A solution to facilitate the writing and execution of E2E tests understandable by any human being(English or French) using cucumber(BDD) and cypress or playwright.
17
17
  </p>
18
18
 
19
19
  <p align="center">
20
- <a href="https://www.npmjs.com/package/@uuv/playwright">
20
+ <a href="https://www.npmjs.com/package/@uuv/playwright" target="_blank">
21
21
  <img src="https://img.shields.io/badge/available%20on%20npm-grey?logo=npm" alt="npm"/>
22
22
  </a>
23
- <a href="https://playwright.dev/">
23
+ <a href="https://playwright.dev/" target="_blank">
24
24
  <img src="https://img.shields.io/badge/tested with-playwright-1dbb68?logo=playwright" alt="playwright"/>
25
25
  </a>
26
- <a href="https://testing-library.com/">
26
+ <a href="https://testing-library.com/" target="_blank">
27
27
  <img src="https://img.shields.io/badge/tested%20with-testing%20library-ED3B3A?logo=testing-library" alt="testing-library"/>
28
28
  </a>
29
- <a href="https://cucumber.io/">
29
+ <a href="https://cucumber.io/" target="_blank">
30
30
  <img src="https://img.shields.io/badge/tested%20with-cucumber-1dbb68?logo=cucumber" alt="cucumber"/>
31
31
  </a><br />
32
+ </p>
33
+
34
+ <div align="center">
35
+ <a href="https://www.npmjs.com/package/@uuv/cypress" target="_blank">
36
+ <img alt="@uuv/cypress npm library download count"
37
+ src="https://img.shields.io/npm/dt/%40uuv/cypress?logo=npm&label=%40uuv%2Fcypress"></img>
38
+ </a>
39
+ <a href="https://www.npmjs.com/package/@uuv/playwright" target="_blank">
40
+ <img alt="@uuv/playwright npm library download count"
41
+ src="https://img.shields.io/npm/dt/%40uuv/playwright?logo=npm&label=%40uuv%2Fplaywright"></img>
42
+ </a>
43
+ <a href="https://www.npmjs.com/package/@uuv/assistant" target="_blank">
44
+ <img alt="@uuv/assistant npm library download count"
45
+ src="https://img.shields.io/npm/dt/%40uuv/assistant?logo=npm&label=%40uuv%2Fassistant"></img>
46
+ </a>
47
+ <a href="https://plugins.jetbrains.com/plugin/22437-uuv" target="_blank">
48
+ <img alt="JetBrains Plugin Downloads" src="https://img.shields.io/jetbrains/plugin/d/22437-uuv?logo=jetbrains&label=UUV%20plugin"></img>
49
+ </a>
50
+ <br />
51
+ </div>
52
+
53
+ ## What is @uuv/playwright?
54
+
55
+
56
+ <p align="center">
57
+
58
+ 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.
59
+ We can use the playwright engine(`@uuv/playwright`) to run test or cypress with [@uuv/cypress](https://www.npmjs.com/package/@uuv/cypress)
32
60
  </p>
33
61
 
62
+
34
63
  ## Benefits
35
64
  - If used correctly, integrates accessibility from the development stage
36
65
  - A living documentation is possible because we propose an unified language for developers and non-developers with a rich dictionary of ready-to-use sentences
@@ -55,7 +84,7 @@ With this dom example :
55
84
  we see that the sentence proposed by **UUV is the most understandable** of all
56
85
  | Library | Syntax |
57
86
  |:--|:--|
58
- | Cypress | cy.get('result').should('exist') |
87
+ | Cypress | cy.get('h1').contains('Result') |
59
88
  | Playwright| await expect(page.getByTitle('Result')).toHaveCount(1) |
60
89
  | Testing library | expect(screen.getByTitle(/Result/i)).toBeTruthy() |
61
90
  | UUV | Then I should see a title named "Result"|
@@ -64,16 +93,6 @@ we see that the sentence proposed by **UUV is the most understandable** of all
64
93
  ## Documentation
65
94
  <a href="https://orange-opensource.github.io/uuv/"><img src="https://img.shields.io/badge/documentation-black?&style=for-the-badge&logo=github&logoColor=white" alt="documentation"/></a>
66
95
 
67
- ## What is @uuv/playwright?
68
-
69
-
70
- <p align="center">
71
-
72
- 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.
73
- We can use the playwright engine to run test or cypress with [@uuv/cypress](https://www.npmjs.com/package/@uuv/cypress)
74
- </p>
75
-
76
-
77
96
  ## Installation
78
97
 
79
98
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uuv/playwright",
3
- "version": "1.12.0",
3
+ "version": "1.13.1",
4
4
  "type": "commonjs",
5
5
  "author": "Louis Fredice NJAKO MOLOM (https://github.com/luifr10) & Stanley SERVICAL (https://github.com/stanlee974)",
6
6
  "description": "A solution to facilitate the writing and execution of E2E tests understandable by any human being using cucumber(BDD) and playwright",
@@ -46,7 +46,7 @@
46
46
  "dependencies": {
47
47
  "@cucumber/cucumber": "9.3.0",
48
48
  "@playwright/test": "1.33.0",
49
- "@uuv/runner-commons": "1.9.3",
49
+ "@uuv/runner-commons": "1.10.1",
50
50
  "axe-core": "4.7.2",
51
51
  "axe-playwright": "1.2.3",
52
52
  "chalk": "4.1.2",
@@ -89,8 +89,8 @@
89
89
  }
90
90
  },
91
91
  "devDependencies": {
92
- "@types/minimist": "1.2.4",
93
- "@types/node": "16.18.59",
92
+ "@types/minimist": "1.2.5",
93
+ "@types/node": "16.18.61",
94
94
  "cross-env": "7.0.3",
95
95
  "eslint-plugin-cucumber": "2.0.0",
96
96
  "eslint-plugin-jest": "27.6.0",