@eclipse-che/che-e2e 7.58.0 → 7.58.1-dev-43d35ee
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/driver/CheReporter.ts +4 -25
- package/index.ts +1 -0
- package/inversify.config.ts +2 -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 +12 -12
- 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 +47 -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 +1 -1
- 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 +15 -12
- package/utils/VCS/github/GitHubUtil.ts +2 -2
- package/utils/workspace/ApiUrlResolver.ts +1 -1
- package/utils/workspace/ITestWorkspaceUtil.ts +12 -12
- package/dist/TestConstants.js +0 -240
- package/dist/TestConstants.js.map +0 -1
- package/dist/TimeoutConstants.js +0 -184
- package/dist/TimeoutConstants.js.map +0 -1
- package/dist/driver/CheReporter.js +0 -191
- package/dist/driver/CheReporter.js.map +0 -1
- package/dist/driver/ChromeDriver.js +0 -77
- package/dist/driver/ChromeDriver.js.map +0 -1
- package/dist/driver/IDriver.js +0 -3
- package/dist/driver/IDriver.js.map +0 -1
- package/dist/index.js +0 -93
- package/dist/index.js.map +0 -1
- package/dist/inversify.config.js +0 -130
- package/dist/inversify.config.js.map +0 -1
- package/dist/inversify.types.js +0 -74
- package/dist/inversify.types.js.map +0 -1
- package/dist/pageobjects/dashboard/CreateWorkspace.js +0 -106
- package/dist/pageobjects/dashboard/CreateWorkspace.js.map +0 -1
- package/dist/pageobjects/dashboard/Dashboard.js +0 -115
- package/dist/pageobjects/dashboard/Dashboard.js.map +0 -1
- package/dist/pageobjects/dashboard/Workspaces.js +0 -157
- package/dist/pageobjects/dashboard/Workspaces.js.map +0 -1
- package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetails.js +0 -138
- package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetails.js.map +0 -1
- package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetailsPlugins.js +0 -97
- package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetailsPlugins.js.map +0 -1
- package/dist/pageobjects/ide/theia/ContextMenu.js +0 -66
- package/dist/pageobjects/ide/theia/ContextMenu.js.map +0 -1
- package/dist/pageobjects/ide/theia/DebugView.js +0 -98
- package/dist/pageobjects/ide/theia/DebugView.js.map +0 -1
- package/dist/pageobjects/ide/theia/DialogWindow.js +0 -102
- package/dist/pageobjects/ide/theia/DialogWindow.js.map +0 -1
- package/dist/pageobjects/ide/theia/Editor.js +0 -463
- package/dist/pageobjects/ide/theia/Editor.js.map +0 -1
- package/dist/pageobjects/ide/theia/Ide.js +0 -336
- package/dist/pageobjects/ide/theia/Ide.js.map +0 -1
- package/dist/pageobjects/ide/theia/LeftToolBar.js +0 -81
- package/dist/pageobjects/ide/theia/LeftToolBar.js.map +0 -1
- package/dist/pageobjects/ide/theia/NavigationBar.js +0 -57
- package/dist/pageobjects/ide/theia/NavigationBar.js.map +0 -1
- package/dist/pageobjects/ide/theia/NotificationCenter.js +0 -76
- package/dist/pageobjects/ide/theia/NotificationCenter.js.map +0 -1
- package/dist/pageobjects/ide/theia/OpenDialogWidget.js +0 -100
- package/dist/pageobjects/ide/theia/OpenDialogWidget.js.map +0 -1
- package/dist/pageobjects/ide/theia/OpenEditors.js +0 -73
- package/dist/pageobjects/ide/theia/OpenEditors.js.map +0 -1
- package/dist/pageobjects/ide/theia/OpenWorkspaceWidget.js +0 -62
- package/dist/pageobjects/ide/theia/OpenWorkspaceWidget.js.map +0 -1
- package/dist/pageobjects/ide/theia/PreviewWidget.js +0 -134
- package/dist/pageobjects/ide/theia/PreviewWidget.js.map +0 -1
- package/dist/pageobjects/ide/theia/ProjectTree.js +0 -282
- package/dist/pageobjects/ide/theia/ProjectTree.js.map +0 -1
- package/dist/pageobjects/ide/theia/QuickOpenContainer.js +0 -70
- package/dist/pageobjects/ide/theia/QuickOpenContainer.js.map +0 -1
- package/dist/pageobjects/ide/theia/RightToolBar.js +0 -51
- package/dist/pageobjects/ide/theia/RightToolBar.js.map +0 -1
- package/dist/pageobjects/ide/theia/Terminal.js +0 -184
- package/dist/pageobjects/ide/theia/Terminal.js.map +0 -1
- package/dist/pageobjects/ide/theia/TopMenu.js +0 -109
- package/dist/pageobjects/ide/theia/TopMenu.js.map +0 -1
- package/dist/pageobjects/ide/theia/plugins/GitHubPullRequestPlugin.js +0 -128
- package/dist/pageobjects/ide/theia/plugins/GitHubPullRequestPlugin.js.map +0 -1
- package/dist/pageobjects/ide/theia/plugins/GitPlugin.js +0 -120
- package/dist/pageobjects/ide/theia/plugins/GitPlugin.js.map +0 -1
- package/dist/pageobjects/ide/theia/plugins/KubernetesPlugin.js +0 -107
- package/dist/pageobjects/ide/theia/plugins/KubernetesPlugin.js.map +0 -1
- package/dist/pageobjects/ide/theia/plugins/OpenshiftPlugin.js +0 -99
- package/dist/pageobjects/ide/theia/plugins/OpenshiftPlugin.js.map +0 -1
- package/dist/pageobjects/ide/theia/plugins/PluginsView.js +0 -166
- package/dist/pageobjects/ide/theia/plugins/PluginsView.js.map +0 -1
- package/dist/pageobjects/login/ICheLoginPage.js +0 -12
- package/dist/pageobjects/login/ICheLoginPage.js.map +0 -1
- package/dist/pageobjects/login/IOcpLoginPage.js +0 -12
- package/dist/pageobjects/login/IOcpLoginPage.js.map +0 -1
- package/dist/pageobjects/login/MultiUserLoginPage.js +0 -49
- package/dist/pageobjects/login/MultiUserLoginPage.js.map +0 -1
- package/dist/pageobjects/login/OcpUserLoginPage.js +0 -53
- package/dist/pageobjects/login/OcpUserLoginPage.js.map +0 -1
- package/dist/pageobjects/login/RegularUserOcpCheLoginPage.js +0 -86
- package/dist/pageobjects/login/RegularUserOcpCheLoginPage.js.map +0 -1
- package/dist/pageobjects/login/UpdateAccountInformationPage.js +0 -74
- package/dist/pageobjects/login/UpdateAccountInformationPage.js.map +0 -1
- package/dist/pageobjects/openshift/CheLoginPage.js +0 -88
- package/dist/pageobjects/openshift/CheLoginPage.js.map +0 -1
- package/dist/pageobjects/openshift/OcpLoginPage.js +0 -106
- package/dist/pageobjects/openshift/OcpLoginPage.js.map +0 -1
- package/dist/pageobjects/third-parties/GitLoginPage.js +0 -85
- package/dist/pageobjects/third-parties/GitLoginPage.js.map +0 -1
- package/dist/pageobjects/third-parties/GitOauthAppsSettings.js +0 -110
- package/dist/pageobjects/third-parties/GitOauthAppsSettings.js.map +0 -1
- package/dist/tests/devfiles/che-code/EmptyWorkspace.spec.js +0 -61
- package/dist/tests/devfiles/che-code/EmptyWorkspace.spec.js.map +0 -1
- package/dist/tests/devfiles/theia/CSlashCPlusPlus.spec.js +0 -73
- package/dist/tests/devfiles/theia/CSlashCPlusPlus.spec.js.map +0 -1
- package/dist/tests/devfiles/theia/DevfileSmoke.spec.js +0 -47
- package/dist/tests/devfiles/theia/DevfileSmoke.spec.js.map +0 -1
- package/dist/tests/devfiles/theia/DotNetCore.spec.js +0 -81
- package/dist/tests/devfiles/theia/DotNetCore.spec.js.map +0 -1
- package/dist/tests/devfiles/theia/Go.spec.js +0 -72
- package/dist/tests/devfiles/theia/Go.spec.js.map +0 -1
- package/dist/tests/devfiles/theia/JavaMaven.spec.js +0 -60
- package/dist/tests/devfiles/theia/JavaMaven.spec.js.map +0 -1
- package/dist/tests/devfiles/theia/JavaSpringBoot.spec.js +0 -66
- package/dist/tests/devfiles/theia/JavaSpringBoot.spec.js.map +0 -1
- package/dist/tests/devfiles/theia/JavaVertx.spec.js +0 -60
- package/dist/tests/devfiles/theia/JavaVertx.spec.js.map +0 -1
- package/dist/tests/devfiles/theia/NodeJS.spec.js +0 -64
- package/dist/tests/devfiles/theia/NodeJS.spec.js.map +0 -1
- package/dist/tests/devfiles/theia/PHPSimple.spec.js +0 -74
- package/dist/tests/devfiles/theia/PHPSimple.spec.js.map +0 -1
- package/dist/tests/devfiles/theia/Python.spec.js +0 -58
- package/dist/tests/devfiles/theia/Python.spec.js.map +0 -1
- package/dist/tests/devfiles/theia/PythonDjango.spec.js +0 -61
- package/dist/tests/devfiles/theia/PythonDjango.spec.js.map +0 -1
- package/dist/tests/devfiles/theia/Quarkus.spec.js +0 -69
- package/dist/tests/devfiles/theia/Quarkus.spec.js.map +0 -1
- package/dist/tests/devfiles/theia/Scala.spec.js +0 -66
- package/dist/tests/devfiles/theia/Scala.spec.js.map +0 -1
- package/dist/tests/e2e/theia/FactoryUrl.spec.js +0 -40
- package/dist/tests/e2e/theia/FactoryUrl.spec.js.map +0 -1
- package/dist/tests/e2e/theia/GitPublishBranch.spec.js +0 -90
- package/dist/tests/e2e/theia/GitPublishBranch.spec.js.map +0 -1
- package/dist/tests/e2e/theia/GitSelfSignCert.spec.js +0 -90
- package/dist/tests/e2e/theia/GitSelfSignCert.spec.js.map +0 -1
- package/dist/tests/e2e/theia/GitSsh.spec.js +0 -120
- package/dist/tests/e2e/theia/GitSsh.spec.js.map +0 -1
- package/dist/tests/e2e/theia/OpenshiftConnector.spec.js +0 -124
- package/dist/tests/e2e/theia/OpenshiftConnector.spec.js.map +0 -1
- package/dist/tests/e2e/theia/factories/DirectUrlFactoryWithKeepDirectoryTest.spec.js +0 -50
- package/dist/tests/e2e/theia/factories/DirectUrlFactoryWithKeepDirectoryTest.spec.js.map +0 -1
- package/dist/tests/e2e/theia/factories/DirectUrlFactoryWithRootFolderTest.spec.js +0 -48
- package/dist/tests/e2e/theia/factories/DirectUrlFactoryWithRootFolderTest.spec.js.map +0 -1
- package/dist/tests/e2e/theia/factories/DirectUrlFactoryWithSpecificBranchTest.spec.js +0 -48
- package/dist/tests/e2e/theia/factories/DirectUrlFactoryWithSpecificBranchTest.spec.js.map +0 -1
- package/dist/tests/e2e_happy_path/theia/DevWorkspaceHappyPath.spec.js +0 -277
- package/dist/tests/e2e_happy_path/theia/DevWorkspaceHappyPath.spec.js.map +0 -1
- package/dist/tests/e2e_happy_path/theia/HappyPath.spec.js +0 -314
- package/dist/tests/e2e_happy_path/theia/HappyPath.spec.js.map +0 -1
- package/dist/tests/intelij/IntelijOpenWorkspace.spec.js +0 -39
- package/dist/tests/intelij/IntelijOpenWorkspace.spec.js.map +0 -1
- package/dist/tests/load_test/theia/LoadTest.spec.js +0 -41
- package/dist/tests/load_test/theia/LoadTest.spec.js.map +0 -1
- package/dist/tests/login/LinkCheAndOcpUsers.spec.js +0 -39
- package/dist/tests/login/LinkCheAndOcpUsers.spec.js.map +0 -1
- package/dist/tests/login/Login.spec.js +0 -28
- package/dist/tests/login/Login.spec.js.map +0 -1
- package/dist/tests/plugins/theia/GitHubPullRequestPlugin.spec.js +0 -117
- package/dist/tests/plugins/theia/GitHubPullRequestPlugin.spec.js.map +0 -1
- package/dist/tests/plugins/theia/InstallPluginUsingUI.spec.js +0 -62
- package/dist/tests/plugins/theia/InstallPluginUsingUI.spec.js.map +0 -1
- package/dist/tests/plugins/theia/JavaPlugin.spec.js +0 -82
- package/dist/tests/plugins/theia/JavaPlugin.spec.js.map +0 -1
- package/dist/tests/plugins/theia/PhpPlugin.spec.js +0 -96
- package/dist/tests/plugins/theia/PhpPlugin.spec.js.map +0 -1
- package/dist/tests/plugins/theia/PythonPlugin.spec.js +0 -72
- package/dist/tests/plugins/theia/PythonPlugin.spec.js.map +0 -1
- package/dist/tests/plugins/theia/TypescriptPlugin.spec.js +0 -135
- package/dist/tests/plugins/theia/TypescriptPlugin.spec.js.map +0 -1
- package/dist/tests/plugins/theia/VscodeKubernetesPlugin.spec.js +0 -69
- package/dist/tests/plugins/theia/VscodeKubernetesPlugin.spec.js.map +0 -1
- package/dist/tests/plugins/theia/VscodeShellcheckPlugin.spec.js +0 -82
- package/dist/tests/plugins/theia/VscodeShellcheckPlugin.spec.js.map +0 -1
- package/dist/tests/plugins/theia/VscodeValePlugin.spec.js +0 -70
- package/dist/tests/plugins/theia/VscodeValePlugin.spec.js.map +0 -1
- package/dist/tests/plugins/theia/VscodeXmlPlugin.spec.js +0 -81
- package/dist/tests/plugins/theia/VscodeXmlPlugin.spec.js.map +0 -1
- package/dist/tests/plugins/theia/VscodeYamlPlugin.spec.js +0 -78
- package/dist/tests/plugins/theia/VscodeYamlPlugin.spec.js.map +0 -1
- package/dist/testsLibrary/WorkspaceHandlingTests.js +0 -140
- package/dist/testsLibrary/WorkspaceHandlingTests.js.map +0 -1
- package/dist/testsLibrary/theia/CodeExecutionTestsTheia.js +0 -248
- package/dist/testsLibrary/theia/CodeExecutionTestsTheia.js.map +0 -1
- package/dist/testsLibrary/theia/LanguageServerTestsTheia.js +0 -230
- package/dist/testsLibrary/theia/LanguageServerTestsTheia.js.map +0 -1
- package/dist/testsLibrary/theia/ProjectAndFileTestsTheia.js +0 -133
- package/dist/testsLibrary/theia/ProjectAndFileTestsTheia.js.map +0 -1
- package/dist/utils/AnimationChecker.js +0 -45
- package/dist/utils/AnimationChecker.js.map +0 -1
- package/dist/utils/BrowserTabsUtil.js +0 -115
- package/dist/utils/BrowserTabsUtil.js.map +0 -1
- package/dist/utils/DriverHelper.js +0 -616
- package/dist/utils/DriverHelper.js.map +0 -1
- package/dist/utils/Logger.js +0 -84
- package/dist/utils/Logger.js.map +0 -1
- package/dist/utils/Sanitizer.js +0 -29
- package/dist/utils/Sanitizer.js.map +0 -1
- package/dist/utils/ScreenCatcher.js +0 -107
- package/dist/utils/ScreenCatcher.js.map +0 -1
- package/dist/utils/VCS/CheGitApi.js +0 -42
- package/dist/utils/VCS/CheGitApi.js.map +0 -1
- package/dist/utils/VCS/github/GitHubUtil.js +0 -126
- package/dist/utils/VCS/github/GitHubUtil.js.map +0 -1
- package/dist/utils/WorkspaceNameHandler.js +0 -60
- package/dist/utils/WorkspaceNameHandler.js.map +0 -1
- package/dist/utils/requestHandlers/CheApiRequestHandler.js +0 -126
- package/dist/utils/requestHandlers/CheApiRequestHandler.js.map +0 -1
- package/dist/utils/requestHandlers/headers/CheMultiuserAuthorizationHeaderHandler.js +0 -49
- package/dist/utils/requestHandlers/headers/CheMultiuserAuthorizationHeaderHandler.js.map +0 -1
- package/dist/utils/requestHandlers/headers/IAuthorizationHeaderHandler.js +0 -12
- package/dist/utils/requestHandlers/headers/IAuthorizationHeaderHandler.js.map +0 -1
- package/dist/utils/requestHandlers/tokens/CheMultiuserTokenHandler.js +0 -50
- package/dist/utils/requestHandlers/tokens/CheMultiuserTokenHandler.js.map +0 -1
- package/dist/utils/requestHandlers/tokens/ITokenHandler.js +0 -12
- package/dist/utils/requestHandlers/tokens/ITokenHandler.js.map +0 -1
- package/dist/utils/theia/PreferencesHandlerTheia.js +0 -142
- package/dist/utils/theia/PreferencesHandlerTheia.js.map +0 -1
- package/dist/utils/workspace/ApiUrlResolver.js +0 -67
- package/dist/utils/workspace/ApiUrlResolver.js.map +0 -1
- package/dist/utils/workspace/ITestWorkspaceUtil.js +0 -12
- package/dist/utils/workspace/ITestWorkspaceUtil.js.map +0 -1
- package/dist/utils/workspace/TestWorkspaceUtil.js +0 -357
- package/dist/utils/workspace/TestWorkspaceUtil.js.map +0 -1
- package/dist/utils/workspace/WorkspaceStatus.js +0 -19
- package/dist/utils/workspace/WorkspaceStatus.js.map +0 -1
- 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
package/TestConstants.ts
CHANGED
|
@@ -287,5 +287,10 @@ export const TestConstants = {
|
|
|
287
287
|
/**
|
|
288
288
|
* URL of workspace devfile test repository.
|
|
289
289
|
*/
|
|
290
|
-
TS_TEST_WORKSPACE_DEVFILE_REPO: process.env.TS_TEST_WORKSPACE_DEVFILE_REPO || ''
|
|
290
|
+
TS_TEST_WORKSPACE_DEVFILE_REPO: process.env.TS_TEST_WORKSPACE_DEVFILE_REPO || '',
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* Constant, which prolong timeout constants for local debug.
|
|
294
|
+
*/
|
|
295
|
+
TS_DEBUG_MODE: process.env.TS_DEBUG_MODE || false
|
|
291
296
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
FROM selenium/standalone-chrome:
|
|
1
|
+
FROM selenium/standalone-chrome:107.0
|
|
2
2
|
|
|
3
3
|
ENV DISPLAY=':20'
|
|
4
4
|
|
|
@@ -6,10 +6,11 @@ USER root
|
|
|
6
6
|
|
|
7
7
|
RUN apt-get update && apt-get install && \
|
|
8
8
|
apt-get install -y ftp && \
|
|
9
|
+
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash - && \
|
|
9
10
|
apt-get install -y nodejs && \
|
|
10
|
-
apt-get install -y npm && \
|
|
11
11
|
npm install -g typescript && \
|
|
12
|
-
apt-get install x11vnc ffmpeg -y
|
|
12
|
+
apt-get install x11vnc ffmpeg -y && \
|
|
13
|
+
node -v
|
|
13
14
|
|
|
14
15
|
COPY --chown=0:0 build/dockerfiles/entrypoint.sh /tmp/
|
|
15
16
|
|
package/driver/CheReporter.ts
CHANGED
|
@@ -9,24 +9,19 @@
|
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
import * as mocha from 'mocha';
|
|
11
11
|
import { IDriver } from './IDriver';
|
|
12
|
-
import { inversifyConfig } from '..';
|
|
13
12
|
import { TYPES, CLASSES } from '..';
|
|
14
13
|
import * as fs from 'fs';
|
|
15
14
|
import * as rm from 'rimraf';
|
|
16
|
-
import {
|
|
15
|
+
import { TestConstants } from '../TestConstants';
|
|
17
16
|
import { logging } from 'selenium-webdriver';
|
|
18
17
|
import { DriverHelper } from '../utils/DriverHelper';
|
|
19
18
|
import { ScreenCatcher } from '../utils/ScreenCatcher';
|
|
20
19
|
import { ITestWorkspaceUtil } from '../utils/workspace/ITestWorkspaceUtil';
|
|
21
|
-
import { AskForConfirmationTypeTheia, PreferencesHandlerTheia, TerminalRendererTypeTheia } from '../utils/theia/PreferencesHandlerTheia';
|
|
22
|
-
import { CheApiRequestHandler } from '../utils/requestHandlers/CheApiRequestHandler';
|
|
23
20
|
import { TimeoutConstants } from '../TimeoutConstants';
|
|
24
21
|
import { Logger } from '../utils/Logger';
|
|
25
22
|
import { Sanitizer } from '../utils/Sanitizer';
|
|
26
|
-
import
|
|
27
|
-
import * as vscodeExtensionTesterLocators from 'vscode-extension-tester-locators';
|
|
23
|
+
import { e2eContainer } from '../inversify.config';
|
|
28
24
|
|
|
29
|
-
const e2eContainer = inversifyConfig.e2eContainer;
|
|
30
25
|
const driver: IDriver = e2eContainer.get(TYPES.Driver);
|
|
31
26
|
const driverHelper: DriverHelper = e2eContainer.get(CLASSES.DriverHelper);
|
|
32
27
|
const screenCatcher: ScreenCatcher = e2eContainer.get(CLASSES.ScreenCatcher);
|
|
@@ -37,13 +32,13 @@ let testWorkspaceUtil: ITestWorkspaceUtil = e2eContainer.get(TYPES.WorkspaceUtil
|
|
|
37
32
|
|
|
38
33
|
class CheReporter extends mocha.reporters.Spec {
|
|
39
34
|
|
|
40
|
-
private static latestWorkspace: string = '';
|
|
41
|
-
|
|
42
35
|
public static registerRunningWorkspace(workspaceName: string) {
|
|
43
36
|
Logger.debug(`CheReporter.registerRunningWorkspace {${workspaceName}}`);
|
|
44
37
|
CheReporter.latestWorkspace = workspaceName;
|
|
45
38
|
}
|
|
46
39
|
|
|
40
|
+
private static latestWorkspace: string = '';
|
|
41
|
+
|
|
47
42
|
constructor(runner: mocha.Runner, options: mocha.MochaOptions) {
|
|
48
43
|
super(runner, options);
|
|
49
44
|
|
|
@@ -83,22 +78,6 @@ class CheReporter extends mocha.reporters.Spec {
|
|
|
83
78
|
console.log(launchInformation);
|
|
84
79
|
|
|
85
80
|
rm.sync(TestConstants.TS_SELENIUM_REPORT_FOLDER);
|
|
86
|
-
if (TestConstants.TS_SELENIUM_REQUEST_INTERCEPTOR) {
|
|
87
|
-
CheApiRequestHandler.enableRequestInteceptor();
|
|
88
|
-
}
|
|
89
|
-
if (TestConstants.TS_SELENIUM_RESPONSE_INTERCEPTOR) {
|
|
90
|
-
CheApiRequestHandler.enableResponseInterceptor();
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
if (TestConstants.TS_SELENIUM_EDITOR === EditorType.THEIA) {
|
|
94
|
-
let preferencesHandler: PreferencesHandlerTheia = e2eContainer.get(CLASSES.PreferencesHandlerTheia);
|
|
95
|
-
await preferencesHandler.setConfirmExit(AskForConfirmationTypeTheia.never);
|
|
96
|
-
await preferencesHandler.setTerminalType(TerminalRendererTypeTheia.dom);
|
|
97
|
-
} else if (TestConstants.TS_SELENIUM_EDITOR === EditorType.CHE_CODE) {
|
|
98
|
-
// init vscode-extension-tester monaco-page-objects
|
|
99
|
-
monacoPageObjects.initPageObjects(TestConstants.TS_SELENIUM_MONACO_PAGE_OBJECTS_USE_VERSION, TestConstants.TS_SELENIUM_MONACO_PAGE_OBJECTS_BASE_VERSION, vscodeExtensionTesterLocators.getLocatorsPath(), driver.get(), 'google-chrome');
|
|
100
|
-
}
|
|
101
|
-
|
|
102
81
|
});
|
|
103
82
|
|
|
104
83
|
runner.on('test', async function (test: mocha.Test) {
|
package/index.ts
CHANGED
|
@@ -65,4 +65,5 @@ export * from './pageobjects/third-parties/GitOauthAppsSettings';
|
|
|
65
65
|
export * from './testsLibrary/theia/CodeExecutionTestsTheia';
|
|
66
66
|
export * from './testsLibrary/theia/LanguageServerTestsTheia';
|
|
67
67
|
export * from './testsLibrary/theia/ProjectAndFileTestsTheia';
|
|
68
|
+
export * from './testsLibrary/che-code/ProjectAndFileTestsCheCode';
|
|
68
69
|
export * from './testsLibrary/WorkspaceHandlingTests';
|
package/inversify.config.ts
CHANGED
|
@@ -71,6 +71,7 @@ import { Sanitizer } from './utils/Sanitizer';
|
|
|
71
71
|
import { NavigationBar } from './pageobjects/ide/theia/NavigationBar';
|
|
72
72
|
import { ApiUrlResolver } from './utils/workspace/ApiUrlResolver';
|
|
73
73
|
import { ITestWorkspaceUtil } from './utils/workspace/ITestWorkspaceUtil';
|
|
74
|
+
import { ProjectAndFileTestsCheCode } from './testsLibrary/che-code/ProjectAndFileTestsCheCode';
|
|
74
75
|
|
|
75
76
|
|
|
76
77
|
const e2eContainer: Container = new Container({ defaultScope: 'Transient' });
|
|
@@ -125,6 +126,7 @@ e2eContainer.bind<PluginsView>(CLASSES.PluginsView).to(PluginsView);
|
|
|
125
126
|
e2eContainer.bind<LanguageServerTestsTheia>(CLASSES.LanguageServerTestsTheia).to(LanguageServerTestsTheia);
|
|
126
127
|
e2eContainer.bind<CodeExecutionTestsTheia>(CLASSES.CodeExecutionTestsTheia).to(CodeExecutionTestsTheia);
|
|
127
128
|
e2eContainer.bind<ProjectAndFileTestsTheia>(CLASSES.ProjectAndFileTestsTheia).to(ProjectAndFileTestsTheia);
|
|
129
|
+
e2eContainer.bind<ProjectAndFileTestsCheCode>(CLASSES.ProjectAndFileTestsCheCode).to(ProjectAndFileTestsCheCode);
|
|
128
130
|
e2eContainer.bind<WorkspaceHandlingTests>(CLASSES.WorkspaceHandlingTests).to(WorkspaceHandlingTests);
|
|
129
131
|
e2eContainer.bind<WorkspaceNameHandler>(CLASSES.WorkspaceNameHandler).to(WorkspaceNameHandler);
|
|
130
132
|
e2eContainer.bind<GitHubPullRequestPlugin>(CLASSES.GitHubPullRequestPlugin).to(GitHubPullRequestPlugin);
|
package/inversify.types.ts
CHANGED
|
@@ -59,6 +59,7 @@ const CLASSES = {
|
|
|
59
59
|
LanguageServerTestsTheia: 'LanguageServerTestsTheia',
|
|
60
60
|
CodeExecutionTestsTheia: 'CodeExecutionTestsTheia',
|
|
61
61
|
ProjectAndFileTestsTheia: 'ProjectAndFileTestsTheia',
|
|
62
|
+
ProjectAndFileTestsCheCode: 'ProjectAndFileTestsCheCode',
|
|
62
63
|
WorkspaceHandlingTests: 'WorkspaceHandlingTests',
|
|
63
64
|
WorkspaceNameHandler: 'WorkspaceNameHandler',
|
|
64
65
|
GitHubPullRequestPlugin: 'GitHubPullRequestPlugin',
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"timeout": "1200000",
|
|
3
|
+
"reporter": "dist/driver/CheReporter.js",
|
|
4
|
+
"require": "./dist/tests/MochaHooks.js",
|
|
5
|
+
"ui": "tdd",
|
|
6
|
+
"bail": true,
|
|
7
|
+
"full-trace": true,
|
|
8
|
+
"spec": [
|
|
9
|
+
"dist/tests/login/Login.spec.js",
|
|
10
|
+
"dist/tests/devfiles/che-code/*.spec.js"
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
"timeout": "2200000",
|
|
3
|
+
"reporter": "dist/driver/CheReporter.js",
|
|
4
|
+
"ui": "tdd",
|
|
5
|
+
"full-trace": true,
|
|
6
|
+
"require": [
|
|
7
|
+
"source-map-support/register",
|
|
8
|
+
"./dist/tests/MochaHooks.js"
|
|
9
|
+
],
|
|
10
|
+
"spec": [
|
|
11
|
+
"dist/tests/login/Login.spec.js",
|
|
12
|
+
"dist/tests/devfiles/theia/*.spec.js",
|
|
13
|
+
"dist/tests/e2e/theia/FactoryUrl.spec.js"
|
|
14
|
+
]
|
|
12
15
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"timeout": "2200000",
|
|
3
|
+
"reporter": "dist/driver/CheReporter.js",
|
|
4
|
+
"ui": "tdd",
|
|
5
|
+
"bail": true,
|
|
6
|
+
"full-trace": true,
|
|
7
|
+
"require": [
|
|
8
|
+
"source-map-support/register",
|
|
9
|
+
"./dist/tests/MochaHooks.js"
|
|
10
|
+
],
|
|
11
|
+
"spec": [
|
|
12
|
+
"dist/tests/login/Login.spec.js"
|
|
13
|
+
]
|
|
14
|
+
}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
"timeout": "2200000",
|
|
3
|
+
"reporter": "dist/driver/CheReporter.js",
|
|
4
|
+
"ui": "tdd",
|
|
5
|
+
"bail": true,
|
|
6
|
+
"full-trace": true,
|
|
7
|
+
"require": [
|
|
8
|
+
"source-map-support/register",
|
|
9
|
+
"./dist/tests/MochaHooks.js"
|
|
10
|
+
],
|
|
11
|
+
"spec": [
|
|
12
|
+
"dist/tests/login/Login.spec.js",
|
|
13
|
+
"dist/tests/e2e/theia/factories/DirectUrlFactoryWithRootFolderTest.spec.js",
|
|
14
|
+
"dist/tests/e2e/theia/factories/DirectUrlFactoryWithSpecificBranchTest.spec.js"
|
|
15
|
+
]
|
|
13
16
|
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
"timeout": "2200000",
|
|
3
|
+
"reporter": "dist/driver/CheReporter.js",
|
|
4
|
+
"ui": "tdd",
|
|
5
|
+
"full-trace": true,
|
|
6
|
+
"require": [
|
|
7
|
+
"source-map-support/register",
|
|
8
|
+
"./dist/tests/MochaHooks.js"
|
|
9
|
+
],
|
|
10
|
+
"spec": [
|
|
11
|
+
"dist/tests/login/Login.spec.js",
|
|
12
|
+
"dist/tests/plugins/theia/VscodeXmlPlugin.spec.js",
|
|
13
|
+
"dist/tests/plugins/theia/VscodeYamlPlugin.spec.js"
|
|
14
|
+
]
|
|
12
15
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"timeout": "1200000",
|
|
3
|
+
"reporter": "dist/driver/CheReporter.js",
|
|
4
|
+
"require": "./dist/tests/MochaHooks.js",
|
|
5
|
+
"ui": "tdd",
|
|
6
|
+
"bail": true,
|
|
7
|
+
"full-trace": true,
|
|
8
|
+
"spec": [
|
|
9
|
+
"dist/tests/login/Login.spec.js",
|
|
10
|
+
"dist/tests/e2e/che-code/*.spec.js"
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"
|
|
2
|
+
"timeout": "2200000",
|
|
3
|
+
"reporter": "dist/driver/CheReporter.js",
|
|
4
|
+
"ui": "tdd",
|
|
5
|
+
"bail": true,
|
|
6
|
+
"full-trace": true,
|
|
7
|
+
"require": [
|
|
8
|
+
"source-map-support/register",
|
|
9
|
+
"./dist/tests/MochaHooks.js"
|
|
10
|
+
],
|
|
11
|
+
"spec": "dist/tests/e2e/theia/OpenshiftConnector.spec.js"
|
|
9
12
|
}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
"timeout": "2200000",
|
|
3
|
+
"reporter": "dist/driver/CheReporter.js",
|
|
4
|
+
"ui": "tdd",
|
|
5
|
+
"full-trace": true,
|
|
6
|
+
"require": [
|
|
7
|
+
"source-map-support/register",
|
|
8
|
+
"./dist/tests/MochaHooks.js"
|
|
9
|
+
],
|
|
10
|
+
"spec": [
|
|
11
|
+
"dist/tests/login/Login.spec.js",
|
|
12
|
+
"dist/tests/e2e_happy_path/theia/DevWorkspaceHappyPath.spec.js"
|
|
13
|
+
]
|
|
11
14
|
}
|
package/mocha-factory-theia.json
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
"timeout": "2200000",
|
|
3
|
+
"reporter": "dist/driver/CheReporter.js",
|
|
4
|
+
"ui": "tdd",
|
|
5
|
+
"full-trace": true,
|
|
6
|
+
"require": [
|
|
7
|
+
"source-map-support/register",
|
|
8
|
+
"./dist/tests/MochaHooks.js"
|
|
9
|
+
],
|
|
10
|
+
"spec": [
|
|
11
|
+
"dist/tests/login/Login.spec.js",
|
|
12
|
+
"dist/tests/e2e/theia/FactoryUrl.spec.js"
|
|
13
|
+
]
|
|
11
14
|
}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
"timeout": "2200000",
|
|
3
|
+
"reporter": "dist/driver/CheReporter.js",
|
|
4
|
+
"ui": "tdd",
|
|
5
|
+
"bail": true,
|
|
6
|
+
"full-trace": true,
|
|
7
|
+
"require": [
|
|
8
|
+
"source-map-support/register",
|
|
9
|
+
"./dist/tests/MochaHooks.js"
|
|
10
|
+
],
|
|
11
|
+
"spec": [
|
|
12
|
+
"dist/tests/e2e/theia/GitPublishBranch.spec.js"
|
|
13
|
+
]
|
|
11
14
|
}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
"timeout": "2200000",
|
|
3
|
+
"reporter": "dist/driver/CheReporter.js",
|
|
4
|
+
"ui": "tdd",
|
|
5
|
+
"bail": true,
|
|
6
|
+
"full-trace": true,
|
|
7
|
+
"require": [
|
|
8
|
+
"source-map-support/register",
|
|
9
|
+
"./dist/tests/MochaHooks.js"
|
|
10
|
+
],
|
|
11
|
+
"spec": [
|
|
12
|
+
"dist/tests/e2e/theia/GitSelfSignCert.spec.js"
|
|
13
|
+
]
|
|
11
14
|
}
|
package/mocha-git-ssh-theia.json
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
"timeout": "2200000",
|
|
3
|
+
"reporter": "dist/driver/CheReporter.js",
|
|
4
|
+
"ui": "tdd",
|
|
5
|
+
"bail": true,
|
|
6
|
+
"full-trace": true,
|
|
7
|
+
"require": [
|
|
8
|
+
"source-map-support/register",
|
|
9
|
+
"./dist/tests/MochaHooks.js"
|
|
10
|
+
],
|
|
11
|
+
"spec": [
|
|
12
|
+
"dist/tests/e2e/theia/GitSsh.spec.js"
|
|
13
|
+
]
|
|
11
14
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"timeout": "2200000",
|
|
3
|
+
"reporter": "dist/driver/CheReporter.js",
|
|
4
|
+
"ui": "tdd",
|
|
5
|
+
"bail": true,
|
|
6
|
+
"full-trace": true,
|
|
7
|
+
"require": [
|
|
8
|
+
"source-map-support/register",
|
|
9
|
+
"./dist/tests/MochaHooks.js"
|
|
10
|
+
],
|
|
11
|
+
"spec": [
|
|
12
|
+
"dist/tests/login/Login.spec.js"
|
|
13
|
+
]
|
|
14
|
+
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
"timeout": "2200000",
|
|
3
|
+
"reporter": "dist/driver/CheReporter.js",
|
|
4
|
+
"ui": "tdd",
|
|
5
|
+
"bail": true,
|
|
6
|
+
"full-trace": true,
|
|
7
|
+
"require": [
|
|
8
|
+
"source-map-support/register",
|
|
9
|
+
"./dist/tests/MochaHooks.js"
|
|
10
|
+
],
|
|
11
|
+
"spec": [
|
|
12
|
+
"dist/tests/login/Login.spec.js",
|
|
13
|
+
"dist/tests/e2e_happy_path/theia/HappyPath.spec.js"
|
|
14
|
+
]
|
|
12
15
|
}
|
package/mocha-java-maven.json
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
"timeout": "1200000",
|
|
3
|
+
"reporter": "dist/driver/CheReporter.js",
|
|
4
|
+
"require": "./dist/tests/MochaHooks.js",
|
|
5
|
+
"ui": "tdd",
|
|
6
|
+
"bail": true,
|
|
7
|
+
"full-trace": true,
|
|
8
|
+
"support": "source-map-support/register",
|
|
9
|
+
"spec": [
|
|
10
|
+
"dist/tests/login/Login.spec.js",
|
|
11
|
+
"dist/tests/devfiles/JavaMaven.spec.js"
|
|
12
|
+
]
|
|
9
13
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"timeout": "1200000",
|
|
3
|
+
"require": "./dist/tests/MochaHooks.js",
|
|
4
|
+
"reporter": "dist/driver/CheReporter.js",
|
|
5
|
+
"ui": "tdd",
|
|
6
|
+
"bail": true,
|
|
7
|
+
"full-trace": true,
|
|
8
|
+
"support": "source-map-support/register",
|
|
9
|
+
"spec": [
|
|
10
|
+
"dist/tests/login/Login.spec.js"
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
"timeout": "1200000",
|
|
3
|
+
"require": "./dist/tests/MochaHooks.js",
|
|
4
|
+
"reporter": "dist/driver/CheReporter.js",
|
|
5
|
+
"ui": "tdd",
|
|
6
|
+
"bail": true,
|
|
7
|
+
"full-trace": true,
|
|
8
|
+
"support": "source-map-support/register",
|
|
9
|
+
"spec": [
|
|
10
|
+
"dist/tests/login/Login.spec.js",
|
|
11
|
+
"dist/tests/devfiles/theia/JavaSpringBoot.spec.js"
|
|
12
|
+
]
|
|
9
13
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"timeout": "1200000",
|
|
3
|
+
"require": "./dist/tests/MochaHooks.js",
|
|
4
|
+
"reporter": "dist/driver/CheReporter.js",
|
|
5
|
+
"ui": "tdd",
|
|
6
|
+
"bail": true,
|
|
7
|
+
"full-trace": true,
|
|
8
|
+
"support": "source-map-support/register",
|
|
9
|
+
"spec": [
|
|
10
|
+
"dist/tests/login/Login.spec.js"
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
"timeout": "1200000",
|
|
3
|
+
"require": "./dist/tests/MochaHooks.js",
|
|
4
|
+
"reporter": "dist/driver/CheReporter.js",
|
|
5
|
+
"ui": "tdd",
|
|
6
|
+
"bail": true,
|
|
7
|
+
"full-trace": true,
|
|
8
|
+
"support": "source-map-support/register",
|
|
9
|
+
"spec": [
|
|
10
|
+
"dist/tests/login/Login.spec.js",
|
|
11
|
+
"dist/tests/devfiles/theia/JavaVertx.spec.js"
|
|
12
|
+
]
|
|
9
13
|
}
|
package/mocha-load-theia.json
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
"timeout": "1200000",
|
|
3
|
+
"require": "./dist/tests/MochaHooks.js",
|
|
4
|
+
"reporter": "dist/driver/CheReporter.js",
|
|
5
|
+
"ui": "tdd",
|
|
6
|
+
"bail": true,
|
|
7
|
+
"full-trace": true,
|
|
8
|
+
"support": "source-map-support/register",
|
|
9
|
+
"spec": [
|
|
10
|
+
"dist/tests/load_test/theia/LoadTest.spec.js"
|
|
11
|
+
]
|
|
9
12
|
}
|
package/mocha-scala.json
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
"timeout": "1200000",
|
|
3
|
+
"require": "./dist/tests/MochaHooks.js",
|
|
4
|
+
"reporter": "dist/driver/CheReporter.js",
|
|
5
|
+
"ui": "tdd",
|
|
6
|
+
"bail": true,
|
|
7
|
+
"full-trace": true,
|
|
8
|
+
"support": "source-map-support/register",
|
|
9
|
+
"spec": [
|
|
10
|
+
"dist/tests/login/Login.spec.js",
|
|
11
|
+
"dist/tests/devfiles/Scala.spec.js"
|
|
12
|
+
]
|
|
9
13
|
}
|