@uuv/runner-commons 1.5.1 → 1.6.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.
package/CHANGELOG.md
CHANGED
|
@@ -1,76 +1,96 @@
|
|
|
1
|
-
## [1.
|
|
1
|
+
## [1.6.1](https://github.com/Orange-OpenSource/uuv/compare/runner-commons-v1.6.0...runner-commons-v1.6.1) (2023-08-09)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
* **deps:** update dependency
|
|
7
|
-
* **deps:** update dependency @cypress/webpack-preprocessor to v5.17.1 ([9570e56](https://github.com/e2e-test-quest/uuv/commit/9570e5689387a2c770994576d779a34ff242ca76))
|
|
8
|
-
* **deps:** update dependency antd to v5.7.3 ([452fc3c](https://github.com/e2e-test-quest/uuv/commit/452fc3c3861509e8aba46b3efa248f365bbfb747))
|
|
9
|
-
* **deps:** update dependency axe-core to v4.7.2 ([965b9dc](https://github.com/e2e-test-quest/uuv/commit/965b9dcb1445c369c770ed056ab990e3f966197b))
|
|
10
|
-
* **deps:** update dependency cypress to v12.17.2 ([49a3012](https://github.com/e2e-test-quest/uuv/commit/49a3012f7ebf0e6ecc879d21ff86147938967607))
|
|
11
|
-
* **deps:** update dependency nanoid to v3.3.6 ([82fa0c3](https://github.com/e2e-test-quest/uuv/commit/82fa0c31207a9004a8b365fe0e92fcaac38e1be3))
|
|
12
|
-
* **deps:** update docusaurus monorepo to v2.4.1 ([9c0f5fb](https://github.com/e2e-test-quest/uuv/commit/9c0f5fb6a641f54fc97d0940acfebdfb5106a790))
|
|
6
|
+
* **deps:** update dependency cypress to v12.17.3 ([35c812b](https://github.com/Orange-OpenSource/uuv/commit/35c812bdabd1a3a2d27e972d3bb5c9323497c449))
|
|
13
7
|
|
|
14
|
-
# [1.
|
|
8
|
+
# [1.6.0](https://github.com/Orange-OpenSource/uuv/compare/runner-commons-v1.5.1...runner-commons-v1.6.0) (2023-07-31)
|
|
15
9
|
|
|
16
10
|
|
|
17
11
|
### Bug Fixes
|
|
18
12
|
|
|
19
|
-
*
|
|
13
|
+
* correct link markdown not formated, [#164](https://github.com/Orange-OpenSource/uuv/issues/164) ([470e6b6](https://github.com/Orange-OpenSource/uuv/commit/470e6b6b07ef43261d14b0e8986cac304daf29d8))
|
|
20
14
|
|
|
21
15
|
|
|
22
16
|
### Features
|
|
23
17
|
|
|
24
|
-
*
|
|
25
|
-
*
|
|
18
|
+
* add accessibility sentences, [#164](https://github.com/Orange-OpenSource/uuv/issues/164) ([e55b2c6](https://github.com/Orange-OpenSource/uuv/commit/e55b2c647bec100294794fe34dabe582d2561643))
|
|
19
|
+
* add accessibility tab and arrows, [#166](https://github.com/Orange-OpenSource/uuv/issues/166) ([9b926cd](https://github.com/Orange-OpenSource/uuv/commit/9b926cd322049860a5f06810027dbeb7efe6d795))
|
|
26
20
|
|
|
27
|
-
## [1.
|
|
21
|
+
## [1.5.1](https://github.com/Orange-OpenSource/uuv/compare/runner-commons-v1.5.0...runner-commons-v1.5.1) (2023-07-30)
|
|
28
22
|
|
|
29
23
|
|
|
30
24
|
### Bug Fixes
|
|
31
25
|
|
|
32
|
-
* **
|
|
26
|
+
* **deps:** update dependency @cucumber/cucumber to v9.3.0 ([212250b](https://github.com/Orange-OpenSource/uuv/commit/212250be47e040e34de18af33986a1f26f7b00a2))
|
|
27
|
+
* **deps:** update dependency @cypress/webpack-preprocessor to v5.17.1 ([9570e56](https://github.com/Orange-OpenSource/uuv/commit/9570e5689387a2c770994576d779a34ff242ca76))
|
|
28
|
+
* **deps:** update dependency antd to v5.7.3 ([452fc3c](https://github.com/Orange-OpenSource/uuv/commit/452fc3c3861509e8aba46b3efa248f365bbfb747))
|
|
29
|
+
* **deps:** update dependency axe-core to v4.7.2 ([965b9dc](https://github.com/Orange-OpenSource/uuv/commit/965b9dcb1445c369c770ed056ab990e3f966197b))
|
|
30
|
+
* **deps:** update dependency cypress to v12.17.2 ([49a3012](https://github.com/Orange-OpenSource/uuv/commit/49a3012f7ebf0e6ecc879d21ff86147938967607))
|
|
31
|
+
* **deps:** update dependency nanoid to v3.3.6 ([82fa0c3](https://github.com/Orange-OpenSource/uuv/commit/82fa0c31207a9004a8b365fe0e92fcaac38e1be3))
|
|
32
|
+
* **deps:** update docusaurus monorepo to v2.4.1 ([9c0f5fb](https://github.com/Orange-OpenSource/uuv/commit/9c0f5fb6a641f54fc97d0940acfebdfb5106a790))
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
# [1.5.0](https://github.com/Orange-OpenSource/uuv/compare/runner-commons-v1.4.2...runner-commons-v1.5.0) (2023-07-02)
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
### Bug Fixes
|
|
38
38
|
|
|
39
|
-
* **assistant:**
|
|
40
|
-
* release 1.4.0 package.json and rchangelog was not updated, [#117](https://github.com/e2e-test-quest/uuv/issues/117) ([cd7723d](https://github.com/e2e-test-quest/uuv/commit/cd7723d6d790dd5fd928a5d9d41bfd075159378a))
|
|
41
|
-
* remove explicit plugin @semantic-release/git and just set commit message, [#117](https://github.com/e2e-test-quest/uuv/issues/117) ([ac1f818](https://github.com/e2e-test-quest/uuv/commit/ac1f8188cccbcb224acb15180cd0bd131aaa6cd1))
|
|
39
|
+
* **assistant:** moving test app in component ([5bdc75b](https://github.com/Orange-OpenSource/uuv/commit/5bdc75b9ae4aec75f7a944513af0d57a4107cefd))
|
|
42
40
|
|
|
43
|
-
|
|
41
|
+
|
|
42
|
+
### Features
|
|
43
|
+
|
|
44
|
+
* **assistant:** setting up electron, fixes [#132](https://github.com/Orange-OpenSource/uuv/issues/132) ([6d6e99c](https://github.com/Orange-OpenSource/uuv/commit/6d6e99cbbdb498e1d5f24a0386e52ae38fa1b161))
|
|
45
|
+
* setup assistant-electron package, [#132](https://github.com/Orange-OpenSource/uuv/issues/132) ([76d69c2](https://github.com/Orange-OpenSource/uuv/commit/76d69c2b5d311b40cb42c9511d224d7911133e10))
|
|
46
|
+
|
|
47
|
+
## [1.4.2](https://github.com/Orange-OpenSource/uuv/compare/runner-commons-v1.4.1...runner-commons-v1.4.2) (2023-05-29)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
### Bug Fixes
|
|
51
|
+
|
|
52
|
+
* **runner-playwright:** regenerate package-lock.json to fix lint, [#109](https://github.com/Orange-OpenSource/uuv/issues/109) ([70044df](https://github.com/Orange-OpenSource/uuv/commit/70044dfd9efb2c6776a85cadd18966610d2d61f2))
|
|
53
|
+
|
|
54
|
+
## [1.4.1](https://github.com/Orange-OpenSource/uuv/compare/runner-commons-v1.4.0...runner-commons-v1.4.1) (2023-05-19)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
### Bug Fixes
|
|
58
|
+
|
|
59
|
+
* **assistant:** fix assistant css problem, [#120](https://github.com/Orange-OpenSource/uuv/issues/120) ([026d66a](https://github.com/Orange-OpenSource/uuv/commit/026d66ad6ad7e9090282f1734335c5a7b1e417c6))
|
|
60
|
+
* release 1.4.0 package.json and rchangelog was not updated, [#117](https://github.com/Orange-OpenSource/uuv/issues/117) ([cd7723d](https://github.com/Orange-OpenSource/uuv/commit/cd7723d6d790dd5fd928a5d9d41bfd075159378a))
|
|
61
|
+
* remove explicit plugin @semantic-release/git and just set commit message, [#117](https://github.com/Orange-OpenSource/uuv/issues/117) ([ac1f818](https://github.com/Orange-OpenSource/uuv/commit/ac1f8188cccbcb224acb15180cd0bd131aaa6cd1))
|
|
62
|
+
|
|
63
|
+
# [1.4.0](https://github.com/Orange-OpenSource/uuv/compare/runner-commons-v1.3.3...runner-commons-v1.4.0) (2023-05-16)
|
|
44
64
|
|
|
45
65
|
### Bug Fixes
|
|
46
66
|
|
|
47
|
-
* **runner-commons:** restructure documentation, [#112](https://github.com/
|
|
67
|
+
* **runner-commons:** restructure documentation, [#112](https://github.com/Orange-OpenSource/uuv/issues/112) ([f5db612](https://github.com/Orange-OpenSource/uuv/commit/f5db612da3c31d2e6f4a3f647546167ebcbddaa5))
|
|
48
68
|
|
|
49
69
|
### Features
|
|
50
70
|
|
|
51
|
-
* **runner-playwright:** add error details and screenshot to report, fixes [#110](https://github.com/
|
|
71
|
+
* **runner-playwright:** add error details and screenshot to report, fixes [#110](https://github.com/Orange-OpenSource/uuv/issues/110) ([3c4a3cd](https://github.com/Orange-OpenSource/uuv/commit/3c4a3cd192b90242dd07bbdc4bb3ece780ee0c40))
|
|
52
72
|
|
|
53
|
-
## [1.3.3](https://github.com/
|
|
73
|
+
## [1.3.3](https://github.com/Orange-OpenSource/uuv/compare/runner-commons-v1.3.2...runner-commons-v1.3.3) (2023-05-15)
|
|
54
74
|
|
|
55
75
|
|
|
56
76
|
### Bug Fixes
|
|
57
77
|
|
|
58
|
-
* **runner-playwright:** fix workspace lint during ci, [#108](https://github.com/
|
|
78
|
+
* **runner-playwright:** fix workspace lint during ci, [#108](https://github.com/Orange-OpenSource/uuv/issues/108) ([a3ac0d6](https://github.com/Orange-OpenSource/uuv/commit/a3ac0d68d27c34f36237b6f74b94e160b7cde9b8))
|
|
59
79
|
|
|
60
|
-
## [1.3.2](https://github.com/
|
|
80
|
+
## [1.3.2](https://github.com/Orange-OpenSource/uuv/compare/runner-commons-v1.3.1...runner-commons-v1.3.2) (2023-05-11)
|
|
61
81
|
|
|
62
82
|
|
|
63
83
|
### Bug Fixes
|
|
64
84
|
|
|
65
|
-
* **runner-playwright:** update @cucumber/cucumber dep version, [#93](https://github.com/
|
|
85
|
+
* **runner-playwright:** update @cucumber/cucumber dep version, [#93](https://github.com/Orange-OpenSource/uuv/issues/93) ([a891a70](https://github.com/Orange-OpenSource/uuv/commit/a891a70daad1cb5d7d34f25097a31d89f92b92c6))
|
|
66
86
|
|
|
67
|
-
## [1.3.1](https://github.com/
|
|
87
|
+
## [1.3.1](https://github.com/Orange-OpenSource/uuv/compare/runner-commons-v1.3.0...runner-commons-v1.3.1) (2023-05-09)
|
|
68
88
|
|
|
69
89
|
|
|
70
90
|
### Bug Fixes
|
|
71
91
|
|
|
72
|
-
* **runner-commons:** fix npm documentation, [#87](https://github.com/
|
|
73
|
-
* **runner-commons:** modify keyword for npmjs, [#87](https://github.com/
|
|
92
|
+
* **runner-commons:** fix npm documentation, [#87](https://github.com/Orange-OpenSource/uuv/issues/87) ([ba7394c](https://github.com/Orange-OpenSource/uuv/commit/ba7394cd755e350fd5a5964aed26435e5979e77d))
|
|
93
|
+
* **runner-commons:** modify keyword for npmjs, [#87](https://github.com/Orange-OpenSource/uuv/issues/87) ([392c4d0](https://github.com/Orange-OpenSource/uuv/commit/392c4d0337179dae2c2a96c26dc2cc32e0ad87b3))
|
|
74
94
|
|
|
75
95
|
# Change Log
|
|
76
96
|
All notable changes to this project will be documented in this file.
|
|
@@ -81,9 +101,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
81
101
|
## [1.2.0-beta-20230424] - 2023-04-24
|
|
82
102
|
|
|
83
103
|
### Added
|
|
84
|
-
- [#4](https://github.com/
|
|
104
|
+
- [#4](https://github.com/Orange-OpenSource/uuv/issues/4)
|
|
85
105
|
MINOR Amélioration du scoring npm
|
|
86
|
-
- [#3](https://github.com/
|
|
106
|
+
- [#3](https://github.com/Orange-OpenSource/uuv/issues/3)
|
|
87
107
|
MAJOR Initialisation du pipeline
|
|
88
|
-
- [#1](https://github.com/
|
|
108
|
+
- [#1](https://github.com/Orange-OpenSource/uuv/issues/1)
|
|
89
109
|
MAJOR Rajout de la licence Apache 2.0
|
package/CONTRIBUTING.md
CHANGED
|
@@ -5,7 +5,7 @@ We try to make it easy, and all contributions, even the smaller ones, are more t
|
|
|
5
5
|
This includes bug reports, fixes, documentation, examples...
|
|
6
6
|
But first, read this page (including the small print at the end).
|
|
7
7
|
|
|
8
|
-
Contributions are available on https://github.com/
|
|
8
|
+
Contributions are available on https://github.com/Orange-OpenSource/uuv
|
|
9
9
|
|
|
10
10
|
## Legal
|
|
11
11
|
|
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
# @uuv/runner-commons
|
|
3
3
|
<p align="center">
|
|
4
|
-
<a href="https://
|
|
4
|
+
<a href="https://orange-opensource.github.io/uuv/">
|
|
5
5
|
<picture>
|
|
6
|
-
<img alt="UUV Logo" src="https://
|
|
6
|
+
<img alt="UUV Logo" src="https://orange-opensource.github.io/uuv/img/uuv.png">
|
|
7
7
|
</picture>
|
|
8
8
|
</a>
|
|
9
9
|
</p>
|
|
@@ -38,7 +38,7 @@ We can use the cypress engine with [@uuv/cypress](https://www.npmjs.com/package/
|
|
|
38
38
|
</p>
|
|
39
39
|
|
|
40
40
|
## Documentation
|
|
41
|
-
<a href="https://
|
|
41
|
+
<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>
|
|
42
42
|
|
|
43
43
|
## Usage
|
|
44
44
|
This library may not be downloaded directly. Please pass by [@uuv/cypress](https://www.npmjs.com/package/@uuv/cypress) or [@uuv/playwright](https://www.npmjs.com/package/@uuv/playwright)
|
|
@@ -46,11 +46,11 @@ or [@uuv/assistant](https://www.npmjs.com/package/@uuv/assistant).
|
|
|
46
46
|
|
|
47
47
|
## License
|
|
48
48
|
|
|
49
|
-
[<a href="https://github.com/
|
|
49
|
+
[<a href="https://github.com/Orange-OpenSource/uuv/blob/main/LICENSE">
|
|
50
50
|
<img src="https://img.shields.io/badge/license-MIT-blue" alt="MIT license"/>
|
|
51
51
|
</a>](https://spdx.org/licenses/MIT.html)
|
|
52
52
|
|
|
53
|
-
This project is licensed under the terms of the [MIT license](https://github.com/
|
|
53
|
+
This project is licensed under the terms of the [MIT license](https://github.com/Orange-OpenSource/uuv/blob/main/LICENSE).
|
|
54
54
|
|
|
55
55
|
## Authors
|
|
56
56
|
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
"visit": "",
|
|
4
4
|
"click": "",
|
|
5
5
|
"type": "",
|
|
6
|
+
"keyboard": {
|
|
7
|
+
"multiplePress": "",
|
|
8
|
+
"press": ""
|
|
9
|
+
},
|
|
6
10
|
"timeout": "",
|
|
7
11
|
"withinElement": {
|
|
8
12
|
"roleAndName": "",
|
|
@@ -58,7 +62,14 @@
|
|
|
58
62
|
"withValues": ""
|
|
59
63
|
},
|
|
60
64
|
"a11y": {
|
|
61
|
-
"check":
|
|
65
|
+
"check": {
|
|
66
|
+
"default": "",
|
|
67
|
+
"withFixtureOption": "",
|
|
68
|
+
"withFixtureContextAndFixtureOption": "",
|
|
69
|
+
"onlyCritical": "",
|
|
70
|
+
"withImpacts": "",
|
|
71
|
+
"withTags": ""
|
|
72
|
+
}
|
|
62
73
|
}
|
|
63
74
|
}
|
|
64
75
|
}
|
|
@@ -31,6 +31,14 @@ export declare enum STEP_DEFINITION_FILE_NAME {
|
|
|
31
31
|
BASE = "base-check-engine",
|
|
32
32
|
BY_ROLE = "based-role-check-engine"
|
|
33
33
|
}
|
|
34
|
+
export declare enum KEY_PRESS {
|
|
35
|
+
TAB = "{tab}",
|
|
36
|
+
REVERSE_TAB = "{reverseTab}",
|
|
37
|
+
UP = "{up}",
|
|
38
|
+
DOWN = "{down}",
|
|
39
|
+
LEFT = "{left}",
|
|
40
|
+
RIGHT = "{right}"
|
|
41
|
+
}
|
|
34
42
|
export declare class Common {
|
|
35
43
|
static buildDirIfNotExists(directory: string): void;
|
|
36
44
|
static cleanGeneratedFilesIfExists(generatedFile: string): void;
|
|
@@ -17,7 +17,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
17
17
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
exports.Common = exports.STEP_DEFINITION_FILE_NAME = exports.TEST_RUNNER_ENUM = exports.GenerateFileProcessing = exports.fs = void 0;
|
|
20
|
+
exports.Common = exports.KEY_PRESS = exports.STEP_DEFINITION_FILE_NAME = exports.TEST_RUNNER_ENUM = exports.GenerateFileProcessing = exports.fs = void 0;
|
|
21
21
|
const fs_1 = __importDefault(require("fs"));
|
|
22
22
|
exports.fs = fs_1.default;
|
|
23
23
|
class GenerateFileProcessing {
|
|
@@ -41,6 +41,15 @@ var STEP_DEFINITION_FILE_NAME;
|
|
|
41
41
|
STEP_DEFINITION_FILE_NAME["BASE"] = "base-check-engine";
|
|
42
42
|
STEP_DEFINITION_FILE_NAME["BY_ROLE"] = "based-role-check-engine";
|
|
43
43
|
})(STEP_DEFINITION_FILE_NAME = exports.STEP_DEFINITION_FILE_NAME || (exports.STEP_DEFINITION_FILE_NAME = {}));
|
|
44
|
+
var KEY_PRESS;
|
|
45
|
+
(function (KEY_PRESS) {
|
|
46
|
+
KEY_PRESS["TAB"] = "{tab}";
|
|
47
|
+
KEY_PRESS["REVERSE_TAB"] = "{reverseTab}";
|
|
48
|
+
KEY_PRESS["UP"] = "{up}";
|
|
49
|
+
KEY_PRESS["DOWN"] = "{down}";
|
|
50
|
+
KEY_PRESS["LEFT"] = "{left}";
|
|
51
|
+
KEY_PRESS["RIGHT"] = "{right}";
|
|
52
|
+
})(KEY_PRESS = exports.KEY_PRESS || (exports.KEY_PRESS = {}));
|
|
44
53
|
class Common {
|
|
45
54
|
static buildDirIfNotExists(directory) {
|
|
46
55
|
console.log(`[CREATE] ${directory} CREATE successfully`);
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uuv/runner-commons",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.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 common lib for uuv",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
|
-
"url": "https://github.com/
|
|
10
|
+
"url": "https://github.com/Orange-OpenSource/uuv"
|
|
11
11
|
},
|
|
12
|
-
"homepage": "https://
|
|
12
|
+
"homepage": "https://orange-opensource.github.io/uuv/",
|
|
13
13
|
"keywords": [
|
|
14
14
|
"uuv",
|
|
15
15
|
"e2e",
|