@eclipse-che/che-e2e 7.110.0-next-73eeef8 → 7.110.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/CODE_STYLE.md +0 -5
- package/package.json +3 -2
package/CODE_STYLE.md
CHANGED
|
@@ -28,7 +28,6 @@ Automated lint checking and code format performs with ESLint and Prettier tools
|
|
|
28
28
|
### Preferable code style
|
|
29
29
|
|
|
30
30
|
1. Page-object and util classes
|
|
31
|
-
|
|
32
31
|
1. ✔ Class declaration using dependency injection (inversify library)
|
|
33
32
|
|
|
34
33
|
```
|
|
@@ -38,7 +37,6 @@ Automated lint checking and code format performs with ESLint and Prettier tools
|
|
|
38
37
|
```
|
|
39
38
|
|
|
40
39
|
2. Public methods
|
|
41
|
-
|
|
42
40
|
- ✔ Declare public methods without "public "keyword
|
|
43
41
|
- ✔ Add Logger.debug() inside method to log its name (with optional message)
|
|
44
42
|
|
|
@@ -51,7 +49,6 @@ Automated lint checking and code format performs with ESLint and Prettier tools
|
|
|
51
49
|
```
|
|
52
50
|
|
|
53
51
|
3. Locators
|
|
54
|
-
|
|
55
52
|
- ✔ For static locators - private static readonly fields type of By
|
|
56
53
|
|
|
57
54
|
```
|
|
@@ -105,7 +102,6 @@ Automated lint checking and code format performs with ESLint and Prettier tools
|
|
|
105
102
|
```
|
|
106
103
|
|
|
107
104
|
2. Mocha framework
|
|
108
|
-
|
|
109
105
|
- ✔ TDD framework (`suite()`, `test()`)
|
|
110
106
|
- ✔ Inject class instances, declare all test data inside test `suit()` function to avoid unnecessary code execution if test suit will not be run
|
|
111
107
|
|
|
@@ -122,7 +118,6 @@ Automated lint checking and code format performs with ESLint and Prettier tools
|
|
|
122
118
|
- ✔ Use test [./constants](constants) to make test flexible
|
|
123
119
|
|
|
124
120
|
3. Packages
|
|
125
|
-
|
|
126
121
|
1. Add packages as dev dependencies
|
|
127
122
|
2. If any changes re-create package-lock.json before push
|
|
128
123
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eclipse-che/che-e2e",
|
|
3
|
-
"version": "7.110.0
|
|
3
|
+
"version": "7.110.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -66,7 +66,8 @@
|
|
|
66
66
|
"dependencies": {
|
|
67
67
|
"@eclipse-che/api": "latest",
|
|
68
68
|
"inversify": "6.0.1",
|
|
69
|
-
"reflect-metadata": "0.1.13"
|
|
69
|
+
"reflect-metadata": "0.1.13",
|
|
70
|
+
"@eclipse-che/che-devworkspace-generator": "7.110.0"
|
|
70
71
|
},
|
|
71
72
|
"resolutions": {
|
|
72
73
|
"minimist": "^1.2.5"
|