@eclipse-che/che-e2e 7.58.0-dev-6596a31 → 7.58.0-dev-cefb185
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/dist/TestConstants.js +21 -1
- package/dist/TestConstants.js.map +1 -1
- package/dist/driver/CheReporter.js +14 -4
- package/dist/driver/CheReporter.js.map +1 -1
- package/dist/driver/ChromeDriver.js +6 -4
- package/dist/driver/ChromeDriver.js.map +1 -1
- package/dist/index.js +26 -26
- package/dist/index.js.map +1 -1
- package/dist/inversify.config.js +30 -30
- package/dist/inversify.config.js.map +1 -1
- package/dist/inversify.types.js +4 -4
- package/dist/inversify.types.js.map +1 -1
- package/dist/pageobjects/dashboard/CreateWorkspace.js +9 -2
- package/dist/pageobjects/dashboard/CreateWorkspace.js.map +1 -1
- package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetails.js +1 -1
- package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetails.js.map +1 -1
- package/dist/pageobjects/ide/{ContextMenu.js → theia/ContextMenu.js} +5 -5
- package/dist/pageobjects/ide/theia/ContextMenu.js.map +1 -0
- package/dist/pageobjects/ide/{DebugView.js → theia/DebugView.js} +6 -6
- package/dist/pageobjects/ide/theia/DebugView.js.map +1 -0
- package/dist/pageobjects/ide/{DialogWindow.js → theia/DialogWindow.js} +4 -4
- package/dist/pageobjects/ide/theia/DialogWindow.js.map +1 -0
- package/dist/pageobjects/ide/{Editor.js → theia/Editor.js} +18 -19
- package/dist/pageobjects/ide/theia/Editor.js.map +1 -0
- package/dist/pageobjects/ide/{Ide.js → theia/Ide.js} +5 -5
- package/dist/pageobjects/ide/theia/Ide.js.map +1 -0
- package/dist/pageobjects/ide/{LeftToolBar.js → theia/LeftToolBar.js} +4 -4
- package/dist/pageobjects/ide/theia/LeftToolBar.js.map +1 -0
- package/dist/pageobjects/ide/{NavigationBar.js → theia/NavigationBar.js} +3 -3
- package/dist/pageobjects/ide/theia/NavigationBar.js.map +1 -0
- package/dist/pageobjects/ide/{NotificationCenter.js → theia/NotificationCenter.js} +4 -4
- package/dist/pageobjects/ide/theia/NotificationCenter.js.map +1 -0
- package/dist/pageobjects/ide/{OpenDialogWidget.js → theia/OpenDialogWidget.js} +6 -6
- package/dist/pageobjects/ide/theia/OpenDialogWidget.js.map +1 -0
- package/dist/pageobjects/ide/{OpenEditors.js → theia/OpenEditors.js} +4 -4
- package/dist/pageobjects/ide/theia/OpenEditors.js.map +1 -0
- package/dist/pageobjects/ide/{OpenWorkspaceWidget.js → theia/OpenWorkspaceWidget.js} +4 -4
- package/dist/pageobjects/ide/theia/OpenWorkspaceWidget.js.map +1 -0
- package/dist/pageobjects/ide/{PreviewWidget.js → theia/PreviewWidget.js} +5 -5
- package/dist/pageobjects/ide/theia/PreviewWidget.js.map +1 -0
- package/dist/pageobjects/ide/{ProjectTree.js → theia/ProjectTree.js} +6 -6
- package/dist/pageobjects/ide/theia/ProjectTree.js.map +1 -0
- package/dist/pageobjects/ide/{QuickOpenContainer.js → theia/QuickOpenContainer.js} +4 -4
- package/dist/pageobjects/ide/theia/QuickOpenContainer.js.map +1 -0
- package/dist/pageobjects/ide/{RightToolBar.js → theia/RightToolBar.js} +4 -4
- package/dist/pageobjects/ide/theia/RightToolBar.js.map +1 -0
- package/dist/pageobjects/ide/{Terminal.js → theia/Terminal.js} +5 -5
- package/dist/pageobjects/ide/theia/Terminal.js.map +1 -0
- package/dist/pageobjects/ide/{TopMenu.js → theia/TopMenu.js} +5 -5
- package/dist/pageobjects/ide/theia/TopMenu.js.map +1 -0
- package/dist/pageobjects/ide/{plugins → theia/plugins}/GitHubPullRequestPlugin.js +5 -5
- package/dist/pageobjects/ide/theia/plugins/GitHubPullRequestPlugin.js.map +1 -0
- package/dist/pageobjects/ide/{plugins → theia/plugins}/GitPlugin.js +4 -4
- package/dist/pageobjects/ide/theia/plugins/GitPlugin.js.map +1 -0
- package/dist/pageobjects/ide/{plugins → theia/plugins}/KubernetesPlugin.js +4 -4
- package/dist/pageobjects/ide/theia/plugins/KubernetesPlugin.js.map +1 -0
- package/dist/pageobjects/ide/{plugins → theia/plugins}/OpenshiftPlugin.js +4 -4
- package/dist/pageobjects/ide/theia/plugins/OpenshiftPlugin.js.map +1 -0
- package/dist/pageobjects/ide/{plugins → theia/plugins}/PluginsView.js +4 -4
- package/dist/pageobjects/ide/theia/plugins/PluginsView.js.map +1 -0
- package/dist/tests/devfiles/che-code/EmptyWorkspace.spec.js +61 -0
- package/dist/tests/devfiles/che-code/EmptyWorkspace.spec.js.map +1 -0
- package/dist/tests/devfiles/{CSlashCPlusPlus.spec.js → theia/CSlashCPlusPlus.spec.js} +7 -7
- package/dist/tests/devfiles/theia/CSlashCPlusPlus.spec.js.map +1 -0
- package/dist/tests/devfiles/{DevfileSmoke.spec.js → theia/DevfileSmoke.spec.js} +6 -6
- package/dist/tests/devfiles/theia/DevfileSmoke.spec.js.map +1 -0
- package/dist/tests/devfiles/{DotNetCore.spec.js → theia/DotNetCore.spec.js} +7 -7
- package/dist/tests/devfiles/theia/DotNetCore.spec.js.map +1 -0
- package/dist/tests/devfiles/{Go.spec.js → theia/Go.spec.js} +9 -9
- package/dist/tests/devfiles/theia/Go.spec.js.map +1 -0
- package/dist/tests/devfiles/{JavaMaven.spec.js → theia/JavaMaven.spec.js} +7 -7
- package/dist/tests/devfiles/theia/JavaMaven.spec.js.map +1 -0
- package/dist/tests/devfiles/{JavaSpringBoot.spec.js → theia/JavaSpringBoot.spec.js} +7 -7
- package/dist/tests/devfiles/theia/JavaSpringBoot.spec.js.map +1 -0
- package/dist/tests/devfiles/{JavaVertx.spec.js → theia/JavaVertx.spec.js} +7 -7
- package/dist/tests/devfiles/theia/JavaVertx.spec.js.map +1 -0
- package/dist/tests/devfiles/{NodeJS.spec.js → theia/NodeJS.spec.js} +7 -7
- package/dist/tests/devfiles/theia/NodeJS.spec.js.map +1 -0
- package/dist/tests/devfiles/{PHPSimple.spec.js → theia/PHPSimple.spec.js} +7 -7
- package/dist/tests/devfiles/theia/PHPSimple.spec.js.map +1 -0
- package/dist/tests/devfiles/{Python.spec.js → theia/Python.spec.js} +7 -7
- package/dist/tests/devfiles/theia/Python.spec.js.map +1 -0
- package/dist/tests/devfiles/{PythonDjango.spec.js → theia/PythonDjango.spec.js} +6 -6
- package/dist/tests/devfiles/theia/PythonDjango.spec.js.map +1 -0
- package/dist/tests/devfiles/{Quarkus.spec.js → theia/Quarkus.spec.js} +7 -7
- package/dist/tests/devfiles/theia/Quarkus.spec.js.map +1 -0
- package/dist/tests/devfiles/{Scala.spec.js → theia/Scala.spec.js} +7 -7
- package/dist/tests/devfiles/theia/Scala.spec.js.map +1 -0
- package/dist/tests/e2e/{FactoryUrl.spec.js → theia/FactoryUrl.spec.js} +5 -5
- package/dist/tests/e2e/theia/FactoryUrl.spec.js.map +1 -0
- package/dist/tests/e2e/{GitPublishBranch.spec.js → theia/GitPublishBranch.spec.js} +5 -5
- package/dist/tests/e2e/theia/GitPublishBranch.spec.js.map +1 -0
- package/dist/tests/e2e/{GitSelfSignCert.spec.js → theia/GitSelfSignCert.spec.js} +6 -6
- package/dist/tests/e2e/theia/GitSelfSignCert.spec.js.map +1 -0
- package/dist/tests/e2e/{GitSsh.spec.js → theia/GitSsh.spec.js} +6 -6
- package/dist/tests/e2e/theia/GitSsh.spec.js.map +1 -0
- package/dist/tests/e2e/{OpenshiftConnector.spec.js → theia/OpenshiftConnector.spec.js} +11 -11
- package/dist/tests/e2e/theia/OpenshiftConnector.spec.js.map +1 -0
- package/dist/tests/e2e/{factories → theia/factories}/DirectUrlFactoryWithKeepDirectoryTest.spec.js +6 -6
- package/dist/tests/e2e/theia/factories/DirectUrlFactoryWithKeepDirectoryTest.spec.js.map +1 -0
- package/dist/tests/e2e/{factories → theia/factories}/DirectUrlFactoryWithRootFolderTest.spec.js +6 -6
- package/dist/tests/e2e/theia/factories/DirectUrlFactoryWithRootFolderTest.spec.js.map +1 -0
- package/dist/tests/e2e/{factories → theia/factories}/DirectUrlFactoryWithSpecificBranchTest.spec.js +6 -6
- package/dist/tests/e2e/theia/factories/DirectUrlFactoryWithSpecificBranchTest.spec.js.map +1 -0
- package/dist/tests/e2e_happy_path/{DevWorkspaceHappyPath.spec.js → theia/DevWorkspaceHappyPath.spec.js} +8 -9
- package/dist/tests/e2e_happy_path/theia/DevWorkspaceHappyPath.spec.js.map +1 -0
- package/dist/tests/e2e_happy_path/{HappyPath.spec.js → theia/HappyPath.spec.js} +8 -8
- package/dist/tests/e2e_happy_path/theia/HappyPath.spec.js.map +1 -0
- package/dist/tests/load_test/{LoadTest.spec.js → theia/LoadTest.spec.js} +5 -5
- package/dist/tests/load_test/theia/LoadTest.spec.js.map +1 -0
- package/dist/tests/plugins/{GitHubPullRequestPlugin.spec.js → theia/GitHubPullRequestPlugin.spec.js} +8 -9
- package/dist/tests/plugins/{GitHubPullRequestPlugin.spec.js.map → theia/GitHubPullRequestPlugin.spec.js.map} +1 -1
- package/dist/tests/plugins/{InstallPluginUsingUI.spec.js → theia/InstallPluginUsingUI.spec.js} +7 -8
- package/dist/tests/plugins/{InstallPluginUsingUI.spec.js.map → theia/InstallPluginUsingUI.spec.js.map} +1 -1
- package/dist/tests/plugins/{JavaPlugin.spec.js → theia/JavaPlugin.spec.js} +8 -8
- package/dist/tests/plugins/theia/JavaPlugin.spec.js.map +1 -0
- package/dist/tests/plugins/{PhpPlugin.spec.js → theia/PhpPlugin.spec.js} +7 -7
- package/dist/tests/plugins/theia/PhpPlugin.spec.js.map +1 -0
- package/dist/tests/plugins/{PythonPlugin.spec.js → theia/PythonPlugin.spec.js} +8 -8
- package/dist/tests/plugins/theia/PythonPlugin.spec.js.map +1 -0
- package/dist/tests/plugins/{TypescriptPlugin.spec.js → theia/TypescriptPlugin.spec.js} +9 -9
- package/dist/tests/plugins/theia/TypescriptPlugin.spec.js.map +1 -0
- package/dist/tests/plugins/{VscodeKubernetesPlugin.spec.js → theia/VscodeKubernetesPlugin.spec.js} +7 -7
- package/dist/tests/plugins/theia/VscodeKubernetesPlugin.spec.js.map +1 -0
- package/dist/tests/plugins/{VscodeShellcheckPlugin.spec.js → theia/VscodeShellcheckPlugin.spec.js} +7 -7
- package/dist/tests/plugins/theia/VscodeShellcheckPlugin.spec.js.map +1 -0
- package/dist/tests/plugins/{VscodeValePlugin.spec.js → theia/VscodeValePlugin.spec.js} +6 -6
- package/dist/tests/plugins/theia/VscodeValePlugin.spec.js.map +1 -0
- package/dist/tests/plugins/{VscodeXmlPlugin.spec.js → theia/VscodeXmlPlugin.spec.js} +6 -6
- package/dist/tests/plugins/theia/VscodeXmlPlugin.spec.js.map +1 -0
- package/dist/tests/plugins/{VscodeYamlPlugin.spec.js → theia/VscodeYamlPlugin.spec.js} +6 -6
- package/dist/tests/plugins/theia/VscodeYamlPlugin.spec.js.map +1 -0
- package/dist/testsLibrary/WorkspaceHandlingTests.js +3 -30
- package/dist/testsLibrary/WorkspaceHandlingTests.js.map +1 -1
- package/dist/testsLibrary/{CodeExecutionTests.js → theia/CodeExecutionTestsTheia.js} +22 -22
- package/dist/testsLibrary/theia/CodeExecutionTestsTheia.js.map +1 -0
- package/dist/testsLibrary/{LanguageServerTests.js → theia/LanguageServerTestsTheia.js} +14 -14
- package/dist/testsLibrary/theia/LanguageServerTestsTheia.js.map +1 -0
- package/dist/testsLibrary/{ProjectAndFileTests.js → theia/ProjectAndFileTestsTheia.js} +43 -15
- package/dist/testsLibrary/theia/ProjectAndFileTestsTheia.js.map +1 -0
- package/dist/utils/DriverHelper.js +1 -1
- package/dist/utils/DriverHelper.js.map +1 -1
- package/dist/utils/{PreferencesHandler.js → theia/PreferencesHandlerTheia.js} +23 -23
- package/dist/utils/theia/PreferencesHandlerTheia.js.map +1 -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 +3 -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 +36 -24
- 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/che-code/EmptyWorkspace.spec.ts +58 -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/pageobjects/ide/ContextMenu.js.map +0 -1
- package/dist/pageobjects/ide/DebugView.js.map +0 -1
- package/dist/pageobjects/ide/DialogWindow.js.map +0 -1
- package/dist/pageobjects/ide/Editor.js.map +0 -1
- package/dist/pageobjects/ide/Ide.js.map +0 -1
- package/dist/pageobjects/ide/LeftToolBar.js.map +0 -1
- package/dist/pageobjects/ide/NavigationBar.js.map +0 -1
- package/dist/pageobjects/ide/NotificationCenter.js.map +0 -1
- package/dist/pageobjects/ide/OpenDialogWidget.js.map +0 -1
- package/dist/pageobjects/ide/OpenEditors.js.map +0 -1
- package/dist/pageobjects/ide/OpenWorkspaceWidget.js.map +0 -1
- package/dist/pageobjects/ide/PreviewWidget.js.map +0 -1
- package/dist/pageobjects/ide/ProjectTree.js.map +0 -1
- package/dist/pageobjects/ide/QuickOpenContainer.js.map +0 -1
- package/dist/pageobjects/ide/RightToolBar.js.map +0 -1
- package/dist/pageobjects/ide/Terminal.js.map +0 -1
- package/dist/pageobjects/ide/TopMenu.js.map +0 -1
- package/dist/pageobjects/ide/plugins/GitHubPullRequestPlugin.js.map +0 -1
- package/dist/pageobjects/ide/plugins/GitPlugin.js.map +0 -1
- package/dist/pageobjects/ide/plugins/KubernetesPlugin.js.map +0 -1
- package/dist/pageobjects/ide/plugins/OpenshiftPlugin.js.map +0 -1
- package/dist/pageobjects/ide/plugins/PluginsView.js.map +0 -1
- package/dist/tests/devfiles/CSlashCPlusPlus.spec.js.map +0 -1
- package/dist/tests/devfiles/DevfileSmoke.spec.js.map +0 -1
- package/dist/tests/devfiles/DotNetCore.spec.js.map +0 -1
- package/dist/tests/devfiles/Go.spec.js.map +0 -1
- package/dist/tests/devfiles/JavaMaven.spec.js.map +0 -1
- package/dist/tests/devfiles/JavaSpringBoot.spec.js.map +0 -1
- package/dist/tests/devfiles/JavaVertx.spec.js.map +0 -1
- package/dist/tests/devfiles/NodeJS.spec.js.map +0 -1
- package/dist/tests/devfiles/PHPSimple.spec.js.map +0 -1
- package/dist/tests/devfiles/Python.spec.js.map +0 -1
- package/dist/tests/devfiles/PythonDjango.spec.js.map +0 -1
- package/dist/tests/devfiles/Quarkus.spec.js.map +0 -1
- package/dist/tests/devfiles/Scala.spec.js.map +0 -1
- package/dist/tests/e2e/FactoryUrl.spec.js.map +0 -1
- package/dist/tests/e2e/GitPublishBranch.spec.js.map +0 -1
- package/dist/tests/e2e/GitSelfSignCert.spec.js.map +0 -1
- package/dist/tests/e2e/GitSsh.spec.js.map +0 -1
- package/dist/tests/e2e/OpenshiftConnector.spec.js.map +0 -1
- package/dist/tests/e2e/factories/DirectUrlFactoryWithKeepDirectoryTest.spec.js.map +0 -1
- package/dist/tests/e2e/factories/DirectUrlFactoryWithRootFolderTest.spec.js.map +0 -1
- package/dist/tests/e2e/factories/DirectUrlFactoryWithSpecificBranchTest.spec.js.map +0 -1
- package/dist/tests/e2e_happy_path/DevWorkspaceHappyPath.spec.js.map +0 -1
- package/dist/tests/e2e_happy_path/HappyPath.spec.js.map +0 -1
- package/dist/tests/load_test/LoadTest.spec.js.map +0 -1
- package/dist/tests/plugins/JavaPlugin.spec.js.map +0 -1
- package/dist/tests/plugins/PhpPlugin.spec.js.map +0 -1
- package/dist/tests/plugins/PythonPlugin.spec.js.map +0 -1
- package/dist/tests/plugins/TypescriptPlugin.spec.js.map +0 -1
- package/dist/tests/plugins/VscodeKubernetesPlugin.spec.js.map +0 -1
- package/dist/tests/plugins/VscodeShellcheckPlugin.spec.js.map +0 -1
- package/dist/tests/plugins/VscodeValePlugin.spec.js.map +0 -1
- package/dist/tests/plugins/VscodeXmlPlugin.spec.js.map +0 -1
- package/dist/tests/plugins/VscodeYamlPlugin.spec.js.map +0 -1
- package/dist/testsLibrary/CodeExecutionTests.js.map +0 -1
- package/dist/testsLibrary/LanguageServerTests.js.map +0 -1
- package/dist/testsLibrary/ProjectAndFileTests.js.map +0 -1
- package/dist/utils/PreferencesHandler.js.map +0 -1
|
@@ -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);
|
|
@@ -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 { GitPlugin } from '
|
|
14
|
-
import { Ide } from '
|
|
15
|
-
import { ProjectTree } from '
|
|
16
|
-
import { QuickOpenContainer } from '
|
|
17
|
-
import { ICheLoginPage } from '
|
|
18
|
-
import { TestConstants } from '
|
|
19
|
-
import { DriverHelper } from '
|
|
20
|
-
import { TopMenu } from '
|
|
21
|
-
import { TimeoutConstants } from '
|
|
22
|
-
import { Dashboard } from '
|
|
23
|
-
import { BrowserTabsUtil } from '
|
|
24
|
-
import { WorkspaceHandlingTests } from '
|
|
25
|
-
import { Editor } from '
|
|
26
|
-
import { ITestWorkspaceUtil } from '
|
|
27
|
-
import CheReporter from '
|
|
11
|
+
import { e2eContainer } from '../../../inversify.config';
|
|
12
|
+
import { CLASSES, TYPES } from '../../../inversify.types';
|
|
13
|
+
import { GitPlugin } from '../../../pageobjects/ide/theia/plugins/GitPlugin';
|
|
14
|
+
import { Ide } from '../../../pageobjects/ide/theia/Ide';
|
|
15
|
+
import { ProjectTree } from '../../../pageobjects/ide/theia/ProjectTree';
|
|
16
|
+
import { QuickOpenContainer } from '../../../pageobjects/ide/theia/QuickOpenContainer';
|
|
17
|
+
import { ICheLoginPage } from '../../../pageobjects/login/ICheLoginPage';
|
|
18
|
+
import { TestConstants } from '../../../TestConstants';
|
|
19
|
+
import { DriverHelper } from '../../../utils/DriverHelper';
|
|
20
|
+
import { TopMenu } from '../../../pageobjects/ide/theia/TopMenu';
|
|
21
|
+
import { TimeoutConstants } from '../../../TimeoutConstants';
|
|
22
|
+
import { Dashboard } from '../../../pageobjects/dashboard/Dashboard';
|
|
23
|
+
import { BrowserTabsUtil } from '../../../utils/BrowserTabsUtil';
|
|
24
|
+
import { WorkspaceHandlingTests } from '../../../testsLibrary/WorkspaceHandlingTests';
|
|
25
|
+
import { Editor } from '../../../pageobjects/ide/theia/Editor';
|
|
26
|
+
import { ITestWorkspaceUtil } from '../../../utils/workspace/ITestWorkspaceUtil';
|
|
27
|
+
import CheReporter from '../../../driver/CheReporter';
|
|
28
28
|
|
|
29
29
|
const workspaceHandlingTests: WorkspaceHandlingTests = e2eContainer.get(CLASSES.WorkspaceHandlingTests);
|
|
30
30
|
const ide: Ide = e2eContainer.get(CLASSES.Ide);
|
|
@@ -9,26 +9,26 @@
|
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
|
|
11
11
|
import { assert } from 'chai';
|
|
12
|
-
import { e2eContainer } from '
|
|
13
|
-
import { CLASSES, TYPES } from '
|
|
14
|
-
import { Editor } from '
|
|
15
|
-
import { GitPlugin } from '
|
|
16
|
-
import { Ide } from '
|
|
17
|
-
import { ProjectTree } from '
|
|
18
|
-
import { QuickOpenContainer } from '
|
|
19
|
-
import { ICheLoginPage } from '
|
|
20
|
-
import { TestConstants } from '
|
|
21
|
-
import { DriverHelper } from '
|
|
22
|
-
import { WorkspaceNameHandler } from '
|
|
23
|
-
import { CheGitApi } from '
|
|
24
|
-
import { GitHubUtil } from '
|
|
25
|
-
import { TopMenu } from '
|
|
26
|
-
import { TimeoutConstants } from '
|
|
27
|
-
import { BrowserTabsUtil } from '
|
|
28
|
-
import { Dashboard } from '
|
|
29
|
-
import { ITestWorkspaceUtil } from '
|
|
30
|
-
import { WorkspaceHandlingTests } from '
|
|
31
|
-
import CheReporter from '
|
|
12
|
+
import { e2eContainer } from '../../../inversify.config';
|
|
13
|
+
import { CLASSES, TYPES } from '../../../inversify.types';
|
|
14
|
+
import { Editor } from '../../../pageobjects/ide/theia/Editor';
|
|
15
|
+
import { GitPlugin } from '../../../pageobjects/ide/theia/plugins/GitPlugin';
|
|
16
|
+
import { Ide } from '../../../pageobjects/ide/theia/Ide';
|
|
17
|
+
import { ProjectTree } from '../../../pageobjects/ide/theia/ProjectTree';
|
|
18
|
+
import { QuickOpenContainer } from '../../../pageobjects/ide/theia/QuickOpenContainer';
|
|
19
|
+
import { ICheLoginPage } from '../../../pageobjects/login/ICheLoginPage';
|
|
20
|
+
import { TestConstants } from '../../../TestConstants';
|
|
21
|
+
import { DriverHelper } from '../../../utils/DriverHelper';
|
|
22
|
+
import { WorkspaceNameHandler } from '../../../utils/WorkspaceNameHandler';
|
|
23
|
+
import { CheGitApi } from '../../../utils/VCS/CheGitApi';
|
|
24
|
+
import { GitHubUtil } from '../../../utils/VCS/github/GitHubUtil';
|
|
25
|
+
import { TopMenu } from '../../../pageobjects/ide/theia/TopMenu';
|
|
26
|
+
import { TimeoutConstants } from '../../../TimeoutConstants';
|
|
27
|
+
import { BrowserTabsUtil } from '../../../utils/BrowserTabsUtil';
|
|
28
|
+
import { Dashboard } from '../../../pageobjects/dashboard/Dashboard';
|
|
29
|
+
import { ITestWorkspaceUtil } from '../../../utils/workspace/ITestWorkspaceUtil';
|
|
30
|
+
import { WorkspaceHandlingTests } from '../../../testsLibrary/WorkspaceHandlingTests';
|
|
31
|
+
import CheReporter from '../../../driver/CheReporter';
|
|
32
32
|
|
|
33
33
|
const driverHelper: DriverHelper = e2eContainer.get(CLASSES.DriverHelper);
|
|
34
34
|
const ide: Ide = e2eContainer.get(CLASSES.Ide);
|
|
@@ -8,26 +8,26 @@
|
|
|
8
8
|
* SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
|
|
11
|
+
import { e2eContainer } from '../../../inversify.config';
|
|
12
|
+
import { CLASSES, TYPES } from '../../../inversify.types';
|
|
13
|
+
import { Dashboard } from '../../../pageobjects/dashboard/Dashboard';
|
|
14
|
+
import { Ide } from '../../../pageobjects/ide/theia/Ide';
|
|
15
|
+
import { Buttons, Locations, OpenDialogWidget } from '../../../pageobjects/ide/theia/OpenDialogWidget';
|
|
16
|
+
import { OpenshiftAppExplorerToolbar, OpenshiftContextMenuItems, OpenshiftPlugin } from '../../../pageobjects/ide/theia/plugins/OpenshiftPlugin';
|
|
17
|
+
import { ProjectTree } from '../../../pageobjects/ide/theia/ProjectTree';
|
|
18
|
+
import { QuickOpenContainer } from '../../../pageobjects/ide/theia/QuickOpenContainer';
|
|
19
|
+
import { Terminal } from '../../../pageobjects/ide/theia/Terminal';
|
|
20
|
+
import { TopMenu } from '../../../pageobjects/ide/theia/TopMenu';
|
|
21
|
+
import { ICheLoginPage } from '../../../pageobjects/login/ICheLoginPage';
|
|
22
|
+
import { TimeoutConstants } from '../../../TimeoutConstants';
|
|
23
|
+
import { TestConstants } from '../../../TestConstants';
|
|
24
|
+
import { DriverHelper } from '../../../utils/DriverHelper';
|
|
25
|
+
import { PreferencesHandlerTheia, TerminalRendererTypeTheia } from '../../../utils/theia/PreferencesHandlerTheia';
|
|
26
|
+
import { BrowserTabsUtil } from '../../../utils/BrowserTabsUtil';
|
|
27
|
+
import { ITestWorkspaceUtil } from '../../../utils/workspace/ITestWorkspaceUtil';
|
|
28
|
+
import { WorkspaceHandlingTests } from '../../../testsLibrary/WorkspaceHandlingTests';
|
|
29
|
+
import CheReporter from '../../../driver/CheReporter';
|
|
11
30
|
import { Key } from 'selenium-webdriver';
|
|
12
|
-
import { e2eContainer } from '../../inversify.config';
|
|
13
|
-
import { CLASSES, TYPES } from '../../inversify.types';
|
|
14
|
-
import { Dashboard } from '../../pageobjects/dashboard/Dashboard';
|
|
15
|
-
import { Ide } from '../../pageobjects/ide/Ide';
|
|
16
|
-
import { Buttons, Locations, OpenDialogWidget } from '../../pageobjects/ide/OpenDialogWidget';
|
|
17
|
-
import { OpenshiftAppExplorerToolbar, OpenshiftContextMenuItems, OpenshiftPlugin } from '../../pageobjects/ide/plugins/OpenshiftPlugin';
|
|
18
|
-
import { ProjectTree } from '../../pageobjects/ide/ProjectTree';
|
|
19
|
-
import { QuickOpenContainer } from '../../pageobjects/ide/QuickOpenContainer';
|
|
20
|
-
import { Terminal } from '../../pageobjects/ide/Terminal';
|
|
21
|
-
import { TopMenu } from '../../pageobjects/ide/TopMenu';
|
|
22
|
-
import { ICheLoginPage } from '../../pageobjects/login/ICheLoginPage';
|
|
23
|
-
import { TestConstants } from '../../TestConstants';
|
|
24
|
-
import { DriverHelper } from '../../utils/DriverHelper';
|
|
25
|
-
import { PreferencesHandler, TerminalRendererType } from '../../utils/PreferencesHandler';
|
|
26
|
-
import { TimeoutConstants } from '../../TimeoutConstants';
|
|
27
|
-
import { BrowserTabsUtil } from '../../utils/BrowserTabsUtil';
|
|
28
|
-
import { ITestWorkspaceUtil } from '../../utils/workspace/ITestWorkspaceUtil';
|
|
29
|
-
import { WorkspaceHandlingTests } from '../../testsLibrary/WorkspaceHandlingTests';
|
|
30
|
-
import CheReporter from '../../driver/CheReporter';
|
|
31
31
|
|
|
32
32
|
const driverHelper: DriverHelper = e2eContainer.get(CLASSES.DriverHelper);
|
|
33
33
|
const ide: Ide = e2eContainer.get(CLASSES.Ide);
|
|
@@ -37,7 +37,7 @@ const openshiftPlugin: OpenshiftPlugin = e2eContainer.get(CLASSES.OpenshiftPlugi
|
|
|
37
37
|
const dashboard: Dashboard = e2eContainer.get(CLASSES.Dashboard);
|
|
38
38
|
const quickOpenContainer: QuickOpenContainer = e2eContainer.get(CLASSES.QuickOpenContainer);
|
|
39
39
|
const openDialogWidget: OpenDialogWidget = e2eContainer.get(CLASSES.OpenDialogWidget);
|
|
40
|
-
const preferencesHalder:
|
|
40
|
+
const preferencesHalder: PreferencesHandlerTheia = e2eContainer.get(CLASSES.PreferencesHandlerTheia);
|
|
41
41
|
const terminal: Terminal = e2eContainer.get(CLASSES.Terminal);
|
|
42
42
|
const projectTree: ProjectTree = e2eContainer.get(CLASSES.ProjectTree);
|
|
43
43
|
const topMenu: TopMenu = e2eContainer.get(CLASSES.TopMenu);
|
|
@@ -50,7 +50,7 @@ suite('Openshift connector user story', async () => {
|
|
|
50
50
|
let wsName: string;
|
|
51
51
|
|
|
52
52
|
suiteSetup(async function () {
|
|
53
|
-
preferencesHalder.setTerminalType(
|
|
53
|
+
preferencesHalder.setTerminalType(TerminalRendererTypeTheia.dom);
|
|
54
54
|
const wsConfig = await testWorkspaceUtils.getBaseDevfile();
|
|
55
55
|
wsName = wsConfig.metadata!.name!;
|
|
56
56
|
wsConfig.projects = [
|
package/tests/e2e/{factories → theia/factories}/DirectUrlFactoryWithKeepDirectoryTest.spec.ts
RENAMED
|
@@ -8,17 +8,17 @@
|
|
|
8
8
|
// * SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
// **********************************************************************/
|
|
10
10
|
|
|
11
|
-
import { e2eContainer } from '
|
|
12
|
-
import { CLASSES } from '
|
|
13
|
-
import { TestConstants } from '
|
|
14
|
-
import {
|
|
15
|
-
import { BrowserTabsUtil } from '
|
|
16
|
-
import { WorkspaceHandlingTests } from '
|
|
17
|
-
import {
|
|
18
|
-
|
|
19
|
-
const preferencesHandler:
|
|
11
|
+
import { e2eContainer } from '../../../../inversify.config';
|
|
12
|
+
import { CLASSES } from '../../../../inversify.types';
|
|
13
|
+
import { TestConstants } from '../../../../TestConstants';
|
|
14
|
+
import { ProjectAndFileTestsTheia } from '../../../../testsLibrary/theia/ProjectAndFileTestsTheia';
|
|
15
|
+
import { BrowserTabsUtil } from '../../../../utils/BrowserTabsUtil';
|
|
16
|
+
import { WorkspaceHandlingTests } from '../../../../testsLibrary/WorkspaceHandlingTests';
|
|
17
|
+
import { PreferencesHandlerTheia } from '../../../../utils/theia/PreferencesHandlerTheia';
|
|
18
|
+
|
|
19
|
+
const preferencesHandler: PreferencesHandlerTheia = e2eContainer.get(CLASSES.PreferencesHandlerTheia);
|
|
20
20
|
const workspaceHandlingTests: WorkspaceHandlingTests = e2eContainer.get(CLASSES.WorkspaceHandlingTests);
|
|
21
|
-
const projectAndFileTests:
|
|
21
|
+
const projectAndFileTests: ProjectAndFileTestsTheia = e2eContainer.get(CLASSES.ProjectAndFileTestsTheia);
|
|
22
22
|
const browserTabsUtil: BrowserTabsUtil = e2eContainer.get(CLASSES.BrowserTabsUtil);
|
|
23
23
|
|
|
24
24
|
const factoryUrl : string = `${TestConstants.TS_SELENIUM_BASE_URL}/f?url=https://github.com/che-samples/console-java-simple/tree/master/src`;
|
|
@@ -8,17 +8,17 @@
|
|
|
8
8
|
// * SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
// **********************************************************************/
|
|
10
10
|
|
|
11
|
-
import { e2eContainer } from '
|
|
12
|
-
import { CLASSES } from '
|
|
13
|
-
import { TestConstants } from '
|
|
14
|
-
import {
|
|
15
|
-
import { BrowserTabsUtil } from '
|
|
16
|
-
import { WorkspaceHandlingTests } from '
|
|
17
|
-
import {
|
|
18
|
-
|
|
19
|
-
const preferencesHandler:
|
|
11
|
+
import { e2eContainer } from '../../../../inversify.config';
|
|
12
|
+
import { CLASSES } from '../../../../inversify.types';
|
|
13
|
+
import { TestConstants } from '../../../../TestConstants';
|
|
14
|
+
import { ProjectAndFileTestsTheia } from '../../../../testsLibrary/theia/ProjectAndFileTestsTheia';
|
|
15
|
+
import { BrowserTabsUtil } from '../../../../utils/BrowserTabsUtil';
|
|
16
|
+
import { WorkspaceHandlingTests } from '../../../../testsLibrary/WorkspaceHandlingTests';
|
|
17
|
+
import { PreferencesHandlerTheia } from '../../../../utils/theia/PreferencesHandlerTheia';
|
|
18
|
+
|
|
19
|
+
const preferencesHandler: PreferencesHandlerTheia = e2eContainer.get(CLASSES.PreferencesHandlerTheia);
|
|
20
20
|
const workspaceHandlingTests: WorkspaceHandlingTests = e2eContainer.get(CLASSES.WorkspaceHandlingTests);
|
|
21
|
-
const projectAndFileTests:
|
|
21
|
+
const projectAndFileTests: ProjectAndFileTestsTheia = e2eContainer.get(CLASSES.ProjectAndFileTestsTheia);
|
|
22
22
|
const browserTabsUtil: BrowserTabsUtil = e2eContainer.get(CLASSES.BrowserTabsUtil);
|
|
23
23
|
|
|
24
24
|
const factoryUrl : string = `${TestConstants.TS_SELENIUM_BASE_URL}/f?url=https://github.com/che-samples/console-java-simple`;
|
package/tests/e2e/{factories → theia/factories}/DirectUrlFactoryWithSpecificBranchTest.spec.ts
RENAMED
|
@@ -8,17 +8,17 @@
|
|
|
8
8
|
// * SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
// **********************************************************************/
|
|
10
10
|
|
|
11
|
-
import { e2eContainer } from '
|
|
12
|
-
import { CLASSES } from '
|
|
13
|
-
import { TestConstants } from '
|
|
14
|
-
import {
|
|
15
|
-
import { BrowserTabsUtil } from '
|
|
16
|
-
import { WorkspaceHandlingTests } from '
|
|
17
|
-
import {
|
|
18
|
-
|
|
19
|
-
const preferencesHandler:
|
|
11
|
+
import { e2eContainer } from '../../../../inversify.config';
|
|
12
|
+
import { CLASSES } from '../../../../inversify.types';
|
|
13
|
+
import { TestConstants } from '../../../../TestConstants';
|
|
14
|
+
import { ProjectAndFileTestsTheia } from '../../../../testsLibrary/theia/ProjectAndFileTestsTheia';
|
|
15
|
+
import { BrowserTabsUtil } from '../../../../utils/BrowserTabsUtil';
|
|
16
|
+
import { WorkspaceHandlingTests } from '../../../../testsLibrary/WorkspaceHandlingTests';
|
|
17
|
+
import { PreferencesHandlerTheia } from '../../../../utils/theia/PreferencesHandlerTheia';
|
|
18
|
+
|
|
19
|
+
const preferencesHandler: PreferencesHandlerTheia = e2eContainer.get(CLASSES.PreferencesHandlerTheia);
|
|
20
20
|
const workspaceHandlingTests: WorkspaceHandlingTests = e2eContainer.get(CLASSES.WorkspaceHandlingTests);
|
|
21
|
-
const projectAndFileTests:
|
|
21
|
+
const projectAndFileTests: ProjectAndFileTestsTheia = e2eContainer.get(CLASSES.ProjectAndFileTestsTheia);
|
|
22
22
|
const browserTabsUtil: BrowserTabsUtil = e2eContainer.get(CLASSES.BrowserTabsUtil);
|
|
23
23
|
|
|
24
24
|
let factoryUrl : string = `${TestConstants.TS_SELENIUM_BASE_URL}/f?url=https://github.com/che-samples/console-java-simple/tree/java1.11`;
|
package/tests/e2e_happy_path/{DevWorkspaceHappyPath.spec.ts → theia/DevWorkspaceHappyPath.spec.ts}
RENAMED
|
@@ -7,25 +7,25 @@
|
|
|
7
7
|
// *
|
|
8
8
|
// * SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
// **********************************************************************/
|
|
10
|
-
import { BrowserTabsUtil } from '
|
|
11
|
-
import { CLASSES } from '
|
|
12
|
-
import { DebugView } from '
|
|
13
|
-
import { DialogWindow } from '
|
|
14
|
-
import { DriverHelper } from '
|
|
15
|
-
import { e2eContainer } from '
|
|
16
|
-
import { Editor } from '
|
|
17
|
-
import { Ide, LeftToolbarButton } from '
|
|
10
|
+
import { BrowserTabsUtil } from '../../../utils/BrowserTabsUtil';
|
|
11
|
+
import { CLASSES } from '../../../inversify.types';
|
|
12
|
+
import { DebugView } from '../../../pageobjects/ide/theia/DebugView';
|
|
13
|
+
import { DialogWindow } from '../../../pageobjects/ide/theia/DialogWindow';
|
|
14
|
+
import { DriverHelper } from '../../../utils/DriverHelper';
|
|
15
|
+
import { e2eContainer } from '../../../inversify.config';
|
|
16
|
+
import { Editor } from '../../../pageobjects/ide/theia/Editor';
|
|
17
|
+
import { Ide, LeftToolbarButton } from '../../../pageobjects/ide/theia/Ide';
|
|
18
18
|
import { Key, error, By } from 'selenium-webdriver';
|
|
19
|
-
import { Logger } from '
|
|
20
|
-
import { ProjectTree } from '
|
|
21
|
-
import { Terminal } from '
|
|
22
|
-
import { TestConstants } from '
|
|
23
|
-
import { TimeoutConstants } from '
|
|
24
|
-
import { TopMenu } from '
|
|
19
|
+
import { Logger } from '../../../utils/Logger';
|
|
20
|
+
import { ProjectTree } from '../../../pageobjects/ide/theia/ProjectTree';
|
|
21
|
+
import { Terminal } from '../../../pageobjects/ide/theia/Terminal';
|
|
22
|
+
import { TestConstants } from '../../../TestConstants';
|
|
23
|
+
import { TimeoutConstants } from '../../../TimeoutConstants';
|
|
24
|
+
import { TopMenu } from '../../../pageobjects/ide/theia/TopMenu';
|
|
25
25
|
import * as fs from 'fs';
|
|
26
26
|
import axios from 'axios';
|
|
27
|
-
import { WorkspaceHandlingTests } from '
|
|
28
|
-
import CheReporter from '
|
|
27
|
+
import { WorkspaceHandlingTests } from '../../../testsLibrary/WorkspaceHandlingTests';
|
|
28
|
+
import CheReporter from '../../../driver/CheReporter';
|
|
29
29
|
|
|
30
30
|
const ide: Ide = e2eContainer.get(CLASSES.Ide);
|
|
31
31
|
const projectTree: ProjectTree = e2eContainer.get(CLASSES.ProjectTree);
|
|
@@ -57,8 +57,6 @@ const SpringAppLocators = {
|
|
|
57
57
|
suite('Workspace creation via factory url', async () => {
|
|
58
58
|
let factoryUrl : string = `${TestConstants.TS_SELENIUM_DEVWORKSPACE_URL}`;
|
|
59
59
|
|
|
60
|
-
const workspaceRootFolderName: string = 'src';
|
|
61
|
-
|
|
62
60
|
suite('Open factory URL', async () => {
|
|
63
61
|
// this is DevWorkspace test specific - we create the test ws. using factory instead of chectl
|
|
64
62
|
test(`Navigating to factory URL`, async () => {
|
|
@@ -272,7 +270,7 @@ async function sendRequestToDebugApp(urlToApp: string) {
|
|
|
272
270
|
const httpClient = axios.create();
|
|
273
271
|
httpClient.defaults.timeout = 1000;
|
|
274
272
|
try {
|
|
275
|
-
|
|
273
|
+
await httpClient.get(urlToApp);
|
|
276
274
|
} catch (error) {
|
|
277
275
|
if (error instanceof Error) {
|
|
278
276
|
if (error.message === 'timeout of 1000ms exceeded') {
|
|
@@ -8,28 +8,28 @@
|
|
|
8
8
|
* SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
|
|
11
|
-
import { e2eContainer } from '
|
|
12
|
-
import { DriverHelper } from '
|
|
13
|
-
import { CLASSES } from '
|
|
14
|
-
import { Ide, LeftToolbarButton } from '
|
|
15
|
-
import { ProjectTree } from '
|
|
16
|
-
import { TopMenu } from '
|
|
17
|
-
import { Editor } from '
|
|
18
|
-
import { PreviewWidget } from '
|
|
19
|
-
import { TestConstants } from '
|
|
11
|
+
import { e2eContainer } from '../../../inversify.config';
|
|
12
|
+
import { DriverHelper } from '../../../utils/DriverHelper';
|
|
13
|
+
import { CLASSES } from '../../../inversify.types';
|
|
14
|
+
import { Ide, LeftToolbarButton } from '../../../pageobjects/ide/theia/Ide';
|
|
15
|
+
import { ProjectTree } from '../../../pageobjects/ide/theia/ProjectTree';
|
|
16
|
+
import { TopMenu } from '../../../pageobjects/ide/theia/TopMenu';
|
|
17
|
+
import { Editor } from '../../../pageobjects/ide/theia/Editor';
|
|
18
|
+
import { PreviewWidget } from '../../../pageobjects/ide/theia/PreviewWidget';
|
|
19
|
+
import { TestConstants } from '../../../TestConstants';
|
|
20
20
|
import { By, Key, error } from 'selenium-webdriver';
|
|
21
|
-
import { DebugView } from '
|
|
22
|
-
import { DialogWindow } from '
|
|
23
|
-
import { Terminal } from '
|
|
21
|
+
import { DebugView } from '../../../pageobjects/ide/theia/DebugView';
|
|
22
|
+
import { DialogWindow } from '../../../pageobjects/ide/theia/DialogWindow';
|
|
23
|
+
import { Terminal } from '../../../pageobjects/ide/theia/Terminal';
|
|
24
24
|
import * as fs from 'fs';
|
|
25
|
-
import { Workspaces } from '
|
|
26
|
-
import { Dashboard } from '
|
|
27
|
-
import { TimeoutConstants } from '
|
|
28
|
-
import { Logger } from '
|
|
29
|
-
import { RightToolBar } from '
|
|
30
|
-
import { BrowserTabsUtil } from '
|
|
31
|
-
import { WorkspaceHandlingTests } from '
|
|
32
|
-
import CheReporter from '
|
|
25
|
+
import { Workspaces } from '../../../pageobjects/dashboard/Workspaces';
|
|
26
|
+
import { Dashboard } from '../../../pageobjects/dashboard/Dashboard';
|
|
27
|
+
import { TimeoutConstants } from '../../../TimeoutConstants';
|
|
28
|
+
import { Logger } from '../../../utils/Logger';
|
|
29
|
+
import { RightToolBar } from '../../../pageobjects/ide/theia/RightToolBar';
|
|
30
|
+
import { BrowserTabsUtil } from '../../../utils/BrowserTabsUtil';
|
|
31
|
+
import { WorkspaceHandlingTests } from '../../../testsLibrary/WorkspaceHandlingTests';
|
|
32
|
+
import CheReporter from '../../../driver/CheReporter';
|
|
33
33
|
|
|
34
34
|
const driverHelper: DriverHelper = e2eContainer.get(CLASSES.DriverHelper);
|
|
35
35
|
const ide: Ide = e2eContainer.get(CLASSES.Ide);
|
|
@@ -46,6 +46,7 @@ const warningDialog: DialogWindow = e2eContainer.get(CLASSES.DialogWindow);
|
|
|
46
46
|
const projectName: string = 'petclinic';
|
|
47
47
|
const workspaceRootFolderName: string = 'src';
|
|
48
48
|
const workspaceName: string = TestConstants.TS_SELENIUM_HAPPY_PATH_WORKSPACE_NAME;
|
|
49
|
+
|
|
49
50
|
const pathToJavaFolder: string = `${projectName}/${workspaceRootFolderName}/main/java/org/springframework/samples/petclinic`;
|
|
50
51
|
const pathToChangedJavaFileFolder: string = `${projectName}/${workspaceRootFolderName}/main/java/org/springframework/samples/petclinic/system`;
|
|
51
52
|
const classPathFilename: string = '.classpath';
|