@uuv/cypress 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 (3) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +33 -14
  3. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [1.13.1](https://github.com/Orange-OpenSource/uuv/compare/runner-cypress-v1.13.0...runner-cypress-v1.13.1) (2023-11-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * correct cypress syntax in readme, [#322](https://github.com/Orange-OpenSource/uuv/issues/322) ([6fd427a](https://github.com/Orange-OpenSource/uuv/commit/6fd427ac20c27213f864fb199a4433b91aff87ba))
7
+
8
+ # [1.13.0](https://github.com/Orange-OpenSource/uuv/compare/runner-cypress-v1.12.0...runner-cypress-v1.13.0) (2023-11-05)
9
+
10
+
11
+ ### Features
12
+
13
+ * add download counter, [#317](https://github.com/Orange-OpenSource/uuv/issues/317) ([87b7ade](https://github.com/Orange-OpenSource/uuv/commit/87b7ade2ac8d3ffe2e3ed79e579866dea8dfc941))
14
+
1
15
  # [1.12.0](https://github.com/Orange-OpenSource/uuv/compare/runner-cypress-v1.11.2...runner-cypress-v1.12.0) (2023-10-31)
2
16
 
3
17
 
package/README.md CHANGED
@@ -13,22 +13,49 @@ 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/cypress">
20
+ <a href="https://www.npmjs.com/package/@uuv/cypress" 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://www.cypress.io/">
23
+ <a href="https://www.cypress.io/" target="_blank">
24
24
  <img src="https://img.shields.io/badge/tested with-cypress-04C38E?logo=cypress" alt="cypress"/>
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/cypress?
54
+
55
+ <p align="center">
56
+
57
+ 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.
58
+ We can use the cypress engine(`@uuv/cypress`) to run test or playwright with [@uuv/playwright](https://www.npmjs.com/package/@uuv/playwright)
32
59
  </p>
33
60
 
34
61
  ## Benefits
@@ -55,7 +82,7 @@ With this dom example :
55
82
  we see that the sentence proposed by **UUV is the most understandable** of all
56
83
  | Library | Syntax |
57
84
  |:--|:--|
58
- | Cypress | cy.get('result').should('exist') |
85
+ | Cypress | cy.get('h1').contains('Result') |
59
86
  | Playwright| await expect(page.getByTitle('Result')).toHaveCount(1) |
60
87
  | Testing library | expect(screen.getByTitle(/Result/i)).toBeTruthy() |
61
88
  | UUV | Then I should see a title named "Result"|
@@ -64,14 +91,6 @@ we see that the sentence proposed by **UUV is the most understandable** of all
64
91
  ## Documentation
65
92
  <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
93
 
67
- ## What is @uuv/cypress?
68
-
69
- <p align="center">
70
-
71
- 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.
72
- We can use the cypress engine to run test or playwright with [@uuv/playwright](https://www.npmjs.com/package/@uuv/playwright)
73
- </p>
74
-
75
94
  ## Demonstration
76
95
 
77
96
  ### Demo in english
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uuv/cypress",
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 cypress",
@@ -46,7 +46,7 @@
46
46
  "@badeball/cypress-cucumber-preprocessor": "16.0.3",
47
47
  "@cypress/webpack-preprocessor": "5.17.1",
48
48
  "@testing-library/cypress": "9.0.0",
49
- "@uuv/runner-commons": "1.9.3",
49
+ "@uuv/runner-commons": "1.10.1",
50
50
  "axe-core": "4.7.2",
51
51
  "chalk": "4.1.2",
52
52
  "cucumber-json-report-formatter": "0.1.4",
@@ -99,8 +99,8 @@
99
99
  }
100
100
  },
101
101
  "devDependencies": {
102
- "@types/minimist": "1.2.4",
103
- "@types/node": "16.18.59",
102
+ "@types/minimist": "1.2.5",
103
+ "@types/node": "16.18.61",
104
104
  "cross-env": "7.0.3",
105
105
  "eslint-plugin-cypress": "2.15.1",
106
106
  "serve-handler": "6.1.5",