@eclipse-che/che-e2e 7.56.0 → 7.56.1-dev-8788793
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 +23 -0
- package/driver/CheReporter.ts +16 -5
- package/driver/ChromeDriver.ts +7 -5
- package/index.ts +26 -26
- package/initDefaultValues.sh +2 -0
- package/initDevfileTests.sh +7 -3
- package/initPluginTest.sh +1 -1
- package/inversify.config.ts +30 -30
- package/inversify.types.ts +4 -4
- package/{mocha-all-devfiles.json → mocha-all-devfiles-theia.json} +2 -2
- package/{mocha-git-ssh.json → mocha-all-factories-code.json} +1 -1
- package/{mocha-all-factories.json → mocha-all-factories-theia.json} +2 -2
- package/mocha-all-plugins-code.json +10 -0
- package/{mocha-all-plugins.json → mocha-all-plugins-theia.json} +2 -2
- package/{mocha.json → mocha-code.json} +1 -1
- package/{mocha-connector.json → mocha-connector-theia.json} +1 -1
- package/mocha-devworkspace-happy-path-code.json +10 -0
- package/{mocha-devworkspace-happy-path.json → mocha-devworkspace-happy-path-theia.json} +1 -1
- package/mocha-factory-code.json +10 -0
- package/{mocha-factory.json → mocha-factory-theia.json} +1 -1
- package/mocha-git-publish-branch-theia.json +11 -0
- package/mocha-git-self-sign-cert-theia.json +11 -0
- package/{mocha-git-self-sign-cert.json → mocha-git-ssh-theia.json} +1 -1
- package/{mocha-git-publish-branch.json → mocha-happy-path-code.json} +1 -1
- package/{mocha-happy-path.json → mocha-happy-path-theia.json} +1 -1
- package/{mocha-java-vertx.json → mocha-java-maven.json} +1 -1
- package/{mocha-load.json → mocha-java-springboot-code.json} +1 -1
- package/mocha-java-springboot-theia.json +9 -0
- package/{mocha-wkspc-creation-and-ls.json → mocha-java-vertx-code.json} +1 -1
- package/mocha-java-vertx-theia.json +9 -0
- package/mocha-load-theia.json +9 -0
- package/mocha-scala.json +9 -0
- package/mocha-theia.json +8 -0
- package/mocha-ws-creation-and-ls-theia.json +9 -0
- package/package.json +37 -25
- package/pageobjects/dashboard/CreateWorkspace.ts +9 -1
- package/pageobjects/dashboard/workspace-details/WorkspaceDetails.ts +1 -1
- package/pageobjects/ide/{ContextMenu.ts → theia/ContextMenu.ts} +6 -6
- package/pageobjects/ide/{DebugView.ts → theia/DebugView.ts} +6 -6
- package/pageobjects/ide/{DialogWindow.ts → theia/DialogWindow.ts} +4 -4
- package/pageobjects/ide/{Editor.ts → theia/Editor.ts} +19 -20
- package/pageobjects/ide/{Ide.ts → theia/Ide.ts} +5 -5
- package/pageobjects/ide/{LeftToolBar.ts → theia/LeftToolBar.ts} +4 -4
- package/pageobjects/ide/{NavigationBar.ts → theia/NavigationBar.ts} +7 -7
- package/pageobjects/ide/{NotificationCenter.ts → theia/NotificationCenter.ts} +4 -4
- package/pageobjects/ide/{OpenDialogWidget.ts → theia/OpenDialogWidget.ts} +6 -6
- package/pageobjects/ide/{OpenEditors.ts → theia/OpenEditors.ts} +4 -4
- package/pageobjects/ide/{OpenWorkspaceWidget.ts → theia/OpenWorkspaceWidget.ts} +4 -4
- package/pageobjects/ide/{PreviewWidget.ts → theia/PreviewWidget.ts} +5 -5
- package/pageobjects/ide/{ProjectTree.ts → theia/ProjectTree.ts} +6 -6
- package/pageobjects/ide/{QuickOpenContainer.ts → theia/QuickOpenContainer.ts} +4 -4
- package/pageobjects/ide/{RightToolBar.ts → theia/RightToolBar.ts} +4 -4
- package/pageobjects/ide/{Terminal.ts → theia/Terminal.ts} +5 -5
- package/pageobjects/ide/{TopMenu.ts → theia/TopMenu.ts} +5 -5
- package/pageobjects/ide/{plugins → theia/plugins}/GitHubPullRequestPlugin.ts +5 -5
- package/pageobjects/ide/{plugins → theia/plugins}/GitPlugin.ts +4 -4
- package/pageobjects/ide/{plugins → theia/plugins}/KubernetesPlugin.ts +4 -4
- package/pageobjects/ide/{plugins → theia/plugins}/OpenshiftPlugin.ts +4 -4
- package/pageobjects/ide/{plugins → theia/plugins}/PluginsView.ts +4 -4
- package/tests/devfiles/code/JavaSpringBoot.spec.ts +77 -0
- package/tests/devfiles/{CSlashCPlusPlus.spec.ts → theia/CSlashCPlusPlus.spec.ts} +11 -11
- package/tests/devfiles/{DevfileSmoke.spec.ts → theia/DevfileSmoke.spec.ts} +10 -10
- package/tests/devfiles/{DotNetCore.spec.ts → theia/DotNetCore.spec.ts} +11 -11
- package/tests/devfiles/{Go.spec.ts → theia/Go.spec.ts} +13 -13
- package/tests/devfiles/{JavaMaven.spec.ts → theia/JavaMaven.spec.ts} +10 -10
- package/tests/devfiles/{JavaSpringBoot.spec.ts → theia/JavaSpringBoot.spec.ts} +10 -10
- package/tests/devfiles/{JavaVertx.spec.ts → theia/JavaVertx.spec.ts} +10 -10
- package/tests/devfiles/{NodeJS.spec.ts → theia/NodeJS.spec.ts} +10 -10
- package/tests/devfiles/{PHPSimple.spec.ts → theia/PHPSimple.spec.ts} +11 -11
- package/tests/devfiles/{Python.spec.ts → theia/Python.spec.ts} +10 -10
- package/tests/devfiles/{PythonDjango.spec.ts → theia/PythonDjango.spec.ts} +8 -8
- package/tests/devfiles/{Quarkus.spec.ts → theia/Quarkus.spec.ts} +10 -10
- package/tests/devfiles/{Scala.spec.ts → theia/Scala.spec.ts} +10 -10
- package/tests/e2e/{FactoryUrl.spec.ts → theia/FactoryUrl.spec.ts} +9 -9
- package/tests/e2e/{GitPublishBranch.spec.ts → theia/GitPublishBranch.spec.ts} +16 -16
- package/tests/e2e/{GitSelfSignCert.spec.ts → theia/GitSelfSignCert.spec.ts} +17 -17
- package/tests/e2e/{GitSsh.spec.ts → theia/GitSsh.spec.ts} +20 -20
- package/tests/e2e/{OpenshiftConnector.spec.ts → theia/OpenshiftConnector.spec.ts} +21 -21
- package/tests/e2e/{factories → theia/factories}/DirectUrlFactoryWithKeepDirectoryTest.spec.ts +10 -10
- package/tests/e2e/{factories → theia/factories}/DirectUrlFactoryWithRootFolderTest.spec.ts +10 -10
- package/tests/e2e/{factories → theia/factories}/DirectUrlFactoryWithSpecificBranchTest.spec.ts +10 -10
- package/tests/e2e_happy_path/{DevWorkspaceHappyPath.spec.ts → theia/DevWorkspaceHappyPath.spec.ts} +17 -19
- package/tests/e2e_happy_path/{HappyPath.spec.ts → theia/HappyPath.spec.ts} +21 -20
- package/tests/intelij/IntelijOpenWorkspace.spec.ts +1 -1
- package/tests/load_test/{LoadTest.spec.ts → theia/LoadTest.spec.ts} +10 -9
- package/tests/plugins/{GitHubPullRequestPlugin.spec.ts → theia/GitHubPullRequestPlugin.spec.ts} +19 -20
- package/tests/plugins/{InstallPluginUsingUI.spec.ts → theia/InstallPluginUsingUI.spec.ts} +11 -12
- package/tests/plugins/{JavaPlugin.spec.ts → theia/JavaPlugin.spec.ts} +13 -13
- package/tests/plugins/{PhpPlugin.spec.ts → theia/PhpPlugin.spec.ts} +12 -12
- package/tests/plugins/{PythonPlugin.spec.ts → theia/PythonPlugin.spec.ts} +13 -13
- package/tests/plugins/{TypescriptPlugin.spec.ts → theia/TypescriptPlugin.spec.ts} +19 -19
- package/tests/plugins/{VscodeKubernetesPlugin.spec.ts → theia/VscodeKubernetesPlugin.spec.ts} +13 -13
- package/tests/plugins/{VscodeShellcheckPlugin.spec.ts → theia/VscodeShellcheckPlugin.spec.ts} +12 -12
- package/tests/plugins/{VscodeValePlugin.spec.ts → theia/VscodeValePlugin.spec.ts} +11 -11
- package/tests/plugins/{VscodeXmlPlugin.spec.ts → theia/VscodeXmlPlugin.spec.ts} +12 -12
- package/tests/plugins/{VscodeYamlPlugin.spec.ts → theia/VscodeYamlPlugin.spec.ts} +12 -12
- package/testsLibrary/WorkspaceHandlingTests.ts +115 -140
- package/testsLibrary/{CodeExecutionTests.ts → theia/CodeExecutionTestsTheia.ts} +15 -15
- package/testsLibrary/{LanguageServerTests.ts → theia/LanguageServerTestsTheia.ts} +9 -9
- package/testsLibrary/{ProjectAndFileTests.ts → theia/ProjectAndFileTestsTheia.ts} +36 -10
- package/utils/DriverHelper.ts +3 -3
- package/utils/{PreferencesHandler.ts → theia/PreferencesHandlerTheia.ts} +11 -11
- package/dist/TestConstants.js +0 -220
- 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 -181
- package/dist/driver/CheReporter.js.map +0 -1
- package/dist/driver/ChromeDriver.js +0 -75
- 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 -65
- 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/ContextMenu.js +0 -66
- package/dist/pageobjects/ide/ContextMenu.js.map +0 -1
- package/dist/pageobjects/ide/DebugView.js +0 -98
- package/dist/pageobjects/ide/DebugView.js.map +0 -1
- package/dist/pageobjects/ide/DialogWindow.js +0 -102
- package/dist/pageobjects/ide/DialogWindow.js.map +0 -1
- package/dist/pageobjects/ide/Editor.js +0 -464
- package/dist/pageobjects/ide/Editor.js.map +0 -1
- package/dist/pageobjects/ide/Ide.js +0 -336
- package/dist/pageobjects/ide/Ide.js.map +0 -1
- package/dist/pageobjects/ide/LeftToolBar.js +0 -81
- package/dist/pageobjects/ide/LeftToolBar.js.map +0 -1
- package/dist/pageobjects/ide/NavigationBar.js +0 -57
- package/dist/pageobjects/ide/NavigationBar.js.map +0 -1
- package/dist/pageobjects/ide/NotificationCenter.js +0 -76
- package/dist/pageobjects/ide/NotificationCenter.js.map +0 -1
- package/dist/pageobjects/ide/OpenDialogWidget.js +0 -100
- package/dist/pageobjects/ide/OpenDialogWidget.js.map +0 -1
- package/dist/pageobjects/ide/OpenEditors.js +0 -73
- package/dist/pageobjects/ide/OpenEditors.js.map +0 -1
- package/dist/pageobjects/ide/OpenWorkspaceWidget.js +0 -62
- package/dist/pageobjects/ide/OpenWorkspaceWidget.js.map +0 -1
- package/dist/pageobjects/ide/PreviewWidget.js +0 -134
- package/dist/pageobjects/ide/PreviewWidget.js.map +0 -1
- package/dist/pageobjects/ide/ProjectTree.js +0 -282
- package/dist/pageobjects/ide/ProjectTree.js.map +0 -1
- package/dist/pageobjects/ide/QuickOpenContainer.js +0 -70
- package/dist/pageobjects/ide/QuickOpenContainer.js.map +0 -1
- package/dist/pageobjects/ide/RightToolBar.js +0 -51
- package/dist/pageobjects/ide/RightToolBar.js.map +0 -1
- package/dist/pageobjects/ide/Terminal.js +0 -184
- package/dist/pageobjects/ide/Terminal.js.map +0 -1
- package/dist/pageobjects/ide/TopMenu.js +0 -109
- package/dist/pageobjects/ide/TopMenu.js.map +0 -1
- package/dist/pageobjects/ide/plugins/GitHubPullRequestPlugin.js +0 -128
- package/dist/pageobjects/ide/plugins/GitHubPullRequestPlugin.js.map +0 -1
- package/dist/pageobjects/ide/plugins/GitPlugin.js +0 -120
- package/dist/pageobjects/ide/plugins/GitPlugin.js.map +0 -1
- package/dist/pageobjects/ide/plugins/KubernetesPlugin.js +0 -107
- package/dist/pageobjects/ide/plugins/KubernetesPlugin.js.map +0 -1
- package/dist/pageobjects/ide/plugins/OpenshiftPlugin.js +0 -99
- package/dist/pageobjects/ide/plugins/OpenshiftPlugin.js.map +0 -1
- package/dist/pageobjects/ide/plugins/PluginsView.js +0 -166
- package/dist/pageobjects/ide/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/CSlashCPlusPlus.spec.js +0 -73
- package/dist/tests/devfiles/CSlashCPlusPlus.spec.js.map +0 -1
- package/dist/tests/devfiles/DevfileSmoke.spec.js +0 -47
- package/dist/tests/devfiles/DevfileSmoke.spec.js.map +0 -1
- package/dist/tests/devfiles/DotNetCore.spec.js +0 -81
- package/dist/tests/devfiles/DotNetCore.spec.js.map +0 -1
- package/dist/tests/devfiles/Go.spec.js +0 -72
- package/dist/tests/devfiles/Go.spec.js.map +0 -1
- package/dist/tests/devfiles/JavaMaven.spec.js +0 -60
- package/dist/tests/devfiles/JavaMaven.spec.js.map +0 -1
- package/dist/tests/devfiles/JavaSpringBoot.spec.js +0 -66
- package/dist/tests/devfiles/JavaSpringBoot.spec.js.map +0 -1
- package/dist/tests/devfiles/JavaVertx.spec.js +0 -60
- package/dist/tests/devfiles/JavaVertx.spec.js.map +0 -1
- package/dist/tests/devfiles/NodeJS.spec.js +0 -64
- package/dist/tests/devfiles/NodeJS.spec.js.map +0 -1
- package/dist/tests/devfiles/PHPSimple.spec.js +0 -74
- package/dist/tests/devfiles/PHPSimple.spec.js.map +0 -1
- package/dist/tests/devfiles/Python.spec.js +0 -58
- package/dist/tests/devfiles/Python.spec.js.map +0 -1
- package/dist/tests/devfiles/PythonDjango.spec.js +0 -61
- package/dist/tests/devfiles/PythonDjango.spec.js.map +0 -1
- package/dist/tests/devfiles/Quarkus.spec.js +0 -69
- package/dist/tests/devfiles/Quarkus.spec.js.map +0 -1
- package/dist/tests/devfiles/Scala.spec.js +0 -66
- package/dist/tests/devfiles/Scala.spec.js.map +0 -1
- package/dist/tests/e2e/FactoryUrl.spec.js +0 -40
- package/dist/tests/e2e/FactoryUrl.spec.js.map +0 -1
- package/dist/tests/e2e/GitPublishBranch.spec.js +0 -90
- package/dist/tests/e2e/GitPublishBranch.spec.js.map +0 -1
- package/dist/tests/e2e/GitSelfSignCert.spec.js +0 -90
- package/dist/tests/e2e/GitSelfSignCert.spec.js.map +0 -1
- package/dist/tests/e2e/GitSsh.spec.js +0 -120
- package/dist/tests/e2e/GitSsh.spec.js.map +0 -1
- package/dist/tests/e2e/OpenshiftConnector.spec.js +0 -124
- package/dist/tests/e2e/OpenshiftConnector.spec.js.map +0 -1
- package/dist/tests/e2e/factories/DirectUrlFactoryWithKeepDirectoryTest.spec.js +0 -50
- package/dist/tests/e2e/factories/DirectUrlFactoryWithKeepDirectoryTest.spec.js.map +0 -1
- package/dist/tests/e2e/factories/DirectUrlFactoryWithRootFolderTest.spec.js +0 -48
- package/dist/tests/e2e/factories/DirectUrlFactoryWithRootFolderTest.spec.js.map +0 -1
- package/dist/tests/e2e/factories/DirectUrlFactoryWithSpecificBranchTest.spec.js +0 -48
- package/dist/tests/e2e/factories/DirectUrlFactoryWithSpecificBranchTest.spec.js.map +0 -1
- package/dist/tests/e2e_happy_path/DevWorkspaceHappyPath.spec.js +0 -278
- package/dist/tests/e2e_happy_path/DevWorkspaceHappyPath.spec.js.map +0 -1
- package/dist/tests/e2e_happy_path/HappyPath.spec.js +0 -314
- package/dist/tests/e2e_happy_path/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/LoadTest.spec.js +0 -41
- package/dist/tests/load_test/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/GitHubPullRequestPlugin.spec.js +0 -118
- package/dist/tests/plugins/GitHubPullRequestPlugin.spec.js.map +0 -1
- package/dist/tests/plugins/InstallPluginUsingUI.spec.js +0 -63
- package/dist/tests/plugins/InstallPluginUsingUI.spec.js.map +0 -1
- package/dist/tests/plugins/JavaPlugin.spec.js +0 -82
- package/dist/tests/plugins/JavaPlugin.spec.js.map +0 -1
- package/dist/tests/plugins/PhpPlugin.spec.js +0 -96
- package/dist/tests/plugins/PhpPlugin.spec.js.map +0 -1
- package/dist/tests/plugins/PythonPlugin.spec.js +0 -72
- package/dist/tests/plugins/PythonPlugin.spec.js.map +0 -1
- package/dist/tests/plugins/TypescriptPlugin.spec.js +0 -135
- package/dist/tests/plugins/TypescriptPlugin.spec.js.map +0 -1
- package/dist/tests/plugins/VscodeKubernetesPlugin.spec.js +0 -69
- package/dist/tests/plugins/VscodeKubernetesPlugin.spec.js.map +0 -1
- package/dist/tests/plugins/VscodeShellcheckPlugin.spec.js +0 -82
- package/dist/tests/plugins/VscodeShellcheckPlugin.spec.js.map +0 -1
- package/dist/tests/plugins/VscodeValePlugin.spec.js +0 -70
- package/dist/tests/plugins/VscodeValePlugin.spec.js.map +0 -1
- package/dist/tests/plugins/VscodeXmlPlugin.spec.js +0 -81
- package/dist/tests/plugins/VscodeXmlPlugin.spec.js.map +0 -1
- package/dist/tests/plugins/VscodeYamlPlugin.spec.js +0 -78
- package/dist/tests/plugins/VscodeYamlPlugin.spec.js.map +0 -1
- package/dist/testsLibrary/CodeExecutionTests.js +0 -248
- package/dist/testsLibrary/CodeExecutionTests.js.map +0 -1
- package/dist/testsLibrary/LanguageServerTests.js +0 -230
- package/dist/testsLibrary/LanguageServerTests.js.map +0 -1
- package/dist/testsLibrary/ProjectAndFileTests.js +0 -105
- package/dist/testsLibrary/ProjectAndFileTests.js.map +0 -1
- package/dist/testsLibrary/WorkspaceHandlingTests.js +0 -167
- package/dist/testsLibrary/WorkspaceHandlingTests.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/PreferencesHandler.js +0 -142
- package/dist/utils/PreferencesHandler.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/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
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) 2020 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
|
+
import 'reflect-metadata';
|
|
11
|
+
import { CLASSES } from '../../../inversify.types';
|
|
12
|
+
import { e2eContainer } from '../../../inversify.config';
|
|
13
|
+
import { WorkspaceHandlingTests } from '../../../testsLibrary/WorkspaceHandlingTests';
|
|
14
|
+
import CheReporter from '../../../driver/CheReporter';
|
|
15
|
+
import { CreateWorkspace } from '../../../pageobjects/dashboard/CreateWorkspace';
|
|
16
|
+
import { Logger } from '../../../utils/Logger';
|
|
17
|
+
import { ApiUrlResolver } from '../../../utils/workspace/ApiUrlResolver';
|
|
18
|
+
import { BrowserTabsUtil } from '../../../utils/BrowserTabsUtil';
|
|
19
|
+
import { TimeoutConstants } from '../../../TimeoutConstants';
|
|
20
|
+
import { Dashboard } from '../../../pageobjects/dashboard/Dashboard';
|
|
21
|
+
import { DriverHelper } from '../../../utils/DriverHelper';
|
|
22
|
+
import { By, until } from 'selenium-webdriver';
|
|
23
|
+
import { Workbench } from 'monaco-page-objects';
|
|
24
|
+
|
|
25
|
+
const workspaceHandlingTests: WorkspaceHandlingTests = e2eContainer.get(CLASSES.WorkspaceHandlingTests);
|
|
26
|
+
const dashboard: Dashboard = e2eContainer.get(CLASSES.Dashboard);
|
|
27
|
+
const createWorkspace: CreateWorkspace = e2eContainer.get(CLASSES.CreateWorkspace);
|
|
28
|
+
const apiUrlResolver: ApiUrlResolver = e2eContainer.get(CLASSES.ApiUrlResolver);
|
|
29
|
+
const browserTabsUtil: BrowserTabsUtil = e2eContainer.get(CLASSES.BrowserTabsUtil);
|
|
30
|
+
const driverHelper: DriverHelper = e2eContainer.get(CLASSES.DriverHelper);
|
|
31
|
+
|
|
32
|
+
const stack: string = 'Java Spring Boot';
|
|
33
|
+
|
|
34
|
+
suite(`${stack} test`, async () => {
|
|
35
|
+
suite(`Create ${stack} workspace`, async () => {
|
|
36
|
+
// workspaceHandlingTests.createAndOpenWorkspace(stack);
|
|
37
|
+
test('Start Maven workspace using factory URL and vscode editor', async() => {
|
|
38
|
+
await dashboard.waitPage();
|
|
39
|
+
Logger.debug(`Fetching user kubernetes namespace, storing auth token by getting workspaces API URL.`);
|
|
40
|
+
await apiUrlResolver.getWorkspacesApiUrl();
|
|
41
|
+
await dashboard.clickCreateWorkspaceButton();
|
|
42
|
+
await createWorkspace.waitPage();
|
|
43
|
+
workspaceHandlingTests.setWindowHandle(await browserTabsUtil.getCurrentWindowHandle());
|
|
44
|
+
await createWorkspace.startWorkspaceUsingFactory(`https://github.com/che-samples/web-java-spring-boot/tree/master?che-editor=che-incubator/che-code/insiders&storageType=persistent`);
|
|
45
|
+
await browserTabsUtil.waitAndSwitchToAnotherWindow(workspaceHandlingTests.getWindowHandle(), TimeoutConstants.TS_IDE_LOAD_TIMEOUT);
|
|
46
|
+
});
|
|
47
|
+
workspaceHandlingTests.obtainWorkspaceNameFromStartingPage();
|
|
48
|
+
test('Register running workspace', async () => {
|
|
49
|
+
CheReporter.registerRunningWorkspace(WorkspaceHandlingTests.getWorkspaceName());
|
|
50
|
+
});
|
|
51
|
+
test('Wait workspace readiness', async() => {
|
|
52
|
+
try {
|
|
53
|
+
await driverHelper.getDriver().wait(until.elementLocated(By.className('monaco-workbench')));
|
|
54
|
+
} catch (err) {
|
|
55
|
+
if ((err as Error).name === 'WebDriverError') {
|
|
56
|
+
await new Promise(res => setTimeout(res, 3000));
|
|
57
|
+
} else {
|
|
58
|
+
throw err;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
let workbench = new Workbench();
|
|
62
|
+
let activityBar = workbench.getActivityBar();
|
|
63
|
+
let activityBarControls = await activityBar.getViewControls();
|
|
64
|
+
Logger.debug(`Editor sections:`);
|
|
65
|
+
activityBarControls.forEach(async control => {
|
|
66
|
+
Logger.debug(`${await control.getTitle()}`);
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
// projectAndFileTests.waitWorkspaceReadiness(workspaceSampleName, workspaceRootFolderName, false);
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
suite('Stopping and deleting the workspace', async () => {
|
|
73
|
+
test(`Stop and remowe workspace`, async () => {
|
|
74
|
+
await workspaceHandlingTests.stopAndRemoveWorkspace(WorkspaceHandlingTests.getWorkspaceName());
|
|
75
|
+
});
|
|
76
|
+
});
|
|
77
|
+
});
|
|
@@ -8,19 +8,19 @@
|
|
|
8
8
|
* SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
import 'reflect-metadata';
|
|
11
|
-
import { e2eContainer } from '
|
|
12
|
-
import { CLASSES } from '
|
|
13
|
-
import { Editor } from '
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { WorkspaceHandlingTests } from '
|
|
18
|
-
import CheReporter from '
|
|
11
|
+
import { e2eContainer } from '../../../inversify.config';
|
|
12
|
+
import { CLASSES } from '../../../inversify.types';
|
|
13
|
+
import { Editor } from '../../../pageobjects/ide/theia/Editor';
|
|
14
|
+
import { LanguageServerTestsTheia } from '../../../testsLibrary/theia/LanguageServerTestsTheia';
|
|
15
|
+
import { CodeExecutionTestsTheia } from '../../../testsLibrary/theia/CodeExecutionTestsTheia';
|
|
16
|
+
import { ProjectAndFileTestsTheia } from '../../../testsLibrary/theia/ProjectAndFileTestsTheia';
|
|
17
|
+
import { WorkspaceHandlingTests } from '../../../testsLibrary/WorkspaceHandlingTests';
|
|
18
|
+
import CheReporter from '../../../driver/CheReporter';
|
|
19
19
|
|
|
20
20
|
const workspaceHandlingTests: WorkspaceHandlingTests = e2eContainer.get(CLASSES.WorkspaceHandlingTests);
|
|
21
|
-
const projectAndFileTests:
|
|
22
|
-
const commonLanguageServerTests:
|
|
23
|
-
const codeExecutionTests:
|
|
21
|
+
const projectAndFileTests: ProjectAndFileTestsTheia = e2eContainer.get(CLASSES.ProjectAndFileTestsTheia);
|
|
22
|
+
const commonLanguageServerTests: LanguageServerTestsTheia = e2eContainer.get(CLASSES.LanguageServerTestsTheia);
|
|
23
|
+
const codeExecutionTests: CodeExecutionTestsTheia = e2eContainer.get(CLASSES.CodeExecutionTestsTheia);
|
|
24
24
|
const editor: Editor = e2eContainer.get(CLASSES.Editor);
|
|
25
25
|
|
|
26
26
|
const workspaceSampleName: string = 'cpp-hello-world';
|
|
@@ -8,18 +8,18 @@
|
|
|
8
8
|
* SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
import 'reflect-metadata';
|
|
11
|
-
import { CLASSES } from '
|
|
12
|
-
import { e2eContainer } from '
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { WorkspaceHandlingTests } from '
|
|
16
|
-
import { NavigationBar } from '
|
|
17
|
-
import { Dashboard } from '
|
|
18
|
-
import CheReporter from '
|
|
11
|
+
import { CLASSES } from '../../../inversify.types';
|
|
12
|
+
import { e2eContainer } from '../../../inversify.config';
|
|
13
|
+
import { PreferencesHandlerTheia } from '../../../utils/theia/PreferencesHandlerTheia';
|
|
14
|
+
import { ProjectAndFileTestsTheia } from '../../../testsLibrary/theia/ProjectAndFileTestsTheia';
|
|
15
|
+
import { WorkspaceHandlingTests } from '../../../testsLibrary/WorkspaceHandlingTests';
|
|
16
|
+
import { NavigationBar } from '../../../pageobjects/ide/theia/NavigationBar';
|
|
17
|
+
import { Dashboard } from '../../../pageobjects/dashboard/Dashboard';
|
|
18
|
+
import CheReporter from '../../../driver/CheReporter';
|
|
19
19
|
|
|
20
20
|
const workspaceHandlingTests: WorkspaceHandlingTests = e2eContainer.get(CLASSES.WorkspaceHandlingTests);
|
|
21
|
-
const preferencesHandler:
|
|
22
|
-
const projectAndFileTests:
|
|
21
|
+
const preferencesHandler: PreferencesHandlerTheia = e2eContainer.get(CLASSES.PreferencesHandlerTheia);
|
|
22
|
+
const projectAndFileTests: ProjectAndFileTestsTheia = e2eContainer.get(CLASSES.ProjectAndFileTestsTheia);
|
|
23
23
|
const navigationBar: NavigationBar = e2eContainer.get(CLASSES.NavigationBar);
|
|
24
24
|
const dashboard: Dashboard = e2eContainer.get(CLASSES.Dashboard);
|
|
25
25
|
|
|
@@ -8,19 +8,19 @@
|
|
|
8
8
|
* SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
import 'reflect-metadata';
|
|
11
|
-
import { CLASSES } from '
|
|
12
|
-
import { e2eContainer } from '
|
|
13
|
-
import { Editor } from '
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { WorkspaceHandlingTests } from '
|
|
18
|
-
import CheReporter from '
|
|
11
|
+
import { CLASSES } from '../../../inversify.types';
|
|
12
|
+
import { e2eContainer } from '../../../inversify.config';
|
|
13
|
+
import { Editor } from '../../../pageobjects/ide/theia/Editor';
|
|
14
|
+
import { LanguageServerTestsTheia } from '../../../testsLibrary/theia/LanguageServerTestsTheia';
|
|
15
|
+
import { CodeExecutionTestsTheia } from '../../../testsLibrary/theia/CodeExecutionTestsTheia';
|
|
16
|
+
import { ProjectAndFileTestsTheia } from '../../../testsLibrary/theia/ProjectAndFileTestsTheia';
|
|
17
|
+
import { WorkspaceHandlingTests } from '../../../testsLibrary/WorkspaceHandlingTests';
|
|
18
|
+
import CheReporter from '../../../driver/CheReporter';
|
|
19
19
|
|
|
20
20
|
const workspaceHandlingTests: WorkspaceHandlingTests = e2eContainer.get(CLASSES.WorkspaceHandlingTests);
|
|
21
|
-
const projectAndFileTests:
|
|
22
|
-
const commonLanguageServerTests:
|
|
23
|
-
const codeExecutionTests:
|
|
21
|
+
const projectAndFileTests: ProjectAndFileTestsTheia = e2eContainer.get(CLASSES.ProjectAndFileTestsTheia);
|
|
22
|
+
const commonLanguageServerTests: LanguageServerTestsTheia = e2eContainer.get(CLASSES.LanguageServerTestsTheia);
|
|
23
|
+
const codeExecutionTests: CodeExecutionTestsTheia = e2eContainer.get(CLASSES.CodeExecutionTestsTheia);
|
|
24
24
|
const editor: Editor = e2eContainer.get(CLASSES.Editor);
|
|
25
25
|
|
|
26
26
|
const workspaceSampleName: string = 'dotnet-web-simple';
|
|
@@ -7,22 +7,22 @@
|
|
|
7
7
|
*
|
|
8
8
|
* SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
**********************************************************************/
|
|
10
|
-
import { CLASSES } from '
|
|
11
|
-
import { e2eContainer } from '
|
|
10
|
+
import { CLASSES } from '../../../inversify.types';
|
|
11
|
+
import { e2eContainer } from '../../../inversify.config';
|
|
12
12
|
import 'reflect-metadata';
|
|
13
|
-
import { Logger } from '
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { WorkspaceHandlingTests } from '
|
|
19
|
-
import CheReporter from '
|
|
13
|
+
import { Logger } from '../../../utils/Logger';
|
|
14
|
+
import { PreferencesHandlerTheia } from '../../../utils/theia/PreferencesHandlerTheia';
|
|
15
|
+
import { LanguageServerTestsTheia } from '../../../testsLibrary/theia/LanguageServerTestsTheia';
|
|
16
|
+
import { CodeExecutionTestsTheia } from '../../../testsLibrary/theia/CodeExecutionTestsTheia';
|
|
17
|
+
import { ProjectAndFileTestsTheia } from '../../../testsLibrary/theia/ProjectAndFileTestsTheia';
|
|
18
|
+
import { WorkspaceHandlingTests } from '../../../testsLibrary/WorkspaceHandlingTests';
|
|
19
|
+
import CheReporter from '../../../driver/CheReporter';
|
|
20
20
|
|
|
21
21
|
const workspaceHandlingTests: WorkspaceHandlingTests = e2eContainer.get(CLASSES.WorkspaceHandlingTests);
|
|
22
|
-
const projectAndFileTests:
|
|
23
|
-
const commonLanguageServerTests:
|
|
24
|
-
const codeExecutionTests:
|
|
25
|
-
const preferencesHandler:
|
|
22
|
+
const projectAndFileTests: ProjectAndFileTestsTheia = e2eContainer.get(CLASSES.ProjectAndFileTestsTheia);
|
|
23
|
+
const commonLanguageServerTests: LanguageServerTestsTheia = e2eContainer.get(CLASSES.LanguageServerTestsTheia);
|
|
24
|
+
const codeExecutionTests: CodeExecutionTestsTheia = e2eContainer.get(CLASSES.CodeExecutionTestsTheia);
|
|
25
|
+
const preferencesHandler: PreferencesHandlerTheia = e2eContainer.get(CLASSES.PreferencesHandlerTheia);
|
|
26
26
|
|
|
27
27
|
const workspaceStack: string = 'Go';
|
|
28
28
|
const workspaceSampleName: string = 'golang-example';
|
|
@@ -8,18 +8,18 @@
|
|
|
8
8
|
* SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
import 'reflect-metadata';
|
|
11
|
-
import { CLASSES } from '
|
|
12
|
-
import {
|
|
13
|
-
import { e2eContainer } from '
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { WorkspaceHandlingTests } from '
|
|
17
|
-
import CheReporter from '
|
|
11
|
+
import { CLASSES } from '../../../inversify.types';
|
|
12
|
+
import { LanguageServerTestsTheia } from '../../../testsLibrary/theia/LanguageServerTestsTheia';
|
|
13
|
+
import { e2eContainer } from '../../../inversify.config';
|
|
14
|
+
import { CodeExecutionTestsTheia } from '../../../testsLibrary/theia/CodeExecutionTestsTheia';
|
|
15
|
+
import { ProjectAndFileTestsTheia } from '../../../testsLibrary/theia/ProjectAndFileTestsTheia';
|
|
16
|
+
import { WorkspaceHandlingTests } from '../../../testsLibrary/WorkspaceHandlingTests';
|
|
17
|
+
import CheReporter from '../../../driver/CheReporter';
|
|
18
18
|
|
|
19
19
|
const workspaceHandlingTests: WorkspaceHandlingTests = e2eContainer.get(CLASSES.WorkspaceHandlingTests);
|
|
20
|
-
const projectAndFileTests:
|
|
21
|
-
const commonLanguageServerTests:
|
|
22
|
-
const codeExecutionTests:
|
|
20
|
+
const projectAndFileTests: ProjectAndFileTestsTheia = e2eContainer.get(CLASSES.ProjectAndFileTestsTheia);
|
|
21
|
+
const commonLanguageServerTests: LanguageServerTestsTheia = e2eContainer.get(CLASSES.LanguageServerTestsTheia);
|
|
22
|
+
const codeExecutionTests: CodeExecutionTestsTheia = e2eContainer.get(CLASSES.CodeExecutionTestsTheia);
|
|
23
23
|
|
|
24
24
|
const workspaceSampleName: string = 'console-java-simple';
|
|
25
25
|
const workspaceRootFolderName: string = 'src';
|
|
@@ -8,18 +8,18 @@
|
|
|
8
8
|
* SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
import 'reflect-metadata';
|
|
11
|
-
import { CLASSES } from '
|
|
12
|
-
import {
|
|
13
|
-
import { e2eContainer } from '
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { WorkspaceHandlingTests } from '
|
|
17
|
-
import CheReporter from '
|
|
11
|
+
import { CLASSES } from '../../../inversify.types';
|
|
12
|
+
import { LanguageServerTestsTheia } from '../../../testsLibrary/theia/LanguageServerTestsTheia';
|
|
13
|
+
import { e2eContainer } from '../../../inversify.config';
|
|
14
|
+
import { CodeExecutionTestsTheia } from '../../../testsLibrary/theia/CodeExecutionTestsTheia';
|
|
15
|
+
import { ProjectAndFileTestsTheia } from '../../../testsLibrary/theia/ProjectAndFileTestsTheia';
|
|
16
|
+
import { WorkspaceHandlingTests } from '../../../testsLibrary/WorkspaceHandlingTests';
|
|
17
|
+
import CheReporter from '../../../driver/CheReporter';
|
|
18
18
|
|
|
19
19
|
const workspaceHandlingTests: WorkspaceHandlingTests = e2eContainer.get(CLASSES.WorkspaceHandlingTests);
|
|
20
|
-
const projectAndFileTests:
|
|
21
|
-
const commonLanguageServerTests:
|
|
22
|
-
const codeExecutionTests:
|
|
20
|
+
const projectAndFileTests: ProjectAndFileTestsTheia = e2eContainer.get(CLASSES.ProjectAndFileTestsTheia);
|
|
21
|
+
const commonLanguageServerTests: LanguageServerTestsTheia = e2eContainer.get(CLASSES.LanguageServerTestsTheia);
|
|
22
|
+
const codeExecutionTests: CodeExecutionTestsTheia = e2eContainer.get(CLASSES.CodeExecutionTestsTheia);
|
|
23
23
|
|
|
24
24
|
const stack: string = 'Java Spring Boot';
|
|
25
25
|
const workspaceSampleName: string = 'java-web-spring';
|
|
@@ -8,18 +8,18 @@
|
|
|
8
8
|
* SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
import 'reflect-metadata';
|
|
11
|
-
import { CLASSES } from '
|
|
12
|
-
import {
|
|
13
|
-
import { e2eContainer } from '
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { WorkspaceHandlingTests } from '
|
|
17
|
-
import CheReporter from '
|
|
11
|
+
import { CLASSES } from '../../../inversify.types';
|
|
12
|
+
import { LanguageServerTestsTheia } from '../../../testsLibrary/theia/LanguageServerTestsTheia';
|
|
13
|
+
import { e2eContainer } from '../../../inversify.config';
|
|
14
|
+
import { CodeExecutionTestsTheia } from '../../../testsLibrary/theia/CodeExecutionTestsTheia';
|
|
15
|
+
import { ProjectAndFileTestsTheia } from '../../../testsLibrary/theia/ProjectAndFileTestsTheia';
|
|
16
|
+
import { WorkspaceHandlingTests } from '../../../testsLibrary/WorkspaceHandlingTests';
|
|
17
|
+
import CheReporter from '../../../driver/CheReporter';
|
|
18
18
|
|
|
19
19
|
const workspaceHandlingTests: WorkspaceHandlingTests = e2eContainer.get(CLASSES.WorkspaceHandlingTests);
|
|
20
|
-
const projectAndFileTests:
|
|
21
|
-
const commonLanguageServerTests:
|
|
22
|
-
const codeExecutionTests:
|
|
20
|
+
const projectAndFileTests: ProjectAndFileTestsTheia = e2eContainer.get(CLASSES.ProjectAndFileTestsTheia);
|
|
21
|
+
const commonLanguageServerTests: LanguageServerTestsTheia = e2eContainer.get(CLASSES.LanguageServerTestsTheia);
|
|
22
|
+
const codeExecutionTests: CodeExecutionTestsTheia = e2eContainer.get(CLASSES.CodeExecutionTestsTheia);
|
|
23
23
|
|
|
24
24
|
const workspaceSampleName: string = 'vertx-http-example';
|
|
25
25
|
const workspaceRootFolderName: string = 'src';
|
|
@@ -7,19 +7,19 @@
|
|
|
7
7
|
*
|
|
8
8
|
* SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
**********************************************************************/
|
|
10
|
-
import { CLASSES } from '
|
|
10
|
+
import { CLASSES } from '../../../inversify.types';
|
|
11
11
|
import 'reflect-metadata';
|
|
12
|
-
import {
|
|
13
|
-
import { e2eContainer } from '
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { WorkspaceHandlingTests } from '
|
|
17
|
-
import CheReporter from '
|
|
12
|
+
import { LanguageServerTestsTheia } from '../../../testsLibrary/theia/LanguageServerTestsTheia';
|
|
13
|
+
import { e2eContainer } from '../../../inversify.config';
|
|
14
|
+
import { CodeExecutionTestsTheia } from '../../../testsLibrary/theia/CodeExecutionTestsTheia';
|
|
15
|
+
import { ProjectAndFileTestsTheia } from '../../../testsLibrary/theia/ProjectAndFileTestsTheia';
|
|
16
|
+
import { WorkspaceHandlingTests } from '../../../testsLibrary/WorkspaceHandlingTests';
|
|
17
|
+
import CheReporter from '../../../driver/CheReporter';
|
|
18
18
|
|
|
19
19
|
const workspaceHandlingTests: WorkspaceHandlingTests = e2eContainer.get(CLASSES.WorkspaceHandlingTests);
|
|
20
|
-
const projectAndFileTests:
|
|
21
|
-
const commonLanguageServerTests:
|
|
22
|
-
const codeExecutionTests:
|
|
20
|
+
const projectAndFileTests: ProjectAndFileTestsTheia = e2eContainer.get(CLASSES.ProjectAndFileTestsTheia);
|
|
21
|
+
const commonLanguageServerTests: LanguageServerTestsTheia = e2eContainer.get(CLASSES.LanguageServerTestsTheia);
|
|
22
|
+
const codeExecutionTests: CodeExecutionTestsTheia = e2eContainer.get(CLASSES.CodeExecutionTestsTheia);
|
|
23
23
|
|
|
24
24
|
const workspaceStack: string = 'NodeJS Express Web Application';
|
|
25
25
|
const workspaceSampleName: string = 'nodejs-web-app';
|
|
@@ -8,19 +8,19 @@
|
|
|
8
8
|
* SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
import 'reflect-metadata';
|
|
11
|
-
import { e2eContainer } from '
|
|
12
|
-
import { CLASSES } from '
|
|
13
|
-
import { Editor } from '
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { WorkspaceHandlingTests } from '
|
|
18
|
-
import CheReporter from '
|
|
11
|
+
import { e2eContainer } from '../../../inversify.config';
|
|
12
|
+
import { CLASSES } from '../../../inversify.types';
|
|
13
|
+
import { Editor } from '../../../pageobjects/ide/theia/Editor';
|
|
14
|
+
import { LanguageServerTestsTheia } from '../../../testsLibrary/theia/LanguageServerTestsTheia';
|
|
15
|
+
import { CodeExecutionTestsTheia } from '../../../testsLibrary/theia/CodeExecutionTestsTheia';
|
|
16
|
+
import { ProjectAndFileTestsTheia } from '../../../testsLibrary/theia/ProjectAndFileTestsTheia';
|
|
17
|
+
import { WorkspaceHandlingTests } from '../../../testsLibrary/WorkspaceHandlingTests';
|
|
18
|
+
import CheReporter from '../../../driver/CheReporter';
|
|
19
19
|
|
|
20
20
|
const workspaceHandlingTests: WorkspaceHandlingTests = e2eContainer.get(CLASSES.WorkspaceHandlingTests);
|
|
21
|
-
const projectAndFileTests:
|
|
22
|
-
const commonLanguageServerTests:
|
|
23
|
-
const codeExecutionTests:
|
|
21
|
+
const projectAndFileTests: ProjectAndFileTestsTheia = e2eContainer.get(CLASSES.ProjectAndFileTestsTheia);
|
|
22
|
+
const commonLanguageServerTests: LanguageServerTestsTheia = e2eContainer.get(CLASSES.LanguageServerTestsTheia);
|
|
23
|
+
const codeExecutionTests: CodeExecutionTestsTheia = e2eContainer.get(CLASSES.CodeExecutionTestsTheia);
|
|
24
24
|
const editor: Editor = e2eContainer.get(CLASSES.Editor);
|
|
25
25
|
|
|
26
26
|
const workspaceSampleName: string = 'php-web-simple';
|
|
@@ -7,19 +7,19 @@
|
|
|
7
7
|
*
|
|
8
8
|
* SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
**********************************************************************/
|
|
10
|
-
import { CLASSES } from '
|
|
10
|
+
import { CLASSES } from '../../../inversify.types';
|
|
11
11
|
import 'reflect-metadata';
|
|
12
|
-
import {
|
|
13
|
-
import { e2eContainer } from '
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { WorkspaceHandlingTests } from '
|
|
17
|
-
import CheReporter from '
|
|
12
|
+
import { LanguageServerTestsTheia } from '../../../testsLibrary/theia/LanguageServerTestsTheia';
|
|
13
|
+
import { e2eContainer } from '../../../inversify.config';
|
|
14
|
+
import { CodeExecutionTestsTheia } from '../../../testsLibrary/theia/CodeExecutionTestsTheia';
|
|
15
|
+
import { ProjectAndFileTestsTheia } from '../../../testsLibrary/theia/ProjectAndFileTestsTheia';
|
|
16
|
+
import { WorkspaceHandlingTests } from '../../../testsLibrary/WorkspaceHandlingTests';
|
|
17
|
+
import CheReporter from '../../../driver/CheReporter';
|
|
18
18
|
|
|
19
19
|
const workspaceHandlingTests: WorkspaceHandlingTests = e2eContainer.get(CLASSES.WorkspaceHandlingTests);
|
|
20
|
-
const projectAndFileTests:
|
|
21
|
-
const commonLanguageServerTests:
|
|
22
|
-
const codeExecutionTests:
|
|
20
|
+
const projectAndFileTests: ProjectAndFileTestsTheia = e2eContainer.get(CLASSES.ProjectAndFileTestsTheia);
|
|
21
|
+
const commonLanguageServerTests: LanguageServerTestsTheia = e2eContainer.get(CLASSES.LanguageServerTestsTheia);
|
|
22
|
+
const codeExecutionTests: CodeExecutionTestsTheia = e2eContainer.get(CLASSES.CodeExecutionTestsTheia);
|
|
23
23
|
|
|
24
24
|
const workspaceStack: string = 'Python';
|
|
25
25
|
const workspaceSampleName: string = 'python-hello-world';
|
|
@@ -7,17 +7,17 @@
|
|
|
7
7
|
*
|
|
8
8
|
* SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
**********************************************************************/
|
|
10
|
-
import { CLASSES } from '
|
|
10
|
+
import { CLASSES } from '../../../inversify.types';
|
|
11
11
|
import 'reflect-metadata';
|
|
12
|
-
import {
|
|
13
|
-
import { e2eContainer } from '
|
|
14
|
-
import {
|
|
15
|
-
import { WorkspaceHandlingTests } from '
|
|
16
|
-
import CheReporter from '
|
|
12
|
+
import { CodeExecutionTestsTheia } from '../../../testsLibrary/theia/CodeExecutionTestsTheia';
|
|
13
|
+
import { e2eContainer } from '../../../inversify.config';
|
|
14
|
+
import { ProjectAndFileTestsTheia } from '../../../testsLibrary/theia/ProjectAndFileTestsTheia';
|
|
15
|
+
import { WorkspaceHandlingTests } from '../../../testsLibrary/WorkspaceHandlingTests';
|
|
16
|
+
import CheReporter from '../../../driver/CheReporter';
|
|
17
17
|
|
|
18
18
|
const workspaceHandlingTests: WorkspaceHandlingTests = e2eContainer.get(CLASSES.WorkspaceHandlingTests);
|
|
19
|
-
const projectAndFileTests:
|
|
20
|
-
const codeExecutionTests:
|
|
19
|
+
const projectAndFileTests: ProjectAndFileTestsTheia = e2eContainer.get(CLASSES.ProjectAndFileTestsTheia);
|
|
20
|
+
const codeExecutionTests: CodeExecutionTestsTheia = e2eContainer.get(CLASSES.CodeExecutionTestsTheia);
|
|
21
21
|
|
|
22
22
|
const workspaceStack: string = 'Python Django';
|
|
23
23
|
const workspaceSampleName: string = 'django-realworld-example-app';
|
|
@@ -7,19 +7,19 @@
|
|
|
7
7
|
*
|
|
8
8
|
* SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
**********************************************************************/
|
|
10
|
-
import { CLASSES } from '
|
|
10
|
+
import { CLASSES } from '../../../inversify.types';
|
|
11
11
|
import 'reflect-metadata';
|
|
12
|
-
import {
|
|
13
|
-
import { e2eContainer } from '
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { WorkspaceHandlingTests } from '
|
|
17
|
-
import CheReporter from '
|
|
12
|
+
import { LanguageServerTestsTheia } from '../../../testsLibrary/theia/LanguageServerTestsTheia';
|
|
13
|
+
import { e2eContainer } from '../../../inversify.config';
|
|
14
|
+
import { CodeExecutionTestsTheia } from '../../../testsLibrary/theia/CodeExecutionTestsTheia';
|
|
15
|
+
import { ProjectAndFileTestsTheia } from '../../../testsLibrary/theia/ProjectAndFileTestsTheia';
|
|
16
|
+
import { WorkspaceHandlingTests } from '../../../testsLibrary/WorkspaceHandlingTests';
|
|
17
|
+
import CheReporter from '../../../driver/CheReporter';
|
|
18
18
|
|
|
19
19
|
const workspaceHandlingTests: WorkspaceHandlingTests = e2eContainer.get(CLASSES.WorkspaceHandlingTests);
|
|
20
|
-
const projectAndFileTests:
|
|
21
|
-
const commonLanguageServerTests:
|
|
22
|
-
const codeExecutionTests:
|
|
20
|
+
const projectAndFileTests: ProjectAndFileTestsTheia = e2eContainer.get(CLASSES.ProjectAndFileTestsTheia);
|
|
21
|
+
const commonLanguageServerTests: LanguageServerTestsTheia = e2eContainer.get(CLASSES.LanguageServerTestsTheia);
|
|
22
|
+
const codeExecutionTests: CodeExecutionTestsTheia = e2eContainer.get(CLASSES.CodeExecutionTestsTheia);
|
|
23
23
|
|
|
24
24
|
const workspaceStack: string = 'Quarkus CLI';
|
|
25
25
|
const workspaceSampleName: string = 'quarkus-quickstarts';
|
|
@@ -8,18 +8,18 @@
|
|
|
8
8
|
* SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
import 'reflect-metadata';
|
|
11
|
-
import { CLASSES } from '
|
|
12
|
-
import {
|
|
13
|
-
import { e2eContainer } from '
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { WorkspaceHandlingTests } from '
|
|
17
|
-
import CheReporter from '
|
|
11
|
+
import { CLASSES } from '../../../inversify.types';
|
|
12
|
+
import { LanguageServerTestsTheia } from '../../../testsLibrary/theia/LanguageServerTestsTheia';
|
|
13
|
+
import { e2eContainer } from '../../../inversify.config';
|
|
14
|
+
import { CodeExecutionTestsTheia } from '../../../testsLibrary/theia/CodeExecutionTestsTheia';
|
|
15
|
+
import { ProjectAndFileTestsTheia } from '../../../testsLibrary/theia/ProjectAndFileTestsTheia';
|
|
16
|
+
import { WorkspaceHandlingTests } from '../../../testsLibrary/WorkspaceHandlingTests';
|
|
17
|
+
import CheReporter from '../../../driver/CheReporter';
|
|
18
18
|
|
|
19
19
|
const workspaceHandlingTests: WorkspaceHandlingTests = e2eContainer.get(CLASSES.WorkspaceHandlingTests);
|
|
20
|
-
const projectAndFileTests:
|
|
21
|
-
const commonLanguageServerTests:
|
|
22
|
-
const codeExecutionTests:
|
|
20
|
+
const projectAndFileTests: ProjectAndFileTestsTheia = e2eContainer.get(CLASSES.ProjectAndFileTestsTheia);
|
|
21
|
+
const commonLanguageServerTests: LanguageServerTestsTheia = e2eContainer.get(CLASSES.LanguageServerTestsTheia);
|
|
22
|
+
const codeExecutionTests: CodeExecutionTestsTheia = e2eContainer.get(CLASSES.CodeExecutionTestsTheia);
|
|
23
23
|
|
|
24
24
|
const workspaceSampleName: string = 'console-scala-simple';
|
|
25
25
|
const workspaceRootFolderName: string = 'example';
|
|
@@ -8,18 +8,18 @@
|
|
|
8
8
|
// * SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
// **********************************************************************/
|
|
10
10
|
|
|
11
|
-
import { e2eContainer } from '
|
|
12
|
-
import { CLASSES, TYPES } from '
|
|
13
|
-
import { TestConstants } from '
|
|
14
|
-
import {
|
|
15
|
-
import { BrowserTabsUtil } from '
|
|
16
|
-
import { ITestWorkspaceUtil } from '
|
|
17
|
-
import { WorkspaceHandlingTests } from '
|
|
11
|
+
import { e2eContainer } from '../../../inversify.config';
|
|
12
|
+
import { CLASSES, TYPES } from '../../../inversify.types';
|
|
13
|
+
import { TestConstants } from '../../../TestConstants';
|
|
14
|
+
import { ProjectAndFileTestsTheia } from '../../../testsLibrary/theia/ProjectAndFileTestsTheia';
|
|
15
|
+
import { BrowserTabsUtil } from '../../../utils/BrowserTabsUtil';
|
|
16
|
+
import { ITestWorkspaceUtil } from '../../../utils/workspace/ITestWorkspaceUtil';
|
|
17
|
+
import { WorkspaceHandlingTests } from '../../../testsLibrary/WorkspaceHandlingTests';
|
|
18
18
|
|
|
19
|
-
const projectAndFileTests:
|
|
19
|
+
const projectAndFileTests: ProjectAndFileTestsTheia = e2eContainer.get(CLASSES.ProjectAndFileTestsTheia);
|
|
20
20
|
const browserTabsUtil: BrowserTabsUtil = e2eContainer.get(CLASSES.BrowserTabsUtil);
|
|
21
21
|
const testWorkspaceUtils: ITestWorkspaceUtil = e2eContainer.get<ITestWorkspaceUtil>(TYPES.WorkspaceUtil);
|
|
22
|
-
const workspaceHandlingTests: WorkspaceHandlingTests = e2eContainer.get
|
|
22
|
+
const workspaceHandlingTests: WorkspaceHandlingTests = e2eContainer.get(CLASSES.WorkspaceHandlingTests);
|
|
23
23
|
|
|
24
24
|
const factoryUrl : string = `${TestConstants.TS_SELENIUM_BASE_URL}/f?url=https://raw.githubusercontent.com/eclipse/che-devfile-registry/master/devfiles/java-maven/devfile.yaml`;
|
|
25
25
|
const workspaceSampleName: string = 'console-java-simple';
|
|
@@ -8,23 +8,23 @@
|
|
|
8
8
|
* SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
|
|
11
|
-
import { e2eContainer } from '
|
|
12
|
-
import { CLASSES, TYPES } from '
|
|
13
|
-
import { Editor } from '
|
|
14
|
-
import { GitPlugin } from '
|
|
15
|
-
import { Ide } from '
|
|
16
|
-
import { ProjectTree } from '
|
|
17
|
-
import { QuickOpenContainer } from '
|
|
18
|
-
import { ICheLoginPage } from '
|
|
19
|
-
import { TestConstants } from '
|
|
20
|
-
import { DriverHelper } from '
|
|
21
|
-
import { TopMenu } from '
|
|
22
|
-
import { WorkspaceNameHandler } from '
|
|
11
|
+
import { e2eContainer } from '../../../inversify.config';
|
|
12
|
+
import { CLASSES, TYPES } from '../../../inversify.types';
|
|
13
|
+
import { Editor } from '../../../pageobjects/ide/theia/Editor';
|
|
14
|
+
import { GitPlugin } from '../../../pageobjects/ide/theia/plugins/GitPlugin';
|
|
15
|
+
import { Ide } from '../../../pageobjects/ide/theia/Ide';
|
|
16
|
+
import { ProjectTree } from '../../../pageobjects/ide/theia/ProjectTree';
|
|
17
|
+
import { QuickOpenContainer } from '../../../pageobjects/ide/theia/QuickOpenContainer';
|
|
18
|
+
import { ICheLoginPage } from '../../../pageobjects/login/ICheLoginPage';
|
|
19
|
+
import { TestConstants } from '../../../TestConstants';
|
|
20
|
+
import { DriverHelper } from '../../../utils/DriverHelper';
|
|
21
|
+
import { TopMenu } from '../../../pageobjects/ide/theia/TopMenu';
|
|
22
|
+
import { WorkspaceNameHandler } from '../../../utils/WorkspaceNameHandler';
|
|
23
23
|
import { By } from 'selenium-webdriver';
|
|
24
|
-
import { BrowserTabsUtil } from '
|
|
25
|
-
import { ITestWorkspaceUtil } from '
|
|
26
|
-
import { WorkspaceHandlingTests } from '
|
|
27
|
-
import CheReporter from '
|
|
24
|
+
import { BrowserTabsUtil } from '../../../utils/BrowserTabsUtil';
|
|
25
|
+
import { ITestWorkspaceUtil } from '../../../utils/workspace/ITestWorkspaceUtil';
|
|
26
|
+
import { WorkspaceHandlingTests } from '../../../testsLibrary/WorkspaceHandlingTests';
|
|
27
|
+
import CheReporter from '../../../driver/CheReporter';
|
|
28
28
|
|
|
29
29
|
const driverHelper: DriverHelper = e2eContainer.get(CLASSES.DriverHelper);
|
|
30
30
|
const browserTabsUtil: BrowserTabsUtil = e2eContainer.get(CLASSES.BrowserTabsUtil);
|