@eclipse-che/che-e2e 7.62.0 → 7.63.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/configs/inversify.config.ts +88 -0
- package/{inversify.types.ts → configs/inversify.types.ts} +6 -9
- package/configs/mocharc.ts +21 -0
- package/{generateIndex.sh → configs/sh-scripts/generateIndex.sh} +8 -10
- package/{initDevfileTests.sh → configs/sh-scripts/initDevfileTests.sh} +18 -27
- package/{TestConstants.ts → constants/TestConstants.ts} +1 -1
- package/{TimeoutConstants.ts → constants/TimeoutConstants.ts} +1 -1
- package/dist/configs/inversify.config.js +81 -0
- package/dist/configs/inversify.config.js.map +1 -0
- package/dist/{inversify.types.js → configs/inversify.types.js} +5 -8
- package/dist/configs/inversify.types.js.map +1 -0
- package/dist/configs/mocharc.js +20 -0
- package/dist/configs/mocharc.js.map +1 -0
- package/dist/{TestConstants.js → constants/TestConstants.js} +1 -1
- package/dist/constants/TestConstants.js.map +1 -0
- package/dist/{TimeoutConstants.js → constants/TimeoutConstants.js} +1 -1
- package/dist/constants/TimeoutConstants.js.map +1 -0
- package/dist/driver/ChromeDriver.js +2 -2
- package/dist/driver/ChromeDriver.js.map +1 -1
- package/dist/pageobjects/dashboard/CreateWorkspace.js +4 -4
- package/dist/pageobjects/dashboard/CreateWorkspace.js.map +1 -1
- package/dist/pageobjects/dashboard/Dashboard.js +4 -4
- package/dist/pageobjects/dashboard/Dashboard.js.map +1 -1
- package/dist/pageobjects/dashboard/Workspaces.js +3 -3
- package/dist/pageobjects/dashboard/Workspaces.js.map +1 -1
- package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetails.js +10 -8
- package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetails.js.map +1 -1
- package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetailsPlugins.js +3 -3
- package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetailsPlugins.js.map +1 -1
- package/dist/pageobjects/login/ICheLoginPage.js +1 -1
- package/dist/pageobjects/login/IOcpLoginPage.js +1 -1
- package/dist/pageobjects/login/MultiUserLoginPage.js +3 -3
- package/dist/pageobjects/login/MultiUserLoginPage.js.map +1 -1
- package/dist/pageobjects/login/OcpUserLoginPage.js +3 -3
- package/dist/pageobjects/login/OcpUserLoginPage.js.map +1 -1
- package/dist/pageobjects/login/RegularUserOcpCheLoginPage.js +4 -4
- package/dist/pageobjects/login/RegularUserOcpCheLoginPage.js.map +1 -1
- package/dist/pageobjects/login/UpdateAccountInformationPage.js +2 -2
- package/dist/pageobjects/login/UpdateAccountInformationPage.js.map +1 -1
- package/dist/pageobjects/openshift/CheLoginPage.js +3 -3
- package/dist/pageobjects/openshift/CheLoginPage.js.map +1 -1
- package/dist/pageobjects/openshift/OcpLoginPage.js +4 -4
- package/dist/pageobjects/openshift/OcpLoginPage.js.map +1 -1
- package/dist/pageobjects/third-parties/GitLoginPage.js +4 -4
- package/dist/pageobjects/third-parties/GitLoginPage.js.map +1 -1
- package/dist/pageobjects/third-parties/GitOauthAppsSettings.js +3 -3
- package/dist/pageobjects/third-parties/GitOauthAppsSettings.js.map +1 -1
- package/dist/{tests → specs}/MochaHooks.js +32 -18
- package/dist/specs/MochaHooks.js.map +1 -0
- package/dist/{tests/devfiles/che-code → specs/devfiles}/EmptyWorkspace.spec.js +10 -11
- package/dist/specs/devfiles/EmptyWorkspace.spec.js.map +1 -0
- package/dist/{tests → specs}/login/LinkCheAndOcpUsers.spec.js +13 -12
- package/dist/specs/login/LinkCheAndOcpUsers.spec.js.map +1 -0
- package/dist/{utils/AnimationChecker.js → tests-library/LoginTests.js} +26 -18
- package/dist/tests-library/LoginTests.js.map +1 -0
- package/dist/{testsLibrary/che-code/ProjectAndFileTestsCheCode.js → tests-library/ProjectAndFileTests.js} +11 -11
- package/dist/tests-library/ProjectAndFileTests.js.map +1 -0
- package/dist/{testsLibrary → tests-library}/WorkspaceHandlingTests.js +4 -4
- package/dist/tests-library/WorkspaceHandlingTests.js.map +1 -0
- package/dist/utils/BrowserTabsUtil.js +3 -3
- package/dist/utils/BrowserTabsUtil.js.map +1 -1
- package/dist/{driver → utils}/CheReporter.js +6 -10
- package/dist/utils/CheReporter.js.map +1 -0
- package/dist/utils/DriverHelper.js +3 -3
- package/dist/utils/DriverHelper.js.map +1 -1
- package/dist/utils/Logger.js +2 -2
- package/dist/utils/Logger.js.map +1 -1
- package/dist/utils/Sanitizer.js +1 -1
- package/dist/utils/ScreenCatcher.js +7 -7
- package/dist/utils/ScreenCatcher.js.map +1 -1
- package/dist/utils/WorkspaceNameHandler.js +2 -2
- package/dist/utils/WorkspaceNameHandler.js.map +1 -1
- package/dist/utils/{requestHandlers → request-handlers}/CheApiRequestHandler.js +3 -3
- package/dist/utils/request-handlers/CheApiRequestHandler.js.map +1 -0
- package/dist/utils/{requestHandlers → request-handlers}/headers/CheMultiuserAuthorizationHeaderHandler.js +1 -1
- package/dist/utils/request-handlers/headers/CheMultiuserAuthorizationHeaderHandler.js.map +1 -0
- package/dist/utils/{requestHandlers → request-handlers}/headers/IAuthorizationHeaderHandler.js +1 -1
- package/dist/utils/request-handlers/headers/IAuthorizationHeaderHandler.js.map +1 -0
- package/dist/utils/{requestHandlers → request-handlers}/tokens/CheMultiuserTokenHandler.js +2 -2
- package/dist/utils/request-handlers/tokens/CheMultiuserTokenHandler.js.map +1 -0
- package/dist/utils/{requestHandlers → request-handlers}/tokens/ITokenHandler.js +1 -1
- package/dist/utils/request-handlers/tokens/ITokenHandler.js.map +1 -0
- package/dist/utils/{VCS → vsc}/CheGitApi.js +2 -2
- package/dist/utils/vsc/CheGitApi.js.map +1 -0
- package/dist/utils/{VCS → vsc}/github/GitHubUtil.js.map +1 -1
- package/dist/utils/workspace/ApiUrlResolver.js +3 -3
- package/dist/utils/workspace/ApiUrlResolver.js.map +1 -1
- package/dist/utils/workspace/ITestWorkspaceUtil.js +1 -1
- package/dist/utils/workspace/TestWorkspaceUtil.js +4 -4
- package/dist/utils/workspace/TestWorkspaceUtil.js.map +1 -1
- package/dist/utils/workspace/WorkspaceStatus.js +1 -1
- package/driver/ChromeDriver.ts +2 -2
- package/driver/IDriver.ts +1 -1
- package/package.json +6 -37
- package/pageobjects/dashboard/CreateWorkspace.ts +4 -4
- package/pageobjects/dashboard/Dashboard.ts +4 -4
- package/pageobjects/dashboard/Workspaces.ts +3 -3
- package/pageobjects/dashboard/workspace-details/WorkspaceDetails.ts +8 -8
- package/pageobjects/dashboard/workspace-details/WorkspaceDetailsPlugins.ts +3 -4
- package/pageobjects/login/ICheLoginPage.ts +1 -1
- package/pageobjects/login/IOcpLoginPage.ts +1 -1
- package/pageobjects/login/MultiUserLoginPage.ts +3 -3
- package/pageobjects/login/OcpUserLoginPage.ts +3 -3
- package/pageobjects/login/RegularUserOcpCheLoginPage.ts +4 -4
- package/pageobjects/login/UpdateAccountInformationPage.ts +2 -2
- package/pageobjects/openshift/CheLoginPage.ts +3 -3
- package/pageobjects/openshift/OcpLoginPage.ts +4 -4
- package/pageobjects/third-parties/GitLoginPage.ts +4 -4
- package/pageobjects/third-parties/GitOauthAppsSettings.ts +3 -3
- package/specs/MochaHooks.ts +72 -0
- package/{tests/devfiles/che-code → specs/devfiles}/EmptyWorkspace.spec.ts +12 -9
- package/{tests → specs}/login/LinkCheAndOcpUsers.spec.ts +5 -4
- package/tests-library/LoginTests.ts +35 -0
- package/{testsLibrary/che-code/ProjectAndFileTestsCheCode.ts → tests-library/ProjectAndFileTests.ts} +6 -6
- package/{testsLibrary → tests-library}/WorkspaceHandlingTests.ts +4 -4
- package/utils/BrowserTabsUtil.ts +3 -3
- package/{driver → utils}/CheReporter.ts +10 -15
- package/utils/DriverHelper.ts +4 -4
- package/utils/Logger.ts +2 -2
- package/utils/Sanitizer.ts +1 -1
- package/utils/ScreenCatcher.ts +3 -3
- package/utils/WorkspaceNameHandler.ts +2 -2
- package/utils/{requestHandlers → request-handlers}/CheApiRequestHandler.ts +3 -3
- package/utils/{requestHandlers → request-handlers}/headers/CheMultiuserAuthorizationHeaderHandler.ts +2 -2
- package/utils/{requestHandlers → request-handlers}/headers/IAuthorizationHeaderHandler.ts +1 -1
- package/utils/{requestHandlers → request-handlers}/tokens/CheMultiuserTokenHandler.ts +2 -2
- package/utils/{requestHandlers → request-handlers}/tokens/ITokenHandler.ts +1 -1
- package/utils/{VCS → vsc}/CheGitApi.ts +2 -6
- package/utils/workspace/ApiUrlResolver.ts +3 -3
- package/utils/workspace/ITestWorkspaceUtil.ts +1 -1
- package/utils/workspace/TestWorkspaceUtil.ts +4 -4
- package/utils/workspace/WorkspaceStatus.ts +1 -1
- package/dist/TestConstants.js.map +0 -1
- package/dist/TimeoutConstants.js.map +0 -1
- package/dist/driver/CheReporter.js.map +0 -1
- package/dist/index.js +0 -94
- package/dist/index.js.map +0 -1
- package/dist/inversify.config.js +0 -133
- package/dist/inversify.config.js.map +0 -1
- package/dist/inversify.types.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/tests/MochaHooks.js.map +0 -1
- 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.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.map +0 -1
- package/dist/testsLibrary/che-code/ProjectAndFileTestsCheCode.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.map +0 -1
- package/dist/utils/VCS/CheGitApi.js.map +0 -1
- package/dist/utils/requestHandlers/CheApiRequestHandler.js.map +0 -1
- package/dist/utils/requestHandlers/headers/CheMultiuserAuthorizationHeaderHandler.js.map +0 -1
- package/dist/utils/requestHandlers/headers/IAuthorizationHeaderHandler.js.map +0 -1
- package/dist/utils/requestHandlers/tokens/CheMultiuserTokenHandler.js.map +0 -1
- 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/index.ts +0 -69
- package/initPluginTest.sh +0 -9
- package/inversify.config.ts +0 -141
- package/mocha-all-devfiles-che-code.json +0 -12
- package/mocha-all-devfiles-theia.json +0 -15
- package/mocha-all-factories-che-code.json +0 -14
- package/mocha-all-factories-theia.json +0 -16
- package/mocha-all-plugins-che-code.json +0 -13
- package/mocha-all-plugins-theia.json +0 -15
- package/mocha-che-code.json +0 -12
- package/mocha-connector-theia.json +0 -12
- package/mocha-devworkspace-happy-path-che-code.json +0 -13
- package/mocha-devworkspace-happy-path-theia.json +0 -14
- package/mocha-empty-workspace-devworkspace-happy-path-che-code.json +0 -14
- package/mocha-factory-che-code.json +0 -13
- package/mocha-factory-theia.json +0 -14
- package/mocha-git-publish-branch-theia.json +0 -14
- package/mocha-git-self-sign-cert-theia.json +0 -14
- package/mocha-git-ssh-theia.json +0 -14
- package/mocha-happy-path-che-code.json +0 -14
- package/mocha-happy-path-theia.json +0 -15
- package/mocha-java-maven.json +0 -13
- package/mocha-java-springboot-che-code.json +0 -12
- package/mocha-java-springboot-theia.json +0 -13
- package/mocha-java-vertx-che-code.json +0 -12
- package/mocha-java-vertx-theia.json +0 -13
- package/mocha-load-theia.json +0 -12
- package/mocha-scala.json +0 -13
- package/mocha-single-devfile.json +0 -11
- package/mocha-theia.json +0 -12
- package/mocha-ws-creation-and-ls-theia.json +0 -12
- package/mocha.intelij.json +0 -13
- package/mocha.ocp.link.json +0 -11
- package/mocha.single.plugin.json +0 -8
- package/pageobjects/ide/theia/ContextMenu.ts +0 -55
- package/pageobjects/ide/theia/DebugView.ts +0 -88
- package/pageobjects/ide/theia/DialogWindow.ts +0 -101
- package/pageobjects/ide/theia/Editor.ts +0 -601
- package/pageobjects/ide/theia/Ide.ts +0 -393
- package/pageobjects/ide/theia/LeftToolBar.ts +0 -81
- package/pageobjects/ide/theia/NavigationBar.ts +0 -41
- package/pageobjects/ide/theia/NotificationCenter.ts +0 -75
- package/pageobjects/ide/theia/OpenDialogWidget.ts +0 -92
- package/pageobjects/ide/theia/OpenEditors.ts +0 -63
- package/pageobjects/ide/theia/OpenWorkspaceWidget.ts +0 -48
- package/pageobjects/ide/theia/PreviewWidget.ts +0 -142
- package/pageobjects/ide/theia/ProjectTree.ts +0 -338
- package/pageobjects/ide/theia/QuickOpenContainer.ts +0 -59
- package/pageobjects/ide/theia/RightToolBar.ts +0 -34
- package/pageobjects/ide/theia/Terminal.ts +0 -219
- package/pageobjects/ide/theia/TopMenu.ts +0 -103
- package/pageobjects/ide/theia/plugins/GitHubPullRequestPlugin.ts +0 -130
- package/pageobjects/ide/theia/plugins/GitPlugin.ts +0 -118
- package/pageobjects/ide/theia/plugins/KubernetesPlugin.ts +0 -113
- package/pageobjects/ide/theia/plugins/OpenshiftPlugin.ts +0 -87
- package/pageobjects/ide/theia/plugins/PluginsView.ts +0 -191
- package/tests/MochaHooks.ts +0 -57
- package/tests/devfiles/theia/CSlashCPlusPlus.spec.ts +0 -78
- package/tests/devfiles/theia/DevfileSmoke.spec.ts +0 -50
- package/tests/devfiles/theia/DotNetCore.spec.ts +0 -87
- package/tests/devfiles/theia/Go.spec.ts +0 -81
- package/tests/devfiles/theia/JavaMaven.spec.ts +0 -64
- package/tests/devfiles/theia/JavaSpringBoot.spec.ts +0 -71
- package/tests/devfiles/theia/JavaVertx.spec.ts +0 -65
- package/tests/devfiles/theia/NodeJS.spec.ts +0 -71
- package/tests/devfiles/theia/PHPSimple.spec.ts +0 -80
- package/tests/devfiles/theia/Python.spec.ts +0 -64
- package/tests/devfiles/theia/PythonDjango.spec.ts +0 -67
- package/tests/devfiles/theia/Quarkus.spec.ts +0 -76
- package/tests/devfiles/theia/Scala.spec.ts +0 -70
- package/tests/e2e/theia/FactoryUrl.spec.ts +0 -47
- package/tests/e2e/theia/GitPublishBranch.spec.ts +0 -109
- package/tests/e2e/theia/GitSelfSignCert.spec.ts +0 -110
- package/tests/e2e/theia/GitSsh.spec.ts +0 -144
- package/tests/e2e/theia/OpenshiftConnector.spec.ts +0 -144
- package/tests/e2e/theia/factories/DirectUrlFactoryWithKeepDirectoryTest.spec.ts +0 -60
- package/tests/e2e/theia/factories/DirectUrlFactoryWithRootFolderTest.spec.ts +0 -57
- package/tests/e2e/theia/factories/DirectUrlFactoryWithSpecificBranchTest.spec.ts +0 -57
- package/tests/e2e_happy_path/theia/DevWorkspaceHappyPath.spec.ts +0 -294
- package/tests/e2e_happy_path/theia/HappyPath.spec.ts +0 -348
- package/tests/intelij/IntelijOpenWorkspace.spec.ts +0 -47
- package/tests/load_test/theia/LoadTest.spec.ts +0 -55
- package/tests/login/Login.spec.ts +0 -31
- package/tests/plugins/theia/GitHubPullRequestPlugin.spec.ts +0 -147
- package/tests/plugins/theia/InstallPluginUsingUI.spec.ts +0 -77
- package/tests/plugins/theia/JavaPlugin.spec.ts +0 -100
- package/tests/plugins/theia/PhpPlugin.spec.ts +0 -115
- package/tests/plugins/theia/PythonPlugin.spec.ts +0 -86
- package/tests/plugins/theia/TypescriptPlugin.spec.ts +0 -168
- package/tests/plugins/theia/VscodeKubernetesPlugin.spec.ts +0 -83
- package/tests/plugins/theia/VscodeShellcheckPlugin.spec.ts +0 -100
- package/tests/plugins/theia/VscodeValePlugin.spec.ts +0 -85
- package/tests/plugins/theia/VscodeXmlPlugin.spec.ts +0 -104
- package/tests/plugins/theia/VscodeYamlPlugin.spec.ts +0 -99
- package/testsLibrary/theia/CodeExecutionTestsTheia.ts +0 -220
- package/testsLibrary/theia/LanguageServerTestsTheia.ts +0 -205
- package/testsLibrary/theia/ProjectAndFileTestsTheia.ts +0 -113
- package/utils/AnimationChecker.ts +0 -27
- package/utils/theia/PreferencesHandlerTheia.ts +0 -123
- /package/{initDefaultValues.sh → configs/sh-scripts/initDefaultValues.sh} +0 -0
- /package/dist/utils/{VCS → vsc}/github/GitHubUtil.js +0 -0
- /package/utils/{VCS → vsc}/github/GitHubUtil.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*********************************************************************
|
|
2
|
-
* Copyright (c) 2021 Red Hat, Inc.
|
|
2
|
+
* Copyright (c) 2021-2023 Red Hat, Inc.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made
|
|
5
5
|
* available under the terms of the Eclipse Public License 2.0
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
|
|
11
11
|
import 'reflect-metadata';
|
|
12
12
|
import { injectable, inject } from 'inversify';
|
|
13
|
-
import { CLASSES } from '../../inversify.types';
|
|
13
|
+
import { CLASSES } from '../../configs/inversify.types';
|
|
14
14
|
import { DriverHelper } from '../../utils/DriverHelper';
|
|
15
|
-
import { TimeoutConstants } from '../../TimeoutConstants';
|
|
15
|
+
import { TimeoutConstants } from '../../constants/TimeoutConstants';
|
|
16
16
|
import { Logger } from '../../utils/Logger';
|
|
17
17
|
import { By, error, Key } from 'selenium-webdriver';
|
|
18
18
|
import { BrowserTabsUtil } from '../../utils/BrowserTabsUtil';
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) 2023 Red Hat, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This program and the accompanying materials are made
|
|
5
|
+
* available under the terms of the Eclipse Public License 2.0
|
|
6
|
+
* which is available at https://www.eclipse.org/legal/epl-2.0/
|
|
7
|
+
*
|
|
8
|
+
* SPDX-License-Identifier: EPL-2.0
|
|
9
|
+
**********************************************************************/
|
|
10
|
+
|
|
11
|
+
import 'reflect-metadata';
|
|
12
|
+
import { CLASSES, TYPES } from '../configs/inversify.types';
|
|
13
|
+
import { TestConstants } from '../constants/TestConstants';
|
|
14
|
+
import { CheApiRequestHandler } from '../utils/request-handlers/CheApiRequestHandler';
|
|
15
|
+
import { TimeoutConstants } from '../constants/TimeoutConstants';
|
|
16
|
+
import * as monacoPageObjects from 'monaco-page-objects';
|
|
17
|
+
import * as vscodeExtensionTesterLocators from 'vscode-extension-tester-locators';
|
|
18
|
+
import { e2eContainer } from '../configs/inversify.config';
|
|
19
|
+
import { DriverHelper } from '../utils/DriverHelper';
|
|
20
|
+
import { ITestWorkspaceUtil } from '../utils/workspace/ITestWorkspaceUtil';
|
|
21
|
+
import { Logger } from '../utils/Logger';
|
|
22
|
+
|
|
23
|
+
const driverHelper: DriverHelper = e2eContainer.get(CLASSES.DriverHelper);
|
|
24
|
+
const testWorkspaceUtil: ITestWorkspaceUtil = e2eContainer.get(TYPES.WorkspaceUtil);
|
|
25
|
+
|
|
26
|
+
let latestWorkspace: string = '';
|
|
27
|
+
|
|
28
|
+
export function registerRunningWorkspace(workspaceName: string) {
|
|
29
|
+
Logger.debug(`MochaHooks.registerRunningWorkspace with workspaceName:${workspaceName}`);
|
|
30
|
+
latestWorkspace = workspaceName;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.mochaHooks = {
|
|
34
|
+
beforeAll: [
|
|
35
|
+
async function enableRequestInterceptor() {
|
|
36
|
+
if (TestConstants.TS_SELENIUM_REQUEST_INTERCEPTOR) {
|
|
37
|
+
CheApiRequestHandler.enableRequestInteceptor();
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
async function enableResponseInterceptor() {
|
|
41
|
+
if (TestConstants.TS_SELENIUM_RESPONSE_INTERCEPTOR) {
|
|
42
|
+
CheApiRequestHandler.enableResponseInterceptor();
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
async function initMonacoPageObjects() {
|
|
46
|
+
// init vscode-extension-tester monaco-page-objects
|
|
47
|
+
monacoPageObjects.initPageObjects(TestConstants.TS_SELENIUM_MONACO_PAGE_OBJECTS_USE_VERSION, TestConstants.TS_SELENIUM_MONACO_PAGE_OBJECTS_BASE_VERSION, vscodeExtensionTesterLocators.getLocatorsPath(), driverHelper.getDriver(), 'google-chrome');
|
|
48
|
+
},
|
|
49
|
+
async function prolongTimeoutConstantsInDebugMode() {
|
|
50
|
+
if (TestConstants.TS_DEBUG_MODE === 'true') {
|
|
51
|
+
for (let [timeout, seconds] of Object.entries(TimeoutConstants)) {
|
|
52
|
+
Object.defineProperty(TimeoutConstants, timeout, {value: seconds * 100});
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
afterAll: [
|
|
58
|
+
// stop and remove running workspace
|
|
59
|
+
async () => {
|
|
60
|
+
if (TestConstants.DELETE_WORKSPACE_ON_FAILED_TEST) {
|
|
61
|
+
Logger.info('Property DELETE_WORKSPACE_ON_FAILED_TEST is true - trying to stop and delete running workspace with API.');
|
|
62
|
+
testWorkspaceUtil.stopAndDeleteWorkspaceByName(latestWorkspace);
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
async function stopTheDriver() {
|
|
66
|
+
if (!TestConstants.TS_DEBUG_MODE) {
|
|
67
|
+
await driverHelper.getDriver().quit();
|
|
68
|
+
Logger.info('Chrome driver session stopped.');
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
]
|
|
72
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*********************************************************************
|
|
2
|
-
* Copyright (c) 2020 Red Hat, Inc.
|
|
2
|
+
* Copyright (c) 2020-2023 Red Hat, Inc.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made
|
|
5
5
|
* available under the terms of the Eclipse Public License 2.0
|
|
@@ -7,24 +7,27 @@
|
|
|
7
7
|
*
|
|
8
8
|
* SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
**********************************************************************/
|
|
10
|
-
import { e2eContainer } from '
|
|
10
|
+
import { e2eContainer } from '../../configs/inversify.config';
|
|
11
11
|
import { ActivityBar, ViewControl, Workbench } from 'monaco-page-objects';
|
|
12
|
-
import { CLASSES } from '
|
|
13
|
-
import { WorkspaceHandlingTests } from '
|
|
14
|
-
import { Logger } from '
|
|
15
|
-
import
|
|
16
|
-
import {
|
|
12
|
+
import { CLASSES } from '../../configs/inversify.types';
|
|
13
|
+
import { WorkspaceHandlingTests } from '../../tests-library/WorkspaceHandlingTests';
|
|
14
|
+
import { Logger } from '../../utils/Logger';
|
|
15
|
+
import { ProjectAndFileTests } from '../../tests-library/ProjectAndFileTests';
|
|
16
|
+
import { LoginTests } from '../../tests-library/LoginTests';
|
|
17
|
+
import { registerRunningWorkspace } from '../MochaHooks';
|
|
17
18
|
|
|
18
19
|
const workspaceHandlingTests: WorkspaceHandlingTests = e2eContainer.get(CLASSES.WorkspaceHandlingTests);
|
|
19
|
-
const projectAndFileTests:
|
|
20
|
+
const projectAndFileTests: ProjectAndFileTests = e2eContainer.get(CLASSES.ProjectAndFileTests);
|
|
21
|
+
const loginTests: LoginTests = e2eContainer.get(CLASSES.LoginTests);
|
|
20
22
|
const stackName: string = 'Empty Workspace';
|
|
21
23
|
|
|
22
24
|
suite(`${stackName} test`, async () => {
|
|
23
25
|
suite(`Create ${stackName} workspace`, async () => {
|
|
26
|
+
loginTests.loginIntoChe();
|
|
24
27
|
workspaceHandlingTests.createAndOpenWorkspace(stackName);
|
|
25
28
|
workspaceHandlingTests.obtainWorkspaceNameFromStartingPage();
|
|
26
29
|
test('Register running workspace', async () => {
|
|
27
|
-
|
|
30
|
+
registerRunningWorkspace(WorkspaceHandlingTests.getWorkspaceName());
|
|
28
31
|
});
|
|
29
32
|
test('Wait workspace readiness', async() => {
|
|
30
33
|
await projectAndFileTests.waitWorkspaceReadinessForCheCodeEditor();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*********************************************************************
|
|
2
|
-
* Copyright (c) 2019 Red Hat, Inc.
|
|
2
|
+
* Copyright (c) 2019-2023 Red Hat, Inc.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made
|
|
5
5
|
* available under the terms of the Eclipse Public License 2.0
|
|
@@ -8,13 +8,14 @@
|
|
|
8
8
|
* SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
|
|
11
|
-
import {
|
|
12
|
-
import { e2eContainer } from '../../inversify.config';
|
|
11
|
+
import { CLASSES, TYPES } from '../../configs/inversify.types';
|
|
12
|
+
import { e2eContainer } from '../../configs/inversify.config';
|
|
13
13
|
import { IOcpLoginPage } from '../../pageobjects/login/IOcpLoginPage';
|
|
14
14
|
import { UpdateAccountInformationPage } from '../../pageobjects/login/UpdateAccountInformationPage';
|
|
15
|
-
import { TimeoutConstants } from '../../TimeoutConstants';
|
|
15
|
+
import { TimeoutConstants } from '../../constants/TimeoutConstants';
|
|
16
16
|
import { Dashboard } from '../../pageobjects/dashboard/Dashboard';
|
|
17
17
|
import { BrowserTabsUtil } from '../../utils/BrowserTabsUtil';
|
|
18
|
+
import { TestConstants } from '../../constants/TestConstants';
|
|
18
19
|
|
|
19
20
|
const browserTabsUtil: BrowserTabsUtil = e2eContainer.get(CLASSES.BrowserTabsUtil);
|
|
20
21
|
const ocpLogin: IOcpLoginPage = e2eContainer.get<IOcpLoginPage>(TYPES.OcpLogin);
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) 2019-2023 Red Hat, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This program and the accompanying materials are made
|
|
5
|
+
* available under the terms of the Eclipse Public License 2.0
|
|
6
|
+
* which is available at https://www.eclipse.org/legal/epl-2.0/
|
|
7
|
+
*
|
|
8
|
+
* SPDX-License-Identifier: EPL-2.0
|
|
9
|
+
**********************************************************************/
|
|
10
|
+
|
|
11
|
+
import { CLASSES, TYPES } from '../configs/inversify.types';
|
|
12
|
+
import { ICheLoginPage } from '../pageobjects/login/ICheLoginPage';
|
|
13
|
+
import { TestConstants } from '../constants/TestConstants';
|
|
14
|
+
import { BrowserTabsUtil } from '../utils/BrowserTabsUtil';
|
|
15
|
+
import { Logger } from '../utils/Logger';
|
|
16
|
+
import { inject, injectable } from 'inversify';
|
|
17
|
+
|
|
18
|
+
@injectable()
|
|
19
|
+
export class LoginTests {
|
|
20
|
+
constructor(
|
|
21
|
+
@inject(CLASSES.BrowserTabsUtil) private readonly browserTabsUtil: BrowserTabsUtil,
|
|
22
|
+
@inject(TYPES.CheLogin) private readonly loginPage: ICheLoginPage) {
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
public loginIntoChe(): void {
|
|
26
|
+
test('Login', async () => {
|
|
27
|
+
await this.browserTabsUtil.navigateTo(TestConstants.TS_SELENIUM_BASE_URL);
|
|
28
|
+
await this.loginPage.login();
|
|
29
|
+
if (TestConstants.TS_SELENIUM_LAUNCH_FULLSCREEN) {
|
|
30
|
+
Logger.debug(`TS_SELENIUM_LAUNCH_FULLSCREEN is set to true, maximizing window.`);
|
|
31
|
+
await this.browserTabsUtil.maximize();
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}
|
package/{testsLibrary/che-code/ProjectAndFileTestsCheCode.ts → tests-library/ProjectAndFileTests.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*********************************************************************
|
|
2
|
-
* Copyright (c) 2019 Red Hat, Inc.
|
|
2
|
+
* Copyright (c) 2019-2023 Red Hat, Inc.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made
|
|
5
5
|
* available under the terms of the Eclipse Public License 2.0
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
import 'reflect-metadata';
|
|
12
12
|
import { inject, injectable } from 'inversify';
|
|
13
13
|
import { By, until } from 'selenium-webdriver';
|
|
14
|
-
import { DriverHelper } from '
|
|
15
|
-
import { CLASSES } from '
|
|
16
|
-
import { Logger } from '
|
|
17
|
-
import { TimeoutConstants } from '
|
|
14
|
+
import { DriverHelper } from '../utils/DriverHelper';
|
|
15
|
+
import { CLASSES } from '../configs/inversify.types';
|
|
16
|
+
import { Logger } from '../utils/Logger';
|
|
17
|
+
import { TimeoutConstants } from '../constants/TimeoutConstants';
|
|
18
18
|
|
|
19
19
|
@injectable()
|
|
20
|
-
export class
|
|
20
|
+
export class ProjectAndFileTests {
|
|
21
21
|
|
|
22
22
|
constructor(
|
|
23
23
|
@inject(CLASSES.DriverHelper) private readonly driverHelper: DriverHelper) {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*********************************************************************
|
|
2
|
-
* Copyright (c) 2019 Red Hat, Inc.
|
|
2
|
+
* Copyright (c) 2019-2023 Red Hat, Inc.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made
|
|
5
5
|
* available under the terms of the Eclipse Public License 2.0
|
|
@@ -10,17 +10,17 @@
|
|
|
10
10
|
|
|
11
11
|
import 'reflect-metadata';
|
|
12
12
|
import { inject, injectable } from 'inversify';
|
|
13
|
-
import { CLASSES } from '../inversify.types';
|
|
13
|
+
import { CLASSES } from '../configs/inversify.types';
|
|
14
14
|
import { Dashboard } from '../pageobjects/dashboard/Dashboard';
|
|
15
15
|
import { CreateWorkspace } from '../pageobjects/dashboard/CreateWorkspace';
|
|
16
16
|
import { Workspaces } from '../pageobjects/dashboard/Workspaces';
|
|
17
17
|
import { BrowserTabsUtil } from '../utils/BrowserTabsUtil';
|
|
18
18
|
import { Logger } from '../utils/Logger';
|
|
19
19
|
import { ApiUrlResolver } from '../utils/workspace/ApiUrlResolver';
|
|
20
|
-
import { TimeoutConstants } from '../TimeoutConstants';
|
|
20
|
+
import { TimeoutConstants } from '../constants/TimeoutConstants';
|
|
21
21
|
import { DriverHelper } from '../utils/DriverHelper';
|
|
22
22
|
import { By, error } from 'selenium-webdriver';
|
|
23
|
-
import { TestConstants } from '../TestConstants';
|
|
23
|
+
import { TestConstants } from '../constants/TestConstants';
|
|
24
24
|
|
|
25
25
|
@injectable()
|
|
26
26
|
export class WorkspaceHandlingTests {
|
package/utils/BrowserTabsUtil.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*********************************************************************
|
|
2
|
-
* Copyright (c) 2019 Red Hat, Inc.
|
|
2
|
+
* Copyright (c) 2019-2023 Red Hat, Inc.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made
|
|
5
5
|
* available under the terms of the Eclipse Public License 2.0
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
|
|
11
11
|
import { injectable, inject } from 'inversify';
|
|
12
12
|
import { By, error } from 'selenium-webdriver';
|
|
13
|
-
import { CLASSES } from '../inversify.types';
|
|
13
|
+
import { CLASSES } from '../configs/inversify.types';
|
|
14
14
|
import { DriverHelper } from './DriverHelper';
|
|
15
15
|
import { Logger } from './Logger';
|
|
16
|
-
import { TimeoutConstants } from '../TimeoutConstants';
|
|
16
|
+
import { TimeoutConstants } from '../constants/TimeoutConstants';
|
|
17
17
|
|
|
18
18
|
@injectable()
|
|
19
19
|
export class BrowserTabsUtil {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*********************************************************************
|
|
2
|
-
* Copyright (c) 2019 Red Hat, Inc.
|
|
2
|
+
* Copyright (c) 2019-2023 Red Hat, Inc.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made
|
|
5
5
|
* available under the terms of the Eclipse Public License 2.0
|
|
@@ -8,18 +8,18 @@
|
|
|
8
8
|
* SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
import * as mocha from 'mocha';
|
|
11
|
-
import { TYPES, CLASSES } from '../inversify.types';
|
|
11
|
+
import { TYPES, CLASSES } from '../configs/inversify.types';
|
|
12
12
|
import * as fs from 'fs';
|
|
13
13
|
import * as rm from 'rimraf';
|
|
14
|
-
import { TestConstants } from '../TestConstants';
|
|
14
|
+
import { TestConstants } from '../constants/TestConstants';
|
|
15
15
|
import { logging } from 'selenium-webdriver';
|
|
16
|
-
import { DriverHelper } from '
|
|
17
|
-
import { ScreenCatcher } from '
|
|
18
|
-
import { ITestWorkspaceUtil } from '
|
|
19
|
-
import { TimeoutConstants } from '../TimeoutConstants';
|
|
20
|
-
import { Logger } from '
|
|
21
|
-
import { Sanitizer } from '
|
|
22
|
-
import { e2eContainer } from '../inversify.config';
|
|
16
|
+
import { DriverHelper } from './DriverHelper';
|
|
17
|
+
import { ScreenCatcher } from './ScreenCatcher';
|
|
18
|
+
import { ITestWorkspaceUtil } from './workspace/ITestWorkspaceUtil';
|
|
19
|
+
import { TimeoutConstants } from '../constants/TimeoutConstants';
|
|
20
|
+
import { Logger } from './Logger';
|
|
21
|
+
import { Sanitizer } from './Sanitizer';
|
|
22
|
+
import { e2eContainer } from '../configs/inversify.config';
|
|
23
23
|
|
|
24
24
|
const driverHelper: DriverHelper = e2eContainer.get(CLASSES.DriverHelper);
|
|
25
25
|
const screenCatcher: ScreenCatcher = e2eContainer.get(CLASSES.ScreenCatcher);
|
|
@@ -30,11 +30,6 @@ let testWorkspaceUtil: ITestWorkspaceUtil = e2eContainer.get(TYPES.WorkspaceUtil
|
|
|
30
30
|
|
|
31
31
|
class CheReporter extends mocha.reporters.Spec {
|
|
32
32
|
|
|
33
|
-
public static registerRunningWorkspace(workspaceName: string) {
|
|
34
|
-
Logger.debug(`CheReporter.registerRunningWorkspace {${workspaceName}}`);
|
|
35
|
-
CheReporter.latestWorkspace = workspaceName;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
33
|
private static latestWorkspace: string = '';
|
|
39
34
|
|
|
40
35
|
constructor(runner: mocha.Runner, options: mocha.MochaOptions) {
|
package/utils/DriverHelper.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*********************************************************************
|
|
2
|
-
* Copyright (c) 2019 Red Hat, Inc.
|
|
2
|
+
* Copyright (c) 2019-2023 Red Hat, Inc.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made
|
|
5
5
|
* available under the terms of the Eclipse Public License 2.0
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
import { IDriver } from '../driver/IDriver';
|
|
11
11
|
import { inject, injectable } from 'inversify';
|
|
12
|
-
import { TYPES } from '../inversify.types';
|
|
12
|
+
import { TYPES } from '../configs/inversify.types';
|
|
13
13
|
import { error, Actions } from 'selenium-webdriver';
|
|
14
14
|
import 'reflect-metadata';
|
|
15
15
|
import { ThenableWebDriver, By, until, WebElement } from 'selenium-webdriver';
|
|
16
|
-
import { TestConstants } from '../TestConstants';
|
|
16
|
+
import { TestConstants } from '../constants/TestConstants';
|
|
17
17
|
import { Logger } from './Logger';
|
|
18
|
-
import { TimeoutConstants } from '../TimeoutConstants';
|
|
18
|
+
import { TimeoutConstants } from '../constants/TimeoutConstants';
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
@injectable()
|
package/utils/Logger.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { TestConstants } from '../TestConstants';
|
|
1
|
+
import { TestConstants } from '../constants/TestConstants';
|
|
2
2
|
|
|
3
3
|
/*********************************************************************
|
|
4
|
-
* Copyright (c) 2019 Red Hat, Inc.
|
|
4
|
+
* Copyright (c) 2019-2023 Red Hat, Inc.
|
|
5
5
|
*
|
|
6
6
|
* This program and the accompanying materials are made
|
|
7
7
|
* available under the terms of the Eclipse Public License 2.0
|
package/utils/Sanitizer.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*********************************************************************
|
|
2
|
-
* Copyright (c) 2021 Red Hat, Inc.
|
|
2
|
+
* Copyright (c) 2021-2023 Red Hat, Inc.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made
|
|
5
5
|
* available under the terms of the Eclipse Public License 2.0
|
package/utils/ScreenCatcher.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*********************************************************************
|
|
2
|
-
* Copyright (c) 2021 Red Hat, Inc.
|
|
2
|
+
* Copyright (c) 2021-2023 Red Hat, Inc.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made
|
|
5
5
|
* available under the terms of the Eclipse Public License 2.0
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
import * as fs from 'fs';
|
|
11
11
|
import { injectable, inject } from 'inversify';
|
|
12
|
-
import { CLASSES } from '../inversify.types';
|
|
12
|
+
import { CLASSES } from '../configs/inversify.types';
|
|
13
13
|
import { DriverHelper } from './DriverHelper';
|
|
14
|
-
import { TestConstants } from '..';
|
|
15
14
|
import { Sanitizer } from './Sanitizer';
|
|
16
15
|
import { error } from 'selenium-webdriver';
|
|
16
|
+
import { TestConstants } from '../constants/TestConstants';
|
|
17
17
|
|
|
18
18
|
@injectable()
|
|
19
19
|
export class ScreenCatcher {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*********************************************************************
|
|
2
|
-
* Copyright (c) 2019 Red Hat, Inc.
|
|
2
|
+
* Copyright (c) 2019-2023 Red Hat, Inc.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made
|
|
5
5
|
* available under the terms of the Eclipse Public License 2.0
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
|
|
11
|
-
import { CLASSES } from '../inversify.types';
|
|
11
|
+
import { CLASSES } from '../configs/inversify.types';
|
|
12
12
|
import { inject, injectable } from 'inversify';
|
|
13
13
|
import { BrowserTabsUtil } from './BrowserTabsUtil';
|
|
14
14
|
import { Logger } from './Logger';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*********************************************************************
|
|
2
|
-
* Copyright (c) 2019 Red Hat, Inc.
|
|
2
|
+
* Copyright (c) 2019-2023 Red Hat, Inc.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made
|
|
5
5
|
* available under the terms of the Eclipse Public License 2.0
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
|
|
11
11
|
import axios, { AxiosResponse, AxiosRequestConfig } from 'axios';
|
|
12
|
-
import { TestConstants } from '../../TestConstants';
|
|
13
|
-
import { TYPES } from '../../inversify.types';
|
|
12
|
+
import { TestConstants } from '../../constants/TestConstants';
|
|
13
|
+
import { TYPES } from '../../configs/inversify.types';
|
|
14
14
|
import { inject, injectable } from 'inversify';
|
|
15
15
|
import { IAuthorizationHeaderHandler } from './headers/IAuthorizationHeaderHandler';
|
|
16
16
|
import { Logger } from '../Logger';
|
package/utils/{requestHandlers → request-handlers}/headers/CheMultiuserAuthorizationHeaderHandler.ts
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*********************************************************************
|
|
2
|
-
* Copyright (c) 2019 Red Hat, Inc.
|
|
2
|
+
* Copyright (c) 2019-2023 Red Hat, Inc.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made
|
|
5
5
|
* available under the terms of the Eclipse Public License 2.0
|
|
@@ -11,7 +11,7 @@ import { AxiosRequestConfig } from 'axios';
|
|
|
11
11
|
import { IAuthorizationHeaderHandler } from './IAuthorizationHeaderHandler';
|
|
12
12
|
import { inject, injectable } from 'inversify';
|
|
13
13
|
import { DriverHelper } from '../../DriverHelper';
|
|
14
|
-
import { CLASSES } from '../../../inversify.types';
|
|
14
|
+
import { CLASSES } from '../../../configs/inversify.types';
|
|
15
15
|
import { Logger } from '../../Logger';
|
|
16
16
|
|
|
17
17
|
@injectable()
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*********************************************************************
|
|
2
|
-
* Copyright (c) 2019 Red Hat, Inc.
|
|
2
|
+
* Copyright (c) 2019-2023 Red Hat, Inc.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made
|
|
5
5
|
* available under the terms of the Eclipse Public License 2.0
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*********************************************************************
|
|
2
|
-
* Copyright (c) 2019 Red Hat, Inc.
|
|
2
|
+
* Copyright (c) 2019-2023 Red Hat, Inc.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made
|
|
5
5
|
* available under the terms of the Eclipse Public License 2.0
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import axios from 'axios';
|
|
11
11
|
import querystring from 'querystring';
|
|
12
12
|
import { injectable } from 'inversify';
|
|
13
|
-
import { TestConstants } from '../../../TestConstants';
|
|
13
|
+
import { TestConstants } from '../../../constants/TestConstants';
|
|
14
14
|
import { ITokenHandler } from './ITokenHandler';
|
|
15
15
|
|
|
16
16
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*********************************************************************
|
|
2
|
-
* Copyright (c) 2019 Red Hat, Inc.
|
|
2
|
+
* Copyright (c) 2019-2023 Red Hat, Inc.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made
|
|
5
5
|
* available under the terms of the Eclipse Public License 2.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { injectable, inject } from 'inversify';
|
|
2
|
-
import { CLASSES } from '../../inversify.types';
|
|
3
|
-
import { CheApiRequestHandler } from '
|
|
2
|
+
import { CLASSES } from '../../configs/inversify.types';
|
|
3
|
+
import { CheApiRequestHandler } from '../request-handlers/CheApiRequestHandler';
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
@injectable()
|
|
@@ -9,8 +9,6 @@ export class CheGitApi {
|
|
|
9
9
|
|
|
10
10
|
constructor(@inject(CLASSES.CheApiRequestHandler) private readonly processRequestHandler: CheApiRequestHandler) { }
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
12
|
public async getPublicSSHKey(): Promise<string> {
|
|
15
13
|
|
|
16
14
|
try {
|
|
@@ -20,7 +18,5 @@ export class CheGitApi {
|
|
|
20
18
|
console.error('Cannot get public ssh key with API \n' + error);
|
|
21
19
|
throw error;
|
|
22
20
|
}
|
|
23
|
-
|
|
24
21
|
}
|
|
25
|
-
|
|
26
22
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*********************************************************************
|
|
2
|
-
* Copyright (c) 2019 Red Hat, Inc.
|
|
2
|
+
* Copyright (c) 2019-2023 Red Hat, Inc.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made
|
|
5
5
|
* available under the terms of the Eclipse Public License 2.0
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
* SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
import { inject, injectable } from 'inversify';
|
|
11
|
-
import { CLASSES } from '../../inversify.types';
|
|
11
|
+
import { CLASSES } from '../../configs/inversify.types';
|
|
12
12
|
import { Logger } from '../Logger';
|
|
13
|
-
import { CheApiRequestHandler } from '../
|
|
13
|
+
import { CheApiRequestHandler } from '../request-handlers/CheApiRequestHandler';
|
|
14
14
|
|
|
15
15
|
@injectable()
|
|
16
16
|
export class ApiUrlResolver {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*********************************************************************
|
|
2
|
-
* Copyright (c) 2019 Red Hat, Inc.
|
|
2
|
+
* Copyright (c) 2019-2023 Red Hat, Inc.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made
|
|
5
5
|
* available under the terms of the Eclipse Public License 2.0
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*********************************************************************
|
|
2
|
-
* Copyright (c) 2019 Red Hat, Inc.
|
|
2
|
+
* Copyright (c) 2019-2023 Red Hat, Inc.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made
|
|
5
5
|
* available under the terms of the Eclipse Public License 2.0
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
|
|
11
11
|
import 'reflect-metadata';
|
|
12
12
|
import { che } from '@eclipse-che/api';
|
|
13
|
-
import { TestConstants } from '../../TestConstants';
|
|
13
|
+
import { TestConstants } from '../../constants/TestConstants';
|
|
14
14
|
import { injectable, inject } from 'inversify';
|
|
15
15
|
import { DriverHelper } from '../DriverHelper';
|
|
16
16
|
import { WorkspaceStatus } from './WorkspaceStatus';
|
|
17
17
|
import { error } from 'selenium-webdriver';
|
|
18
|
-
import { CheApiRequestHandler } from '../
|
|
19
|
-
import { CLASSES } from '../../inversify.types';
|
|
18
|
+
import { CheApiRequestHandler } from '../request-handlers/CheApiRequestHandler';
|
|
19
|
+
import { CLASSES } from '../../configs/inversify.types';
|
|
20
20
|
import { Logger } from '../Logger';
|
|
21
21
|
import axios from 'axios';
|
|
22
22
|
import { ITestWorkspaceUtil } from './ITestWorkspaceUtil';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*********************************************************************
|
|
2
|
-
* Copyright (c) 2019 Red Hat, Inc.
|
|
2
|
+
* Copyright (c) 2019-2023 Red Hat, Inc.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made
|
|
5
5
|
* available under the terms of the Eclipse Public License 2.0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TestConstants.js","sourceRoot":"","sources":["../TestConstants.ts"],"names":[],"mappings":";AAAA;;;;;;;;wEAQwE;;;AAExE,SAAS,UAAU;IACf,MAAM,OAAO,GAAuB,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC;IACrE,IAAI,CAAC,OAAO,EAAE;QACV,OAAO,mBAAmB,CAAC;KAC9B;IAED,OAAO,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;AACtC,CAAC;AAED,IAAY,UAGX;AAHD,WAAY,UAAU;IAClB,6BAAe,CAAA;IACf,mCAAqB,CAAA;AACzB,CAAC,EAHW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAGrB;AAEY,QAAA,aAAa,GAAG;IACzB;;OA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