@uuv/cypress 1.3.2 → 1.4.0
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/CHANGELOG.md +21 -0
- package/README.md +108 -24
- package/package.json +2 -2
- package/dist/CHANGELOG.md +0 -35
- package/dist/CONTRIBUTING.md +0 -81
- package/dist/README.md +0 -75
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
# [1.4.0](https://github.com/e2e-test-quest/uuv/compare/runner-cypress-v1.3.3...runner-cypress-v1.4.0) (2023-05-16)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **runner-commons:** restructure documentation, [#112](https://github.com/e2e-test-quest/uuv/issues/112) ([f5db612](https://github.com/e2e-test-quest/uuv/commit/f5db612da3c31d2e6f4a3f647546167ebcbddaa5))
|
|
7
|
+
* **runner-cypress:** add benefit block [#112](https://github.com/e2e-test-quest/uuv/issues/112) ([04cf36f](https://github.com/e2e-test-quest/uuv/commit/04cf36fd0e43614ae801bb08bf514a4ba3cca975))
|
|
8
|
+
* **runner-cypress:** restructure documentation, [#112](https://github.com/e2e-test-quest/uuv/issues/112) ([43353a8](https://github.com/e2e-test-quest/uuv/commit/43353a88499e3270fa64c518b7332541e3a01652))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **runner-playwright:** add error details and screenshot to report, fixes [#110](https://github.com/e2e-test-quest/uuv/issues/110) ([3c4a3cd](https://github.com/e2e-test-quest/uuv/commit/3c4a3cd192b90242dd07bbdc4bb3ece780ee0c40))
|
|
14
|
+
|
|
15
|
+
## [1.3.3](https://github.com/e2e-test-quest/uuv/compare/runner-cypress-v1.3.2...runner-cypress-v1.3.3) (2023-05-15)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* **runner-playwright:** fix workspace lint during ci, [#108](https://github.com/e2e-test-quest/uuv/issues/108) ([a3ac0d6](https://github.com/e2e-test-quest/uuv/commit/a3ac0d68d27c34f36237b6f74b94e160b7cde9b8))
|
|
21
|
+
|
|
1
22
|
## [1.3.2](https://github.com/e2e-test-quest/uuv/compare/runner-cypress-v1.3.1...runner-cypress-v1.3.2) (2023-05-11)
|
|
2
23
|
|
|
3
24
|
|
package/README.md
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
|
|
1
2
|
# @uuv/runner-cypress
|
|
2
3
|
<p align="center">
|
|
3
4
|
<a href="https://e2e-test-quest.github.io/uuv/">
|
|
@@ -6,9 +7,6 @@
|
|
|
6
7
|
</picture>
|
|
7
8
|
</a>
|
|
8
9
|
</p>
|
|
9
|
-
<p align="center">
|
|
10
|
-
<a href="https://e2e-test-quest.github.io/uuv/"><img src="https://img.shields.io/badge/documentation-black?&style=for-the-badge&logo=github&logoColor=white" alt="documentation"/></a>
|
|
11
|
-
</p>
|
|
12
10
|
|
|
13
11
|
<h3 align="center">
|
|
14
12
|
Test as final user
|
|
@@ -33,22 +31,40 @@ Make test writing fast, understandable by any human understanding English or Fre
|
|
|
33
31
|
</a><br />
|
|
34
32
|
</p>
|
|
35
33
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
</
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
34
|
+
## Benefits
|
|
35
|
+
- If used correctly, integrates accessibility from the development stage
|
|
36
|
+
- 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
|
|
37
|
+
- A wizard that facilitates the writing of tests by suggesting the most accessible sentences
|
|
38
|
+
- Integrates several runtime engines: Cypress / Playwright
|
|
39
|
+
- User-friendly and standardized execution report
|
|
40
|
+
### <u>Comparison</u>
|
|
41
|
+
| Criteria | Cypress | Playwright | Testing library | UUV |
|
|
42
|
+
|:-: |:-: |:-: |:-: |:-: |
|
|
43
|
+
| User centrism | :x: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
|
|
44
|
+
| Native accessibility | :x: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
|
|
45
|
+
| Easy setup configuration for BDD test | :warning: | :warning: | :heavy_minus_sign: | :heavy_check_mark: |
|
|
46
|
+
| Understandable by everyone <br> (included non dev) | :x: | :x: | :x: | :heavy_check_mark: |
|
|
47
|
+
|
|
48
|
+
### <u>Syntax example</u>
|
|
49
|
+
With this dom example :
|
|
50
|
+
```html
|
|
51
|
+
<body>
|
|
52
|
+
<h1>Result<h1>
|
|
53
|
+
</body>
|
|
54
|
+
```
|
|
55
|
+
we see that the sentence proposed by **UUV is the most understandable** of all
|
|
56
|
+
| Library | Syntax |
|
|
57
|
+
|:--|:--|
|
|
58
|
+
| Cypress | cy.get('result').should('exist') |
|
|
59
|
+
| Playwright| await expect(page.getByTitle('Result')).toHaveCount(1) |
|
|
60
|
+
| Testing library | expect(screen.getByTitle(/Result/i)).toBeTruthy() |
|
|
61
|
+
| UUV | Then I should see a title named "Result"|
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
## Documentation
|
|
65
|
+
<a href="https://e2e-test-quest.github.io/uuv/"><img src="https://img.shields.io/badge/documentation-black?&style=for-the-badge&logo=github&logoColor=white" alt="documentation"/></a>
|
|
66
|
+
|
|
67
|
+
## What is @uuv/cypress?
|
|
52
68
|
|
|
53
69
|
<p align="center">
|
|
54
70
|
|
|
@@ -56,20 +72,88 @@ The `@uuv` library (User centric Usecases Validator) is an ecosystem that simpli
|
|
|
56
72
|
We can use the cypress engine to run test or playwright with [@uuv/playwright](https://www.npmjs.com/package/@uuv/playwright)
|
|
57
73
|
</p>
|
|
58
74
|
|
|
59
|
-
##
|
|
75
|
+
## Demonstration
|
|
76
|
+
|
|
77
|
+
### Demo in english
|
|
78
|
+
<a href="https://player.vimeo.com/video/822253247?texttrack=en&h=617306172d&badge=0&autopause=0&player_id=0&app_id=58479" rel="nofollow">
|
|
79
|
+
<img alt="runner-cypress in english" src="https://e2e-test-quest.github.io/uuv/img/cypress/screenshot.png" style="max-width: 100%;" width="75%" height="75%">
|
|
80
|
+
</a>
|
|
81
|
+
|
|
82
|
+
### Demo in french
|
|
83
|
+
<a href="https://player.vimeo.com/video/822253247?texttrack=fr&h=617306172d&badge=0&autopause=0&player_id=0&app_id=58479" rel="nofollow">
|
|
84
|
+
<img alt="runner-cypress in french" src="https://e2e-test-quest.github.io/uuv/img/cypress/screenshot.png" style="max-width: 100%;" width="75%" height="75%">
|
|
85
|
+
</a>
|
|
60
86
|
|
|
61
|
-
<a href="https://e2e-test-quest.github.io/uuv/docs/getting-started/installation#cypress"><img src="https://img.shields.io/badge/Install%20Cypress%20doc-red?&style=for-the-badge&logo=github&logoColor=white" alt="documentation for install uuv cypress"/></a>
|
|
62
87
|
|
|
88
|
+
## Installation
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
npm install --save-dev @uuv/cypress
|
|
93
|
+
```
|
|
94
|
+
or
|
|
95
|
+
```bash
|
|
96
|
+
yarn add -D @uuv/cypress
|
|
97
|
+
```
|
|
98
|
+
## Configuration (optional)
|
|
63
99
|
<a href="https://e2e-test-quest.github.io/uuv/docs/getting-started/configuration"><img src="https://img.shields.io/badge/Configure%20cypress%20doc-red?&style=for-the-badge&logo=github&logoColor=white" alt="documentation for configure uuv cypress"/></a>
|
|
64
100
|
|
|
101
|
+
## Usage
|
|
102
|
+
### Write test
|
|
103
|
+
To write your first test, create the file `uuv/e2e/first-test.feature` in the project root with the following content :
|
|
104
|
+
```gherkin
|
|
105
|
+
Feature: Hello World
|
|
106
|
+
|
|
107
|
+
Scenario: Search - Successful case
|
|
108
|
+
When I visit path "/"
|
|
109
|
+
Then I should see an element with role "heading" and name "My app title"
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
For more details, please go to the documentation:
|
|
65
113
|
<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>
|
|
66
114
|
|
|
115
|
+
### Run test
|
|
116
|
+
|
|
117
|
+
#### browser mode
|
|
118
|
+
```bash
|
|
119
|
+
npx uuv open
|
|
120
|
+
```
|
|
121
|
+
or
|
|
122
|
+
```bash
|
|
123
|
+
yarn uuv open
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
#### headless mode
|
|
127
|
+
##### without args
|
|
128
|
+
```bash
|
|
129
|
+
npx uuv e2e
|
|
130
|
+
```
|
|
131
|
+
or
|
|
132
|
+
```bash
|
|
133
|
+
yarn uuv e2e
|
|
134
|
+
```
|
|
135
|
+
##### with args
|
|
136
|
+
```bash
|
|
137
|
+
npx uuv e2e --browser=edge --env="{'TAGS':'@mobile'}" --generateHtmlReport
|
|
138
|
+
```
|
|
139
|
+
or
|
|
140
|
+
```bash
|
|
141
|
+
yarn uuv e2e --browser=edge --env="{'TAGS':'@mobile'}" --generateHtmlReport
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
For more details, please go to the documentation:
|
|
67
145
|
<a href="https://e2e-test-quest.github.io/uuv/docs/test/running-test"><img src="https://img.shields.io/badge/Run%20test%20doc-red?&style=for-the-badge&logo=github&logoColor=white" alt="documentation for run test"/></a>
|
|
68
146
|
|
|
69
147
|
## License
|
|
70
148
|
|
|
71
|
-
[<a href="https://
|
|
72
|
-
<img src="https://img.shields.io/badge/license-Apache%202.0-blue" alt="
|
|
149
|
+
[<a href="https://github.com/e2e-test-quest/uuv/blob/main/LICENSE">
|
|
150
|
+
<img src="https://img.shields.io/badge/license-Apache%202.0-blue" alt="apache license"/>
|
|
73
151
|
</a>](https://www.apache.org/licenses/LICENSE-2.0)
|
|
74
152
|
|
|
75
|
-
This project is licensed under the terms of the [Apache 2.0 license](https://
|
|
153
|
+
This project is licensed under the terms of the [Apache 2.0 license](https://github.com/e2e-test-quest/uuv/blob/main/LICENSE).
|
|
154
|
+
|
|
155
|
+
## Authors
|
|
156
|
+
|
|
157
|
+
- [@luifr10](https://github.com/luifr10)
|
|
158
|
+
- [@stanlee974](https://github.com/stanlee974)
|
|
159
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uuv/cypress",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
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 run E2E tests written in cucumber(BDD) with cypress.",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@badeball/cypress-cucumber-preprocessor": "16.0.3",
|
|
43
43
|
"@cypress/webpack-preprocessor": "5.17.0",
|
|
44
44
|
"@testing-library/cypress": "9.0.0",
|
|
45
|
-
"@uuv/runner-commons": "1.
|
|
45
|
+
"@uuv/runner-commons": "1.4.0",
|
|
46
46
|
"axe-core": "4.7.0",
|
|
47
47
|
"chalk": "4.1.2",
|
|
48
48
|
"cucumber-json-report-formatter": "0.1.4",
|
package/dist/CHANGELOG.md
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
## [1.3.2](https://github.com/e2e-test-quest/uuv/compare/runner-cypress-v1.3.1...runner-cypress-v1.3.2) (2023-05-11)
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
### Bug Fixes
|
|
5
|
-
|
|
6
|
-
* **runner-cypress:** add lint script [#8](https://github.com/e2e-test-quest/uuv/issues/8) ([78c43d1](https://github.com/e2e-test-quest/uuv/commit/78c43d1406709953086793298132f8fb85e68ba8))
|
|
7
|
-
* **runner-cypress:** modify doc for npmjs [#94](https://github.com/e2e-test-quest/uuv/issues/94) ([b7ba332](https://github.com/e2e-test-quest/uuv/commit/b7ba332900081318984e495d563c1477ffacd801))
|
|
8
|
-
* **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))
|
|
9
|
-
|
|
10
|
-
## [1.3.1](https://github.com/e2e-test-quest/uuv/compare/runner-cypress-v1.3.0...runner-cypress-v1.3.1) (2023-05-09)
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
### Bug Fixes
|
|
14
|
-
|
|
15
|
-
* **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))
|
|
16
|
-
* **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))
|
|
17
|
-
* **runner-cypress:** fix npm documentation, [#87](https://github.com/e2e-test-quest/uuv/issues/87) ([1ccef97](https://github.com/e2e-test-quest/uuv/commit/1ccef97182614635050defdccbe8838df2603247))
|
|
18
|
-
* **runner-cypress:** modify keyword for npmjs, [#87](https://github.com/e2e-test-quest/uuv/issues/87) ([080f82d](https://github.com/e2e-test-quest/uuv/commit/080f82d92c376b0d30ee2fb3473a07d5fc1f0d73))
|
|
19
|
-
* **runner-cypress:** move webpack dep from devDeps to deps ([2e96fa7](https://github.com/e2e-test-quest/uuv/commit/2e96fa77d8b9845d6df899603dee087aad13e8ef))
|
|
20
|
-
|
|
21
|
-
# Change Log
|
|
22
|
-
All notable changes to this project will be documented in this file.
|
|
23
|
-
|
|
24
|
-
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
|
25
|
-
and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
26
|
-
|
|
27
|
-
## [1.2.0-beta-20230424] - 2023-04-24
|
|
28
|
-
|
|
29
|
-
### Added
|
|
30
|
-
- [#4](https://github.com/e2e-test-quest/uuv/issues/4)
|
|
31
|
-
MINOR Amélioration du scoring npm
|
|
32
|
-
- [#3](https://github.com/e2e-test-quest/uuv/issues/3)
|
|
33
|
-
MAJOR Initialisation du pipeline
|
|
34
|
-
- [#1](https://github.com/e2e-test-quest/uuv/issues/1)
|
|
35
|
-
MAJOR Rajout de la licence Apache 2.0
|
package/dist/CONTRIBUTING.md
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
# Contributors guide
|
|
2
|
-
|
|
3
|
-
**Want to contribute?**
|
|
4
|
-
We try to make it easy, and all contributions, even the smaller ones, are more than welcome.
|
|
5
|
-
This includes bug reports, fixes, documentation, examples...
|
|
6
|
-
But first, read this page (including the small print at the end).
|
|
7
|
-
|
|
8
|
-
Contributions are available on https://github.com/e2e-test-quest/uuv
|
|
9
|
-
|
|
10
|
-
## Legal
|
|
11
|
-
|
|
12
|
-
All original contributions to _UUV_ are licensed under the
|
|
13
|
-
[Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0),
|
|
14
|
-
version 2.0 or later.
|
|
15
|
-
|
|
16
|
-
All contributions are subject to the [Developer Certificate of Origin](https://developercertificate.org/) (DCO).
|
|
17
|
-
The DCO is a lightweight way for contributors to certify that they wrote or otherwise have the right to submit the code they are contributing to the project.
|
|
18
|
-
The DCO text is also included verbatim in the [DCO.txt](DCO.txt) file in the root directory of the repository.
|
|
19
|
-
|
|
20
|
-
Contributors **must** _sign-off_ that they adhere to these requirements by adding a `Signed-off-by` line to commit messages, as shown below:
|
|
21
|
-
|
|
22
|
-
```text
|
|
23
|
-
This is the commit message
|
|
24
|
-
|
|
25
|
-
Signed-off-by: Joe Dev <joe.dev@developer.example.org>
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
Git has a handy [`-s` command line option](https://git-scm.com/docs/git-commit#Documentation/git-commit.txt---signoff) to append this automatically to your commit message:
|
|
29
|
-
|
|
30
|
-
```bash
|
|
31
|
-
$ git commit -s -m 'This is the commit message'
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
## Reporting an issue
|
|
35
|
-
|
|
36
|
-
This project uses GitLab issues to manage the issues.
|
|
37
|
-
|
|
38
|
-
Before creating an issue:
|
|
39
|
-
|
|
40
|
-
1. upgrade your project to the latest released template version, and check whether your bug is still present,
|
|
41
|
-
2. have a look in the opened issues if your problem is already known/tracked, and possibly contribute to the thread with your own information.
|
|
42
|
-
|
|
43
|
-
If none of the above was met, open an issue directly in GitLab, select the appropriate issue template and fill-in each section when applicable.
|
|
44
|
-
|
|
45
|
-
## Submitting a code change
|
|
46
|
-
|
|
47
|
-
### Git Setup
|
|
48
|
-
|
|
49
|
-
Before contributing, make sure you have set up your Git authorship correctly:
|
|
50
|
-
|
|
51
|
-
```bash
|
|
52
|
-
git config --global user.name "Your Full Name"
|
|
53
|
-
git config --global user.email your.email@example.com
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
### Workflow
|
|
57
|
-
|
|
58
|
-
All submissions, including submissions by project members, need to be reviewed before being merged.
|
|
59
|
-
|
|
60
|
-
To contribute:
|
|
61
|
-
|
|
62
|
-
1. Create an issue describing the bug or enhancement you want to propose (select the right issue template).
|
|
63
|
-
2. Make sure the issue has been reviewed and agreed.
|
|
64
|
-
3. Create a Merge Request, from your **own** fork (see [forking workflow](https://docs.github.com/en/get-started/quickstart/fork-a-repo) documentation).
|
|
65
|
-
Don't hesitate to mark your MR as `Draft` as long as you think it's not ready to be reviewed.
|
|
66
|
-
|
|
67
|
-
### Git Commit Conventions
|
|
68
|
-
|
|
69
|
-
In addition to being signed-off according the [Developer Certificate of Origin](https://developercertificate.org/) (see above),
|
|
70
|
-
Git commits in _UUV_ shall be:
|
|
71
|
-
|
|
72
|
-
1. **atomic** (1 commit `=` 1 and only 1 _thing_),
|
|
73
|
-
2. **semantic** (using [semantic-release commit message syntax](https://semantic-release.gitbook.io/semantic-release/#commit-message-format)).
|
|
74
|
-
3. **pattern**
|
|
75
|
-
- **SCOPE** : one of (UUV, COMMONS, CYPRESS, PLAYWRIGHT, ASSISTANT, EXTENSION, DOCS)
|
|
76
|
-
- ***TYPE*** : one of (FEAT, FIX, TECH, REFACTOR)
|
|
77
|
-
- [**SCOPE**] [***TYPE***] #issue_identifier: commit message
|
|
78
|
-
- Example :
|
|
79
|
-
```bash
|
|
80
|
-
[CYPRESS] [FEAT] #51: upgrade library @badeball/cypress-cucumber-preprocessor version
|
|
81
|
-
```
|
package/dist/README.md
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
# @uuv/runner-cypress
|
|
2
|
-
<p align="center">
|
|
3
|
-
<a href="https://e2e-test-quest.github.io/uuv/">
|
|
4
|
-
<picture>
|
|
5
|
-
<img alt="UUV Logo" src="https://e2e-test-quest.github.io/uuv/img/uuv.png">
|
|
6
|
-
</picture>
|
|
7
|
-
</a>
|
|
8
|
-
</p>
|
|
9
|
-
<p align="center">
|
|
10
|
-
<a href="https://e2e-test-quest.github.io/uuv/"><img src="https://img.shields.io/badge/documentation-black?&style=for-the-badge&logo=github&logoColor=white" alt="documentation"/></a>
|
|
11
|
-
</p>
|
|
12
|
-
|
|
13
|
-
<h3 align="center">
|
|
14
|
-
Test as final user
|
|
15
|
-
</h3>
|
|
16
|
-
|
|
17
|
-
<p align="center">
|
|
18
|
-
Make test writing fast, understandable by any human understanding English or French.
|
|
19
|
-
</p>
|
|
20
|
-
|
|
21
|
-
<p align="center">
|
|
22
|
-
<a href="https://www.npmjs.com/package/@uuv/cypress">
|
|
23
|
-
<img src="https://img.shields.io/badge/available%20on%20npm-grey?logo=npm" alt="npm"/>
|
|
24
|
-
</a>
|
|
25
|
-
<a href="https://www.cypress.io/">
|
|
26
|
-
<img src="https://img.shields.io/badge/tested with-cypress-04C38E?logo=cypress" alt="cypress"/>
|
|
27
|
-
</a>
|
|
28
|
-
<a href="https://testing-library.com/">
|
|
29
|
-
<img src="https://img.shields.io/badge/tested%20with-testing%20library-ED3B3A?logo=testing-library" alt="testing-library"/>
|
|
30
|
-
</a>
|
|
31
|
-
<a href="https://cucumber.io/">
|
|
32
|
-
<img src="https://img.shields.io/badge/tested%20with-cucumber-1dbb68?logo=cucumber" alt="cucumber"/>
|
|
33
|
-
</a><br />
|
|
34
|
-
</p>
|
|
35
|
-
|
|
36
|
-
<div align="center">
|
|
37
|
-
<h4>
|
|
38
|
-
Demo in english
|
|
39
|
-
</h4>
|
|
40
|
-
<a href="https://player.vimeo.com/video/822253247?texttrack=en&h=617306172d&badge=0&autopause=0&player_id=0&app_id=58479" rel="nofollow">
|
|
41
|
-
<img alt="runner-cypress in english" src="https://e2e-test-quest.github.io/uuv/img/cypress/screenshot.png" style="max-width: 100%;" width="75%" height="75%">
|
|
42
|
-
</a>
|
|
43
|
-
<h4>
|
|
44
|
-
Demo in french
|
|
45
|
-
</h4>
|
|
46
|
-
<a href="https://player.vimeo.com/video/822253247?texttrack=fr&h=617306172d&badge=0&autopause=0&player_id=0&app_id=58479" rel="nofollow">
|
|
47
|
-
<img alt="runner-cypress in french" src="https://e2e-test-quest.github.io/uuv/img/cypress/screenshot.png" style="max-width: 100%;" width="75%" height="75%">
|
|
48
|
-
</a>
|
|
49
|
-
</div>
|
|
50
|
-
|
|
51
|
-
## What is @uuv/cypress ?
|
|
52
|
-
|
|
53
|
-
<p align="center">
|
|
54
|
-
|
|
55
|
-
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.
|
|
56
|
-
We can use the cypress engine to run test or playwright with [@uuv/playwright](https://www.npmjs.com/package/@uuv/playwright)
|
|
57
|
-
</p>
|
|
58
|
-
|
|
59
|
-
## Installing
|
|
60
|
-
|
|
61
|
-
<a href="https://e2e-test-quest.github.io/uuv/docs/getting-started/installation#cypress"><img src="https://img.shields.io/badge/Install%20Cypress%20doc-red?&style=for-the-badge&logo=github&logoColor=white" alt="documentation for install uuv cypress"/></a>
|
|
62
|
-
|
|
63
|
-
<a href="https://e2e-test-quest.github.io/uuv/docs/getting-started/configuration"><img src="https://img.shields.io/badge/Configure%20cypress%20doc-red?&style=for-the-badge&logo=github&logoColor=white" alt="documentation for configure uuv cypress"/></a>
|
|
64
|
-
|
|
65
|
-
<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>
|
|
66
|
-
|
|
67
|
-
<a href="https://e2e-test-quest.github.io/uuv/docs/test/running-test"><img src="https://img.shields.io/badge/Run%20test%20doc-red?&style=for-the-badge&logo=github&logoColor=white" alt="documentation for run test"/></a>
|
|
68
|
-
|
|
69
|
-
## License
|
|
70
|
-
|
|
71
|
-
[<a href="https://www.npmjs.com/package/@uuv/cypress">
|
|
72
|
-
<img src="https://img.shields.io/badge/license-Apache%202.0-blue" alt="npm"/>
|
|
73
|
-
</a>](https://www.apache.org/licenses/LICENSE-2.0)
|
|
74
|
-
|
|
75
|
-
This project is licensed under the terms of the [Apache 2.0 license](https://www.apache.org/licenses/LICENSE-2.0).
|