@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.
- package/TestConstants.ts +6 -1
- package/build/dockerfiles/Dockerfile +4 -3
- package/dist/TestConstants.js +5 -1
- package/dist/TestConstants.js.map +1 -1
- package/dist/driver/CheReporter.js +10 -31
- package/dist/driver/CheReporter.js.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/inversify.config.js +3 -0
- package/dist/inversify.config.js.map +1 -1
- package/dist/inversify.types.js +1 -0
- package/dist/inversify.types.js.map +1 -1
- package/dist/pageobjects/dashboard/Workspaces.js +10 -2
- package/dist/pageobjects/dashboard/Workspaces.js.map +1 -1
- package/dist/pageobjects/ide/theia/Ide.js +1 -1
- package/dist/pageobjects/ide/theia/Ide.js.map +1 -1
- package/dist/tests/MochaHooks.js +75 -0
- package/dist/tests/MochaHooks.js.map +1 -0
- package/dist/tests/devfiles/che-code/EmptyWorkspace.spec.js +11 -24
- package/dist/tests/devfiles/che-code/EmptyWorkspace.spec.js.map +1 -1
- package/dist/tests/devfiles/theia/DotNetCore.spec.js.map +1 -1
- package/dist/tests/e2e/theia/FactoryUrl.spec.js.map +1 -1
- package/dist/tests/e2e/theia/factories/DirectUrlFactoryWithKeepDirectoryTest.spec.js.map +1 -1
- package/dist/tests/e2e/theia/factories/DirectUrlFactoryWithRootFolderTest.spec.js.map +1 -1
- package/dist/tests/e2e/theia/factories/DirectUrlFactoryWithSpecificBranchTest.spec.js.map +1 -1
- package/dist/tests/e2e_happy_path/theia/DevWorkspaceHappyPath.spec.js +2 -2
- package/dist/tests/e2e_happy_path/theia/DevWorkspaceHappyPath.spec.js.map +1 -1
- package/dist/tests/e2e_happy_path/theia/HappyPath.spec.js +1 -1
- package/dist/tests/e2e_happy_path/theia/HappyPath.spec.js.map +1 -1
- package/dist/testsLibrary/WorkspaceHandlingTests.js +28 -18
- package/dist/testsLibrary/WorkspaceHandlingTests.js.map +1 -1
- package/dist/testsLibrary/che-code/ProjectAndFileTestsCheCode.js +54 -0
- package/dist/testsLibrary/che-code/ProjectAndFileTestsCheCode.js.map +1 -0
- package/dist/testsLibrary/theia/LanguageServerTestsTheia.js.map +1 -1
- package/dist/testsLibrary/theia/ProjectAndFileTestsTheia.js.map +1 -1
- package/dist/utils/DriverHelper.js +0 -3
- package/dist/utils/DriverHelper.js.map +1 -1
- package/dist/utils/VCS/github/GitHubUtil.js +2 -2
- package/dist/utils/VCS/github/GitHubUtil.js.map +1 -1
- package/driver/CheReporter.ts +9 -32
- package/index.ts +1 -0
- package/inversify.config.ts +3 -0
- package/inversify.types.ts +1 -0
- package/mocha-all-devfiles-che-code.json +12 -0
- package/mocha-all-devfiles-theia.json +13 -10
- package/mocha-all-factories-che-code.json +14 -0
- package/mocha-all-factories-theia.json +14 -11
- package/mocha-all-plugins-che-code.json +13 -0
- package/mocha-all-plugins-theia.json +13 -10
- package/mocha-che-code.json +12 -0
- package/mocha-connector-theia.json +10 -7
- package/mocha-devworkspace-happy-path-che-code.json +13 -0
- package/mocha-devworkspace-happy-path-theia.json +12 -9
- package/mocha-factory-che-code.json +13 -0
- package/mocha-factory-theia.json +12 -9
- package/mocha-git-publish-branch-theia.json +12 -9
- package/mocha-git-self-sign-cert-theia.json +12 -9
- package/mocha-git-ssh-theia.json +12 -9
- package/mocha-happy-path-che-code.json +14 -0
- package/mocha-happy-path-theia.json +13 -10
- package/mocha-java-maven.json +11 -7
- package/mocha-java-springboot-che-code.json +12 -0
- package/mocha-java-springboot-theia.json +11 -7
- package/mocha-java-vertx-che-code.json +12 -0
- package/mocha-java-vertx-theia.json +11 -7
- package/mocha-load-theia.json +10 -7
- package/mocha-scala.json +11 -7
- package/mocha-single-devfile.json +9 -6
- package/mocha-theia.json +10 -6
- package/mocha-ws-creation-and-ls-theia.json +10 -7
- package/mocha.intelij.json +11 -7
- package/mocha.ocp.link.json +9 -6
- package/mocha.single.plugin.json +6 -5
- package/package.json +11 -11
- package/pageobjects/dashboard/Workspaces.ts +10 -4
- package/pageobjects/ide/theia/Ide.ts +1 -1
- package/pageobjects/ide/theia/OpenEditors.ts +1 -1
- package/tests/MochaHooks.ts +57 -0
- package/tests/devfiles/che-code/EmptyWorkspace.spec.ts +14 -24
- package/tests/devfiles/theia/DotNetCore.spec.ts +1 -1
- package/tests/e2e/theia/FactoryUrl.spec.ts +1 -1
- package/tests/e2e/theia/factories/DirectUrlFactoryWithKeepDirectoryTest.spec.ts +1 -1
- package/tests/e2e/theia/factories/DirectUrlFactoryWithRootFolderTest.spec.ts +1 -1
- package/tests/e2e/theia/factories/DirectUrlFactoryWithSpecificBranchTest.spec.ts +1 -1
- package/tests/e2e_happy_path/theia/DevWorkspaceHappyPath.spec.ts +3 -3
- package/tests/e2e_happy_path/theia/HappyPath.spec.ts +1 -1
- package/testsLibrary/WorkspaceHandlingTests.ts +30 -23
- package/testsLibrary/che-code/ProjectAndFileTestsCheCode.ts +34 -0
- package/testsLibrary/theia/LanguageServerTestsTheia.ts +2 -2
- package/testsLibrary/theia/ProjectAndFileTestsTheia.ts +2 -2
- package/tslint.json +16 -13
- package/utils/DriverHelper.ts +0 -4
- package/utils/VCS/github/GitHubUtil.ts +2 -2
- package/utils/workspace/ApiUrlResolver.ts +1 -1
- package/utils/workspace/ITestWorkspaceUtil.ts +12 -12
- package/mocha-all-factories-code.json +0 -11
- package/mocha-all-plugins-code.json +0 -10
- package/mocha-code.json +0 -8
- package/mocha-devworkspace-happy-path-code.json +0 -10
- package/mocha-factory-code.json +0 -10
- package/mocha-happy-path-code.json +0 -11
- package/mocha-java-springboot-code.json +0 -9
- 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)
|
|
15
|
+
waitWorkspaceStatus(namespace: string, workspaceName: string, expectedWorkspaceStatus: WorkspaceStatus): void;
|
|
16
16
|
|
|
17
|
-
stopWorkspaceByName(workspaceName: string)
|
|
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)
|
|
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)
|
|
27
|
+
stopAndDeleteWorkspaceByName(workspaceName: string): void;
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* Stop all run workspaces in the namespace
|
|
31
31
|
*/
|
|
32
|
-
stopAllRunningWorkspaces(namespace: string)
|
|
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)
|
|
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)
|
|
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()
|
|
52
|
+
cleanUpAllWorkspaces(): void;
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
55
|
* @deprecated Method deprecated. Works with CHE server only
|
|
56
56
|
*/
|
|
57
|
-
cleanUpRunningWorkspace(workspaceName: string)
|
|
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)
|
|
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)
|
|
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)
|
|
72
|
+
stopWorkspaceById(id: string): void;
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
75
|
* @deprecated Method deprecated. Works with CHE server only
|
package/mocha-code.json
DELETED
package/mocha-factory-code.json
DELETED