@eclipse-che/che-e2e 7.56.1-dev-9775650 → 7.56.1-dev-6dff8fe

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 (103) hide show
  1. package/TestConstants.ts +6 -1
  2. package/build/dockerfiles/Dockerfile +4 -3
  3. package/dist/TestConstants.js +5 -1
  4. package/dist/TestConstants.js.map +1 -1
  5. package/dist/driver/CheReporter.js +10 -31
  6. package/dist/driver/CheReporter.js.map +1 -1
  7. package/dist/index.js +1 -0
  8. package/dist/index.js.map +1 -1
  9. package/dist/inversify.config.js +3 -0
  10. package/dist/inversify.config.js.map +1 -1
  11. package/dist/inversify.types.js +1 -0
  12. package/dist/inversify.types.js.map +1 -1
  13. package/dist/pageobjects/dashboard/Workspaces.js +10 -2
  14. package/dist/pageobjects/dashboard/Workspaces.js.map +1 -1
  15. package/dist/pageobjects/ide/theia/Ide.js +1 -1
  16. package/dist/pageobjects/ide/theia/Ide.js.map +1 -1
  17. package/dist/tests/MochaHooks.js +75 -0
  18. package/dist/tests/MochaHooks.js.map +1 -0
  19. package/dist/tests/devfiles/che-code/EmptyWorkspace.spec.js +11 -24
  20. package/dist/tests/devfiles/che-code/EmptyWorkspace.spec.js.map +1 -1
  21. package/dist/tests/devfiles/theia/DotNetCore.spec.js.map +1 -1
  22. package/dist/tests/e2e/theia/FactoryUrl.spec.js.map +1 -1
  23. package/dist/tests/e2e/theia/factories/DirectUrlFactoryWithKeepDirectoryTest.spec.js.map +1 -1
  24. package/dist/tests/e2e/theia/factories/DirectUrlFactoryWithRootFolderTest.spec.js.map +1 -1
  25. package/dist/tests/e2e/theia/factories/DirectUrlFactoryWithSpecificBranchTest.spec.js.map +1 -1
  26. package/dist/tests/e2e_happy_path/theia/DevWorkspaceHappyPath.spec.js +2 -2
  27. package/dist/tests/e2e_happy_path/theia/DevWorkspaceHappyPath.spec.js.map +1 -1
  28. package/dist/tests/e2e_happy_path/theia/HappyPath.spec.js +1 -1
  29. package/dist/tests/e2e_happy_path/theia/HappyPath.spec.js.map +1 -1
  30. package/dist/testsLibrary/WorkspaceHandlingTests.js +28 -18
  31. package/dist/testsLibrary/WorkspaceHandlingTests.js.map +1 -1
  32. package/dist/testsLibrary/che-code/ProjectAndFileTestsCheCode.js +54 -0
  33. package/dist/testsLibrary/che-code/ProjectAndFileTestsCheCode.js.map +1 -0
  34. package/dist/testsLibrary/theia/LanguageServerTestsTheia.js.map +1 -1
  35. package/dist/testsLibrary/theia/ProjectAndFileTestsTheia.js.map +1 -1
  36. package/dist/utils/DriverHelper.js +0 -3
  37. package/dist/utils/DriverHelper.js.map +1 -1
  38. package/dist/utils/VCS/github/GitHubUtil.js +2 -2
  39. package/dist/utils/VCS/github/GitHubUtil.js.map +1 -1
  40. package/driver/CheReporter.ts +9 -32
  41. package/index.ts +1 -0
  42. package/inversify.config.ts +3 -0
  43. package/inversify.types.ts +1 -0
  44. package/mocha-all-devfiles-che-code.json +12 -0
  45. package/mocha-all-devfiles-theia.json +13 -10
  46. package/mocha-all-factories-che-code.json +14 -0
  47. package/mocha-all-factories-theia.json +14 -11
  48. package/mocha-all-plugins-che-code.json +13 -0
  49. package/mocha-all-plugins-theia.json +13 -10
  50. package/mocha-che-code.json +12 -0
  51. package/mocha-connector-theia.json +10 -7
  52. package/mocha-devworkspace-happy-path-che-code.json +13 -0
  53. package/mocha-devworkspace-happy-path-theia.json +12 -9
  54. package/mocha-factory-che-code.json +13 -0
  55. package/mocha-factory-theia.json +12 -9
  56. package/mocha-git-publish-branch-theia.json +12 -9
  57. package/mocha-git-self-sign-cert-theia.json +12 -9
  58. package/mocha-git-ssh-theia.json +12 -9
  59. package/mocha-happy-path-che-code.json +14 -0
  60. package/mocha-happy-path-theia.json +13 -10
  61. package/mocha-java-maven.json +11 -7
  62. package/mocha-java-springboot-che-code.json +12 -0
  63. package/mocha-java-springboot-theia.json +11 -7
  64. package/mocha-java-vertx-che-code.json +12 -0
  65. package/mocha-java-vertx-theia.json +11 -7
  66. package/mocha-load-theia.json +10 -7
  67. package/mocha-scala.json +11 -7
  68. package/mocha-single-devfile.json +9 -6
  69. package/mocha-theia.json +10 -6
  70. package/mocha-ws-creation-and-ls-theia.json +10 -7
  71. package/mocha.intelij.json +11 -7
  72. package/mocha.ocp.link.json +9 -6
  73. package/mocha.single.plugin.json +6 -5
  74. package/package.json +11 -11
  75. package/pageobjects/dashboard/Workspaces.ts +10 -4
  76. package/pageobjects/ide/theia/Ide.ts +1 -1
  77. package/pageobjects/ide/theia/OpenEditors.ts +1 -1
  78. package/tests/MochaHooks.ts +57 -0
  79. package/tests/devfiles/che-code/EmptyWorkspace.spec.ts +14 -24
  80. package/tests/devfiles/theia/DotNetCore.spec.ts +1 -1
  81. package/tests/e2e/theia/FactoryUrl.spec.ts +1 -1
  82. package/tests/e2e/theia/factories/DirectUrlFactoryWithKeepDirectoryTest.spec.ts +1 -1
  83. package/tests/e2e/theia/factories/DirectUrlFactoryWithRootFolderTest.spec.ts +1 -1
  84. package/tests/e2e/theia/factories/DirectUrlFactoryWithSpecificBranchTest.spec.ts +1 -1
  85. package/tests/e2e_happy_path/theia/DevWorkspaceHappyPath.spec.ts +3 -3
  86. package/tests/e2e_happy_path/theia/HappyPath.spec.ts +1 -1
  87. package/testsLibrary/WorkspaceHandlingTests.ts +30 -23
  88. package/testsLibrary/che-code/ProjectAndFileTestsCheCode.ts +34 -0
  89. package/testsLibrary/theia/LanguageServerTestsTheia.ts +2 -2
  90. package/testsLibrary/theia/ProjectAndFileTestsTheia.ts +2 -2
  91. package/tslint.json +16 -13
  92. package/utils/DriverHelper.ts +0 -4
  93. package/utils/VCS/github/GitHubUtil.ts +2 -2
  94. package/utils/workspace/ApiUrlResolver.ts +1 -1
  95. package/utils/workspace/ITestWorkspaceUtil.ts +12 -12
  96. package/mocha-all-factories-code.json +0 -11
  97. package/mocha-all-plugins-code.json +0 -10
  98. package/mocha-code.json +0 -8
  99. package/mocha-devworkspace-happy-path-code.json +0 -10
  100. package/mocha-factory-code.json +0 -10
  101. package/mocha-happy-path-code.json +0 -11
  102. package/mocha-java-springboot-code.json +0 -9
  103. package/mocha-java-vertx-code.json +0 -9
@@ -12,35 +12,35 @@ import { WorkspaceStatus } from './WorkspaceStatus';
12
12
  import { che } from '@eclipse-che/api';
13
13
 
14
14
  export interface ITestWorkspaceUtil {
15
- waitWorkspaceStatus(namespace: string, workspaceName: string, expectedWorkspaceStatus: WorkspaceStatus) : void;
15
+ waitWorkspaceStatus(namespace: string, workspaceName: string, expectedWorkspaceStatus: WorkspaceStatus): void;
16
16
 
17
- stopWorkspaceByName(workspaceName: string) : void;
17
+ stopWorkspaceByName(workspaceName: string): void;
18
18
 
19
19
  /**
20
20
  * Delete a worksapce without stopping phase (similar with force deleting)
21
21
  */
22
- deleteWorkspaceByName(workspaceName: string) : void;
22
+ deleteWorkspaceByName(workspaceName: string): void;
23
23
 
24
24
  /**
25
25
  * Stop workspace before deleting with checking stopping phase
26
26
  */
27
- stopAndDeleteWorkspaceByName(workspaceName: string) : void;
27
+ stopAndDeleteWorkspaceByName(workspaceName: string): void;
28
28
 
29
29
  /**
30
30
  * Stop all run workspaces in the namespace
31
31
  */
32
- stopAllRunningWorkspaces(namespace: string) : void;
32
+ stopAllRunningWorkspaces(namespace: string): void;
33
33
 
34
34
  /**
35
35
  * Stop all run workspaces, check statused and remove the workspaces
36
36
  */
37
- stopAndDeleteAllRunningWorkspaces(namespace: string) : void;
37
+ stopAndDeleteAllRunningWorkspaces(namespace: string): void;
38
38
 
39
39
  /**
40
40
  * Stop all run workspaces without stopping and waiting for of 'Stopped' phase
41
41
  * Similar with 'force' deleting
42
42
  */
43
- deleteAllWorkspaces(namespace: string) : void;
43
+ deleteAllWorkspaces(namespace: string): void;
44
44
 
45
45
  /*=====================
46
46
  * DEPRECATED METHODS *
@@ -49,27 +49,27 @@ export interface ITestWorkspaceUtil {
49
49
  /**
50
50
  * @deprecated Method deprecated. Works with CHE server only
51
51
  */
52
- cleanUpAllWorkspaces() : void;
52
+ cleanUpAllWorkspaces(): void;
53
53
 
54
54
  /**
55
55
  * @deprecated Method deprecated. Works with CHE server only
56
56
  */
57
- cleanUpRunningWorkspace(workspaceName: string) : void;
57
+ cleanUpRunningWorkspace(workspaceName: string): void;
58
58
 
59
59
  /**
60
60
  * @deprecated Method deprecated. Works with CHE server only
61
61
  */
62
- waitPluginAdding(namespace: string, workspaceName: string, pluginId: string) : void;
62
+ waitPluginAdding(namespace: string, workspaceName: string, pluginId: string): void;
63
63
 
64
64
  /**
65
65
  * @deprecated Method deprecated. Works with CHE server only
66
66
  */
67
- removeWorkspaceById(id: string) : void;
67
+ removeWorkspaceById(id: string): void;
68
68
 
69
69
  /**
70
70
  * @deprecated Method deprecated. Works with CHE server only
71
71
  */
72
- stopWorkspaceById(id: string) : void;
72
+ stopWorkspaceById(id: string): void;
73
73
 
74
74
  /**
75
75
  * @deprecated Method deprecated. Works with CHE server only
@@ -1,11 +0,0 @@
1
- {
2
- "timeout": "2200000",
3
- "reporter": "dist/driver/CheReporter.js",
4
- "ui": "tdd",
5
- "bail": true,
6
- "full-trace": true,
7
- "require": "source-map-support/register",
8
- "spec": [
9
- "dist/tests/login/Login.spec.js"
10
- ]
11
- }
@@ -1,10 +0,0 @@
1
- {
2
- "timeout": "2200000",
3
- "reporter": "dist/driver/CheReporter.js",
4
- "ui": "tdd",
5
- "full-trace": true,
6
- "require": "source-map-support/register",
7
- "spec": [
8
- "dist/tests/login/Login.spec.js"
9
- ]
10
- }
package/mocha-code.json DELETED
@@ -1,8 +0,0 @@
1
- {
2
- "timeout": "1200000",
3
- "reporter": "dist/driver/CheReporter.js",
4
- "ui": "tdd",
5
- "bail": true,
6
- "full-trace": true,
7
- "spec": ["dist/tests/login/Login.spec.js", "dist/tests/e2e/code/*.spec.js"]
8
- }
@@ -1,10 +0,0 @@
1
- {
2
- "timeout": "2200000",
3
- "reporter": "dist/driver/CheReporter.js",
4
- "ui": "tdd",
5
- "full-trace": true,
6
- "require": "source-map-support/register",
7
- "spec": [
8
- "dist/tests/login/Login.spec.js"
9
- ]
10
- }
@@ -1,10 +0,0 @@
1
- {
2
- "timeout": "2200000",
3
- "reporter": "dist/driver/CheReporter.js",
4
- "ui": "tdd",
5
- "full-trace": true,
6
- "require": "source-map-support/register",
7
- "spec": [
8
- "dist/tests/login/Login.spec.js"
9
- ]
10
- }
@@ -1,11 +0,0 @@
1
- {
2
- "timeout": "2200000",
3
- "reporter": "dist/driver/CheReporter.js",
4
- "ui": "tdd",
5
- "bail": true,
6
- "full-trace": true,
7
- "require": "source-map-support/register",
8
- "spec": [
9
- "dist/tests/login/Login.spec.js"
10
- ]
11
- }
@@ -1,9 +0,0 @@
1
- {
2
- "timeout": "1200000",
3
- "reporter": "dist/driver/CheReporter.js",
4
- "ui": "tdd",
5
- "bail": true,
6
- "full-trace": true,
7
- "support": "source-map-support/register",
8
- "spec": ["dist/tests/login/Login.spec.js"]
9
- }
@@ -1,9 +0,0 @@
1
- {
2
- "timeout": "1200000",
3
- "reporter": "dist/driver/CheReporter.js",
4
- "ui": "tdd",
5
- "bail": true,
6
- "full-trace": true,
7
- "support": "source-map-support/register",
8
- "spec": ["dist/tests/login/Login.spec.js"]
9
- }