@eclipse-che/che-e2e 7.102.0-next-d171d8d → 7.102.0-next-fd9242b

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 CHANGED
@@ -6,35 +6,24 @@
6
6
 
7
7
  Coding standards offer several advantages, including:
8
8
 
9
- 1. Increase Code Quality: By adhering to coding standards, developers can create code that is more secure, efficient,
10
- maintainable, and uniform. This, in turn, can result in fewer errors and improved overall performance.
9
+ 1. Increase Code Quality: By adhering to coding standards, developers can create code that is more secure, efficient, maintainable, and uniform. This, in turn, can result in fewer errors and improved overall performance.
11
10
 
12
- 2. Improved Readability and Maintainability: Coding standards contribute to code that is more comprehensible and easier
13
- to maintain. Consistently formatted code aids other developers in comprehending and modifying it, saving time and
14
- reducing the likelihood of introducing errors.
11
+ 2. Improved Readability and Maintainability: Coding standards contribute to code that is more comprehensible and easier to maintain. Consistently formatted code aids other developers in comprehending and modifying it, saving time and reducing the likelihood of introducing errors.
15
12
 
16
- 3. Accelerated Development: The adherence to coding standards can expedite the development process. When developers
17
- adhere to a predefined set of guidelines, they can produce code more swiftly and with fewer mistakes. Additionally,
18
- uniform code formatting facilitates the identification and resolution of issues.
13
+ 3. Accelerated Development: The adherence to coding standards can expedite the development process. When developers adhere to a predefined set of guidelines, they can produce code more swiftly and with fewer mistakes. Additionally, uniform code formatting facilitates the identification and resolution of issues.
19
14
 
20
- 4. Better Scalability: Coding standards facilitate the creation of scalable code, simplifying the incorporation of new
21
- features or updates. Consistent coding practices also streamline code maintenance as the codebase expands.
15
+ 4. Better Scalability: Coding standards facilitate the creation of scalable code, simplifying the incorporation of new features or updates. Consistent coding practices also streamline code maintenance as the codebase expands.
22
16
 
23
- 5. Elevated Collaboration and Communication: Uniform guidelines encourage better understanding and manipulation of code
24
- written by fellow developers. This fosters smoother teamwork and facilitates the sharing of code.
17
+ 5. Elevated Collaboration and Communication: Uniform guidelines encourage better understanding and manipulation of code written by fellow developers. This fosters smoother teamwork and facilitates the sharing of code.
25
18
 
26
- 6. Consistency Across Projects: The adoption of coding standards guarantees a consistent coding approach across various
27
- projects. This simplifies the task of upholding code quality, transitioning between tasks, and fostering
28
- collaborative work.
19
+ 6. Consistency Across Projects: The adoption of coding standards guarantees a consistent coding approach across various projects. This simplifies the task of upholding code quality, transitioning between tasks, and fostering collaborative work.
29
20
 
30
21
  ### Automated tools
31
22
 
32
- Automated lint checking and code format performs with ESLint and Prettier tools before every commit using Husky
33
- pre-commit hook.
34
- Full set of rules can be found:
23
+ Automated lint checking and code format performs with ESLint and Prettier tools before every commit using Husky pre-commit hook. Full set of rules can be found:
35
24
 
36
- - [.eslintrc](.eslintrc.js)
37
- - [.prettierrc](.prettierrc.json)
25
+ - [.eslintrc](.eslintrc.js)
26
+ - [.prettierrc](.prettierrc.json)
38
27
 
39
28
  ### Preferable code style
40
29
 
package/README.md CHANGED
@@ -2,33 +2,33 @@
2
2
 
3
3
  ## Requirements
4
4
 
5
- - node 16.x
6
- - "Chrome" browser 114.x or later
7
- - deployed Che 7 with accessible URL
5
+ - node 16.x
6
+ - "Chrome" browser 114.x or later
7
+ - deployed Che 7 with accessible URL
8
8
 
9
9
  ## Before launch
10
10
 
11
11
  **Perform commands:**
12
12
 
13
- - `export TS_SELENIUM_BASE_URL=<Che7 URL>`
14
- - `npm ci`
13
+ - `export TS_SELENIUM_BASE_URL=<Che7 URL>`
14
+ - `npm ci`
15
15
 
16
16
  Note: If there is any modifications in package.json, manually execute the `npm install` to update the package-lock.json. So that errors can be avoided while executing npm ci
17
17
 
18
18
  ## Default launch
19
19
 
20
- - Provide connection credentials:
21
- - `export TS_SELENIUM_OCP_USERNAME=<username>`
22
- - `export TS_SELENIUM_OCP_PASSWORD=<password>`
23
- - `npm run test`
20
+ - Provide connection credentials:
21
+ - `export TS_SELENIUM_OCP_USERNAME=<username>`
22
+ - `export TS_SELENIUM_OCP_PASSWORD=<password>`
23
+ - `npm run test`
24
24
 
25
25
  ## Custom launch
26
26
 
27
- - Use environment variables which described in the "constants" folder
28
- - Use environment variables for setting timeouts if needed. You can see the list in **`'TimeoutConstants.ts'`**. You can see the list of those variables and their value if you set the `'TS_SELENIUM_PRINT_TIMEOUT_VARIABLES = true'`
29
- - To test one specification export file name as `export USERSTORY=<spec-file-name-without-extension> && npm run test` (example: `-e USERSTORY=Quarkus`)
30
- - To run test without Selenium WebDriver (API tests etc.) use `export USERSTORY=<spec-file-name-without-extension> && npm run driver-less-test` (example: `-e USERSTORY=CloneGitRepoAPI`)
31
- - This project support application testing deployed on Kubernetes or Openshift platform. Openshift is default value. To switch into Kubernetes, please, use `TS_PLATFORM=kubernetes` environmental variable and `TS_SELENIUM_K8S_PASSWORD`, `TS_SELENIUM_K8S_USERNAME` to provide credentials. The sample of test command in this case:
27
+ - Use environment variables which described in the "constants" folder
28
+ - Use environment variables for setting timeouts if needed. You can see the list in **`'TimeoutConstants.ts'`**. You can see the list of those variables and their value if you set the `'TS_SELENIUM_PRINT_TIMEOUT_VARIABLES = true'`
29
+ - To test one specification export file name as `export USERSTORY=<spec-file-name-without-extension> && npm run test` (example: `-e USERSTORY=Quarkus`)
30
+ - To run test without Selenium WebDriver (API tests etc.) use `export USERSTORY=<spec-file-name-without-extension> && npm run driver-less-test` (example: `-e USERSTORY=CloneGitRepoAPI`)
31
+ - This project support application testing deployed on Kubernetes or Openshift platform. Openshift is default value. To switch into Kubernetes, please, use `TS_PLATFORM=kubernetes` environmental variable and `TS_SELENIUM_K8S_PASSWORD`, `TS_SELENIUM_K8S_USERNAME` to provide credentials. The sample of test command in this case:
32
32
  ```
33
33
  export TS_PLATFORM=kubernetes && \
34
34
  export TS_SELENIUM_K8S_USERNAME=<username> && \
@@ -37,21 +37,21 @@ Note: If there is any modifications in package.json, manually execute the `npm i
37
37
  npm run test
38
38
  ```
39
39
  Also, environmental variables can be set in files in "constants" folder.
40
- - Local test results can be represented with Allure reporter `npm run open-allure-dasboard`
40
+ - Local test results can be represented with Allure reporter `npm run open-allure-dasboard`
41
41
 
42
42
  ## Docker launch
43
43
 
44
- - open terminal and go to the "e2e" directory
45
- - export the `"TS_SELENIUM_BASE_URL"` variable with "Che" url
46
- - run command `"npm run test-docker"`
44
+ - open terminal and go to the "e2e" directory
45
+ - export the `"TS_SELENIUM_BASE_URL"` variable with "Che" url
46
+ - run command `"npm run test-docker"`
47
47
 
48
48
  ## Docker launch with changed tests
49
49
 
50
50
  **For launching tests with local changes perform next steps:**
51
51
 
52
- - open terminal and go to the "e2e" directory
53
- - export the `"TS_SELENIUM_BASE_URL"` variable with "Che" url
54
- - run command `"npm run test-docker-mount-e2e"`
52
+ - open terminal and go to the "e2e" directory
53
+ - export the `"TS_SELENIUM_BASE_URL"` variable with "Che" url
54
+ - run command `"npm run test-docker-mount-e2e"`
55
55
 
56
56
  ## Debug docker launch
57
57
 
@@ -59,30 +59,28 @@ The `'eclipse/che-e2e'` docker image has VNC server installed inside. For connec
59
59
 
60
60
  ## The "Happy Path" scenario launching
61
61
 
62
- **The easiest way to do that is to perform steps which are described in the "Docker launch" paragraph.
63
- For running tests without docker, please perform next steps:**
62
+ **The easiest way to do that is to perform steps which are described in the "Docker launch" paragraph. For running tests without docker, please perform next steps:**
64
63
 
65
- - Deploy Che on Kubernetes infrastructure by using 'Minikube' and 'Chectl' <https://github.com/eclipse-che/che-server/blob/HEAD/deploy/kubernetes/README.md>
66
- - Create workspace by using 'Chectl' and devfile
67
- - link to 'Chectl' manual <https://github.com/che-incubator/chectl#chectl-workspacestart>
68
- - link to devfile ( **`For successfull test passing, exactly provided devfile should be used`** )
69
- <https://gist.githubusercontent.com/Ohrimenko1988/93f5426f4ebc1705c55feb8ff0396a49/raw/cbea89ad145ba33ed34a151a12c50f045f9f3b78/yaml-ls-bug.yaml>
70
- - Provide the **`'TS_SELENIUM_BASE_URL'`** environment variable as described above
71
- - export TS_SELENIUM_HAPPY_PATH_WORKSPACE_NAME=EmptyWorkspace (default value, see BASE_TEST_CONSTANTS.ts)
72
- - perform command **`export USERSTORY=$TS_SELENIUM_HAPPY_PATH_WORKSPACE_NAME && npm run test-all-devfiles`**
64
+ - Deploy Che on Kubernetes infrastructure by using 'Minikube' and 'Chectl' <https://github.com/eclipse-che/che-server/blob/HEAD/deploy/kubernetes/README.md>
65
+ - Create workspace by using 'Chectl' and devfile
66
+ - link to 'Chectl' manual <https://github.com/che-incubator/chectl#chectl-workspacestart>
67
+ - link to devfile ( **`For successfull test passing, exactly provided devfile should be used`** ) <https://gist.githubusercontent.com/Ohrimenko1988/93f5426f4ebc1705c55feb8ff0396a49/raw/cbea89ad145ba33ed34a151a12c50f045f9f3b78/yaml-ls-bug.yaml>
68
+ - Provide the **`'TS_SELENIUM_BASE_URL'`** environment variable as described above
69
+ - export TS_SELENIUM_HAPPY_PATH_WORKSPACE_NAME=EmptyWorkspace (default value, see BASE_TEST_CONSTANTS.ts)
70
+ - perform command **`export USERSTORY=$TS_SELENIUM_HAPPY_PATH_WORKSPACE_NAME && npm run test-all-devfiles`**
73
71
 
74
72
  ## Launching the DevWorkspaceHappyPath spec file using Che with oauth authentication
75
73
 
76
74
  **Setup next environment variables:**
77
75
 
78
- - export TS_SELENIUM_BASE_URL=\<Che-URL\>
79
- - export TS_SELENIUM_OCP_USERNAME=\<cluster-username\>
80
- - export TS_SELENIUM_OCP_PASSWORD=\<cluster-password\>
81
- - export TS_SELENIUM_VALUE_OPENSHIFT_OAUTH="true"
82
- - export TS_OCP_LOGIN_PAGE_PROVIDER_TITLE=\<login-provide-title\>
83
- - export TS_SELENIUM_DEVWORKSPACE_URL=\<devworkspace-url\>
84
- - export TS_SELENIUM_HAPPY_PATH_WORKSPACE_NAME=EmptyWorkspace (default value, see BASE_TEST_CONSTANTS.ts)
76
+ - export TS_SELENIUM_BASE_URL=\<Che-URL\>
77
+ - export TS_SELENIUM_OCP_USERNAME=\<cluster-username\>
78
+ - export TS_SELENIUM_OCP_PASSWORD=\<cluster-password\>
79
+ - export TS_SELENIUM_VALUE_OPENSHIFT_OAUTH="true"
80
+ - export TS_OCP_LOGIN_PAGE_PROVIDER_TITLE=\<login-provide-title\>
81
+ - export TS_SELENIUM_DEVWORKSPACE_URL=\<devworkspace-url\>
82
+ - export TS_SELENIUM_HAPPY_PATH_WORKSPACE_NAME=EmptyWorkspace (default value, see BASE_TEST_CONSTANTS.ts)
85
83
 
86
84
  **Execute the npm command:**
87
85
 
88
- - perform command `export USERSTORY=$TS_SELENIUM_HAPPY_PATH_WORKSPACE_NAME && npm run test-all-devfiles`
86
+ - perform command `export USERSTORY=$TS_SELENIUM_HAPPY_PATH_WORKSPACE_NAME && npm run test-all-devfiles`
@@ -119,6 +119,7 @@ let TestWorkspaceUtil = class TestWorkspaceUtil {
119
119
  break;
120
120
  }
121
121
  }
122
+ await this.driverHelper.wait(this.polling);
122
123
  }
123
124
  if (!deleteWorkspaceStatus) {
124
125
  const waitTime = this.attempts * this.polling;
@@ -1 +1 @@
1
- {"version":3,"file":"TestWorkspaceUtil.js","sourceRoot":"","sources":["../../../utils/workspace/TestWorkspaceUtil.ts"],"names":[],"mappings":";AAAA;;;;;;;;wEAQwE;;;;;;;;;;;;;;;;;;AAExE,4BAA0B;AAC1B,yCAA+C;AAC/C,kDAA+C;AAC/C,uDAAoD;AACpD,2DAA2C;AAC3C,mFAAgF;AAChF,mEAAwD;AACxD,sCAAmC;AACnC,kDAA6C;AAE7C,qDAAkD;AAClD,yEAAsE;AAG/D,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAI7B,YAEkB,YAA0B,EAE1B,qBAA2C,EAE3C,cAA8B;QAJ9B,iBAAY,GAAZ,YAAY,CAAc;QAE1B,0BAAqB,GAArB,qBAAqB,CAAsB;QAE3C,mBAAc,GAAd,cAAc,CAAgB;QATvC,YAAO,GAAW,qCAAiB,CAAC,2BAA2B,CAAC;QAChE,aAAQ,GAAW,qCAAiB,CAAC,mCAAmC,GAAG,IAAI,CAAC,OAAO,CAAC;IAS9F,CAAC;IAEJ,KAAK,CAAC,mBAAmB,CA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IAAI,CAAC,CAAC;SACvE;IACF,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,kCAAkC;QACvC,MAAM,kBAAkB,GACvB,kCAAkC;YAClC,+NAA+N;YAC/N,wEAAwE;YACxE,2CAA2C;YAC3C,6DAA6D;YAC7D,4EAA4E;YAC5E,sDAAsD;YACtD,sEAAsE;YACtE,6EAA6E;YAC7E,2DAA2D;YAC3D,wBAAwB;YACxB,2EAA2E;YAC3E,kDAAkD;YAClD,oFAAoF;YACpF,WAAW;YACX,iEAAiE;YACjE,SAAS;YACT,OAAO;YACP,sBAAsB,CAAC;QACxB,MAAM,IAAI,CAAC,YAAY,CAAC,SAAS,EAAE,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;IACvE,CAAC;CACD,CAAA;AAlLY,iBAAiB;IAD7B,IAAA,sBAAU,GAAE;IAMV,WAAA,IAAA,kBAAM,EAAC,yBAAO,CAAC,YAAY,CAAC,CAAA;IAE5B,WAAA,IAAA,kBAAM,EAAC,yBAAO,CAAC,oBAAoB,CAAC,CAAA;IAEpC,WAAA,IAAA,kBAAM,EAAC,yBAAO,CAAC,cAAc,CAAC,CAAA;qCAHA,2BAAY;QAEH,2CAAoB;QAE3B,+BAAc;GAVpC,iBAAiB,CAkL7B;AAlLY,8CAAiB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eclipse-che/che-e2e",
3
- "version": "7.102.0-next-d171d8d",
3
+ "version": "7.102.0-next-fd9242b",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -54,7 +54,7 @@
54
54
  "mocha-junit-reporter": "^2.2.1",
55
55
  "mocha-multi-reporters": "^1.5.1",
56
56
  "monaco-page-objects": "3.9.1",
57
- "prettier": "^3.0.2",
57
+ "prettier": "^3.4.0",
58
58
  "rimraf": "2.6.2",
59
59
  "selenium-webdriver": "4.6.1",
60
60
  "shelljs": "^0.8.5",
@@ -124,6 +124,7 @@ export class TestWorkspaceUtil implements ITestWorkspaceUtil {
124
124
  break;
125
125
  }
126
126
  }
127
+ await this.driverHelper.wait(this.polling);
127
128
  }
128
129
 
129
130
  if (!deleteWorkspaceStatus) {