@eclipse-che/che-e2e 7.56.1-dev-b76c7da → 7.56.1-dev-3722260
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/code/JavaSpringBoot.spec.js +76 -0
- package/dist/tests/devfiles/code/JavaSpringBoot.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 +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 +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/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/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,23 +8,23 @@
|
|
|
8
8
|
* SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
|
|
11
|
+
import { e2eContainer } from '../../../inversify.config';
|
|
12
|
+
import { CLASSES } from '../../../inversify.types';
|
|
13
|
+
import { ProjectTree } from '../../../pageobjects/ide/theia/ProjectTree';
|
|
14
|
+
import { Editor } from '../../../pageobjects/ide/theia/Editor';
|
|
15
|
+
import { TestConstants } from '../../../TestConstants';
|
|
16
|
+
import { WorkspaceHandlingTests } from '../../../testsLibrary/WorkspaceHandlingTests';
|
|
17
|
+
import { BrowserTabsUtil } from '../../../utils/BrowserTabsUtil';
|
|
18
|
+
import { PreferencesHandlerTheia } from '../../../utils/theia/PreferencesHandlerTheia';
|
|
19
|
+
import { ProjectAndFileTestsTheia } from '../../../testsLibrary/theia/ProjectAndFileTestsTheia';
|
|
11
20
|
import { Key } from 'selenium-webdriver';
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
import { ProjectTree } from '../../pageobjects/ide/ProjectTree';
|
|
15
|
-
import { Editor } from '../../pageobjects/ide/Editor';
|
|
16
|
-
import { TestConstants } from '../../TestConstants';
|
|
17
|
-
import { WorkspaceHandlingTests } from '../../testsLibrary/WorkspaceHandlingTests';
|
|
18
|
-
import { BrowserTabsUtil } from '../../utils/BrowserTabsUtil';
|
|
19
|
-
import { PreferencesHandler } from '../../utils/PreferencesHandler';
|
|
20
|
-
import { ProjectAndFileTests } from '../../testsLibrary/ProjectAndFileTests';
|
|
21
|
-
|
|
22
|
-
const projectAndFileTests: ProjectAndFileTests = e2eContainer.get(CLASSES.ProjectAndFileTests);
|
|
21
|
+
|
|
22
|
+
const projectAndFileTests: ProjectAndFileTestsTheia = e2eContainer.get(CLASSES.ProjectAndFileTestsTheia);
|
|
23
23
|
const projectTree: ProjectTree = e2eContainer.get(CLASSES.ProjectTree);
|
|
24
24
|
const editor: Editor = e2eContainer.get(CLASSES.Editor);
|
|
25
25
|
const browserTabsUtil: BrowserTabsUtil = e2eContainer.get(CLASSES.BrowserTabsUtil);
|
|
26
26
|
const workspaceHandlingTests: WorkspaceHandlingTests = e2eContainer.get(CLASSES.WorkspaceHandlingTests);
|
|
27
|
-
const preferencesHandler:
|
|
27
|
+
const preferencesHandler: PreferencesHandlerTheia = e2eContainer.get(CLASSES.PreferencesHandlerTheia);
|
|
28
28
|
|
|
29
29
|
const devfileUrl: string = TestConstants.TS_TEST_WORKSPACE_DEVFILE_REPO || 'https://github.com/che-samples/web-nodejs-sample/tree/xml-plugin';
|
|
30
30
|
const factoryUrl: string = `${TestConstants.TS_SELENIUM_BASE_URL}/f?url=${devfileUrl}`;
|
|
@@ -8,23 +8,23 @@
|
|
|
8
8
|
* SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
|
|
11
|
+
import { e2eContainer } from '../../../inversify.config';
|
|
12
|
+
import { CLASSES } from '../../../inversify.types';
|
|
13
|
+
import { ProjectTree } from '../../../pageobjects/ide/theia/ProjectTree';
|
|
14
|
+
import { Editor } from '../../../pageobjects/ide/theia/Editor';
|
|
15
|
+
import { TestConstants } from '../../../TestConstants';
|
|
16
|
+
import { WorkspaceHandlingTests } from '../../../testsLibrary/WorkspaceHandlingTests';
|
|
17
|
+
import { BrowserTabsUtil } from '../../../utils/BrowserTabsUtil';
|
|
18
|
+
import { PreferencesHandlerTheia } from '../../../utils/theia/PreferencesHandlerTheia';
|
|
19
|
+
import { ProjectAndFileTestsTheia } from '../../../testsLibrary/theia/ProjectAndFileTestsTheia';
|
|
11
20
|
import { Key } from 'selenium-webdriver';
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
import { ProjectTree } from '../../pageobjects/ide/ProjectTree';
|
|
15
|
-
import { Editor } from '../../pageobjects/ide/Editor';
|
|
16
|
-
import { TestConstants } from '../../TestConstants';
|
|
17
|
-
import { WorkspaceHandlingTests } from '../../testsLibrary/WorkspaceHandlingTests';
|
|
18
|
-
import { BrowserTabsUtil } from '../../utils/BrowserTabsUtil';
|
|
19
|
-
import { PreferencesHandler } from '../../utils/PreferencesHandler';
|
|
20
|
-
import { ProjectAndFileTests } from '../../testsLibrary/ProjectAndFileTests';
|
|
21
|
-
|
|
22
|
-
const projectAndFileTests: ProjectAndFileTests = e2eContainer.get(CLASSES.ProjectAndFileTests);
|
|
21
|
+
|
|
22
|
+
const projectAndFileTests: ProjectAndFileTestsTheia = e2eContainer.get(CLASSES.ProjectAndFileTestsTheia);
|
|
23
23
|
const projectTree: ProjectTree = e2eContainer.get(CLASSES.ProjectTree);
|
|
24
24
|
const editor: Editor = e2eContainer.get(CLASSES.Editor);
|
|
25
25
|
const browserTabsUtil: BrowserTabsUtil = e2eContainer.get(CLASSES.BrowserTabsUtil);
|
|
26
26
|
const workspaceHandlingTests: WorkspaceHandlingTests = e2eContainer.get(CLASSES.WorkspaceHandlingTests);
|
|
27
|
-
const preferencesHandler:
|
|
27
|
+
const preferencesHandler: PreferencesHandlerTheia = e2eContainer.get(CLASSES.PreferencesHandlerTheia);
|
|
28
28
|
|
|
29
29
|
const devfileUrl: string = TestConstants.TS_TEST_WORKSPACE_DEVFILE_REPO || 'https://github.com/che-samples/web-nodejs-sample/tree/yaml-plugin';
|
|
30
30
|
const factoryUrl: string = `${TestConstants.TS_SELENIUM_BASE_URL}/f?url=${devfileUrl}`;
|
|
@@ -8,143 +8,118 @@
|
|
|
8
8
|
* SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
continue;
|
|
127
|
-
}
|
|
128
|
-
Logger.error(`WorkspaceHandlingTests.switchBackToIdeTab Received unexpected exception while trying to locate IDE tab:${err}`);
|
|
129
|
-
throw err;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
Logger.error(`WorkspaceHandlingTests.switchBackToIdeTab Failed to locate IDE tab, out of window handles.`);
|
|
133
|
-
});
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
public async stopWorkspace(workspaceName: string) {
|
|
137
|
-
await this.dashboard.openDashboard();
|
|
138
|
-
await this.dashboard.stopWorkspaceByUI(workspaceName);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
public async removeWorkspace(workspaceName: string) {
|
|
142
|
-
await this.dashboard.openDashboard();
|
|
143
|
-
await this.dashboard.deleteStoppedWorkspaceByUI(workspaceName);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
public async stopAndRemoveWorkspace(workspaceName: string) {
|
|
147
|
-
await this.dashboard.openDashboard();
|
|
148
|
-
await this.dashboard.stopAndRemoveWorkspaceByUI(workspaceName);
|
|
149
|
-
}
|
|
150
|
-
}
|
|
11
|
+
import 'reflect-metadata';
|
|
12
|
+
import { inject, injectable } from 'inversify';
|
|
13
|
+
import { CLASSES } from '../inversify.types';
|
|
14
|
+
import { Dashboard } from '../pageobjects/dashboard/Dashboard';
|
|
15
|
+
import { CreateWorkspace } from '../pageobjects/dashboard/CreateWorkspace';
|
|
16
|
+
import { Workspaces } from '../pageobjects/dashboard/Workspaces';
|
|
17
|
+
import { BrowserTabsUtil } from '../utils/BrowserTabsUtil';
|
|
18
|
+
import { Logger } from '../utils/Logger';
|
|
19
|
+
import { ApiUrlResolver } from '../utils/workspace/ApiUrlResolver';
|
|
20
|
+
import { TimeoutConstants } from '../TimeoutConstants';
|
|
21
|
+
import { DriverHelper } from '../utils/DriverHelper';
|
|
22
|
+
import { By } from 'selenium-webdriver';
|
|
23
|
+
import { TestConstants } from '../TestConstants';
|
|
24
|
+
|
|
25
|
+
@injectable()
|
|
26
|
+
export class WorkspaceHandlingTests {
|
|
27
|
+
|
|
28
|
+
private static START_WORKSPACE_PAGE_NAME_LOCATOR: By = By.xpath(`//div[@class="ui-container"]/div[@class="pf-c-page"]//div[@class="pf-c-content"]/h1`);
|
|
29
|
+
private static READY_TO_READ_WORKSPACE_NAME_LOCATOR: By = By.xpath(`//div[@class="ui-container"]/div[@class="pf-c-page"]//div[@class="pf-c-content"]/h1[contains(.,'Starting workspace ')]`);
|
|
30
|
+
private static workspaceName: string = 'undefined';
|
|
31
|
+
private static parentGUID: string;
|
|
32
|
+
|
|
33
|
+
public static getWorkspaceName(): string {
|
|
34
|
+
return WorkspaceHandlingTests.workspaceName;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public static setWorkspaceName(workspaceName: string) {
|
|
38
|
+
WorkspaceHandlingTests.workspaceName = workspaceName;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
public setWindowHandle(guid: string) {
|
|
42
|
+
WorkspaceHandlingTests.parentGUID = guid;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
public getWindowHandle(): string {
|
|
46
|
+
return WorkspaceHandlingTests.parentGUID;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
constructor(
|
|
50
|
+
@inject(CLASSES.Dashboard) private readonly dashboard: Dashboard,
|
|
51
|
+
@inject(CLASSES.CreateWorkspace) private readonly createWorkspace: CreateWorkspace,
|
|
52
|
+
@inject(CLASSES.Workspaces) private readonly workspaces: Workspaces,
|
|
53
|
+
@inject(CLASSES.BrowserTabsUtil) private readonly browserTabsUtil: BrowserTabsUtil,
|
|
54
|
+
@inject(CLASSES.ApiUrlResolver) private readonly apiUrlResolver: ApiUrlResolver,
|
|
55
|
+
@inject(CLASSES.DriverHelper) private readonly driverHelper: DriverHelper) {}
|
|
56
|
+
|
|
57
|
+
public createAndOpenWorkspace(stack: string) {
|
|
58
|
+
test(`Create and open new workspace, stack:${stack}`, async () => {
|
|
59
|
+
await this.dashboard.waitPage();
|
|
60
|
+
Logger.debug(`Fetching user kubernetes namespace, storing auth token by getting workspaces API URL.`);
|
|
61
|
+
await this.apiUrlResolver.getWorkspacesApiUrl();
|
|
62
|
+
await this.dashboard.clickCreateWorkspaceButton();
|
|
63
|
+
await this.createWorkspace.waitPage();
|
|
64
|
+
WorkspaceHandlingTests.parentGUID = await this.browserTabsUtil.getCurrentWindowHandle();
|
|
65
|
+
await this.createWorkspace.clickOnSample(stack);
|
|
66
|
+
await this.browserTabsUtil.waitAndSwitchToAnotherWindow(WorkspaceHandlingTests.parentGUID, TimeoutConstants.TS_IDE_LOAD_TIMEOUT);
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
public openExistingWorkspace(workspaceName: string) {
|
|
71
|
+
test('Open and start existing workspace', async () => {
|
|
72
|
+
await this.dashboard.waitPage();
|
|
73
|
+
Logger.debug(`Fetching user kubernetes namespace, storing auth token by getting workspaces API URL.`);
|
|
74
|
+
await this.apiUrlResolver.getWorkspacesApiUrl();
|
|
75
|
+
await this.dashboard.clickWorkspacesButton();
|
|
76
|
+
await this.workspaces.waitPage();
|
|
77
|
+
await this.workspaces.clickOpenButton(workspaceName);
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
public obtainWorkspaceNameFromStartingPage() {
|
|
82
|
+
test('Obtain workspace name from workspace loader page', async() => {
|
|
83
|
+
try {
|
|
84
|
+
Logger.info('Waiting for workspace name on workspace loader page');
|
|
85
|
+
await this.driverHelper.waitVisibility(WorkspaceHandlingTests.READY_TO_READ_WORKSPACE_NAME_LOCATOR, TimeoutConstants.TS_WAIT_LOADER_PRESENCE_TIMEOUT);
|
|
86
|
+
|
|
87
|
+
const timeout: number = TimeoutConstants.TS_IDE_LOAD_TIMEOUT;
|
|
88
|
+
const polling: number = TestConstants.TS_SELENIUM_DEFAULT_POLLING;
|
|
89
|
+
const attempts: number = Math.ceil(timeout / polling);
|
|
90
|
+
let startingWorkspaceLineContent: string;
|
|
91
|
+
|
|
92
|
+
for (let i = 0; i < attempts; i++) {
|
|
93
|
+
startingWorkspaceLineContent = await this.driverHelper.getDriver().findElement(WorkspaceHandlingTests.START_WORKSPACE_PAGE_NAME_LOCATOR).getAttribute('innerHTML');
|
|
94
|
+
|
|
95
|
+
// cutting away leading text
|
|
96
|
+
WorkspaceHandlingTests.workspaceName = startingWorkspaceLineContent.substring('Starting workspace '.length).trim();
|
|
97
|
+
if (WorkspaceHandlingTests.workspaceName !== '') {
|
|
98
|
+
Logger.info(`Obtained workspace name from workspace loader page: ${WorkspaceHandlingTests.workspaceName}`);
|
|
99
|
+
break;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
this.driverHelper.sleep(polling);
|
|
103
|
+
}
|
|
104
|
+
} catch (err) {
|
|
105
|
+
Logger.error(`Failed to obtain workspace name from workspace loader page: ${err}`);
|
|
106
|
+
throw err;
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
public async stopWorkspace(workspaceName: string) {
|
|
112
|
+
await this.dashboard.openDashboard();
|
|
113
|
+
await this.dashboard.stopWorkspaceByUI(workspaceName);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
public async removeWorkspace(workspaceName: string) {
|
|
117
|
+
await this.dashboard.openDashboard();
|
|
118
|
+
await this.dashboard.deleteStoppedWorkspaceByUI(workspaceName);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
public async stopAndRemoveWorkspace(workspaceName: string) {
|
|
122
|
+
await this.dashboard.openDashboard();
|
|
123
|
+
await this.dashboard.stopAndRemoveWorkspaceByUI(workspaceName);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
@@ -10,21 +10,21 @@
|
|
|
10
10
|
|
|
11
11
|
import 'reflect-metadata';
|
|
12
12
|
import Axios from 'axios';
|
|
13
|
-
import { CLASSES } from '
|
|
13
|
+
import { CLASSES } from '../../inversify.types';
|
|
14
14
|
import { inject, injectable } from 'inversify';
|
|
15
15
|
import { By, error, Key } from 'selenium-webdriver';
|
|
16
|
-
import { Ide } from '
|
|
17
|
-
import { Terminal } from '
|
|
18
|
-
import { TopMenu } from '
|
|
19
|
-
import { DialogWindow } from '
|
|
20
|
-
import { DriverHelper } from '
|
|
21
|
-
import { Logger } from '
|
|
22
|
-
import { QuickOpenContainer } from '
|
|
23
|
-
import { WorkspaceHandlingTests } from '
|
|
24
|
-
import { BrowserTabsUtil } from '
|
|
16
|
+
import { Ide } from '../../pageobjects/ide/theia/Ide';
|
|
17
|
+
import { Terminal } from '../../pageobjects/ide/theia/Terminal';
|
|
18
|
+
import { TopMenu } from '../../pageobjects/ide/theia/TopMenu';
|
|
19
|
+
import { DialogWindow } from '../../pageobjects/ide/theia/DialogWindow';
|
|
20
|
+
import { DriverHelper } from '../../utils/DriverHelper';
|
|
21
|
+
import { Logger } from '../../utils/Logger';
|
|
22
|
+
import { QuickOpenContainer } from '../../pageobjects/ide/theia/QuickOpenContainer';
|
|
23
|
+
import { WorkspaceHandlingTests } from '../WorkspaceHandlingTests';
|
|
24
|
+
import { BrowserTabsUtil } from '../../utils/BrowserTabsUtil';
|
|
25
25
|
|
|
26
26
|
@injectable()
|
|
27
|
-
export class
|
|
27
|
+
export class CodeExecutionTestsTheia {
|
|
28
28
|
|
|
29
29
|
private static lastApplicationUrl: string = '';
|
|
30
30
|
|
|
@@ -115,7 +115,7 @@ export class CodeExecutionTests {
|
|
|
115
115
|
this.workspaceHandlingTests.setWindowHandle(await this.browserTabsUtil.getCurrentWindowHandle());
|
|
116
116
|
await this.ide.clickOnNotificationButton(notificationText, buttonText);
|
|
117
117
|
await this.driverHelper.wait(5_000);
|
|
118
|
-
|
|
118
|
+
CodeExecutionTestsTheia.lastApplicationUrl = await this.driverHelper.getDriver().getCurrentUrl();
|
|
119
119
|
});
|
|
120
120
|
}
|
|
121
121
|
|
|
@@ -129,7 +129,7 @@ export class CodeExecutionTests {
|
|
|
129
129
|
this.workspaceHandlingTests.setWindowHandle(await this.browserTabsUtil.getCurrentWindowHandle());
|
|
130
130
|
await this.ide.clickOnNotificationButton(notificationText, 'Open In Preview');
|
|
131
131
|
await this.driverHelper.wait(5_000);
|
|
132
|
-
|
|
132
|
+
CodeExecutionTestsTheia.lastApplicationUrl = await this.driverHelper.getDriver().getCurrentUrl();
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
135
|
|
|
@@ -140,7 +140,7 @@ export class CodeExecutionTests {
|
|
|
140
140
|
this.workspaceHandlingTests.setWindowHandle(await this.browserTabsUtil.getCurrentWindowHandle());
|
|
141
141
|
await this.ide.waitNotificationAndOpenLink(portOpenText, timeout);
|
|
142
142
|
await this.driverHelper.wait(5_000);
|
|
143
|
-
|
|
143
|
+
CodeExecutionTestsTheia.lastApplicationUrl = await this.driverHelper.getDriver().getCurrentUrl();
|
|
144
144
|
});
|
|
145
145
|
}
|
|
146
146
|
|
|
@@ -169,7 +169,7 @@ export class CodeExecutionTests {
|
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
public getLastApplicationUrl(): string {
|
|
172
|
-
return
|
|
172
|
+
return CodeExecutionTestsTheia.lastApplicationUrl;
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
/**
|
|
@@ -10,18 +10,18 @@
|
|
|
10
10
|
|
|
11
11
|
import 'reflect-metadata';
|
|
12
12
|
import { inject, injectable } from 'inversify';
|
|
13
|
-
import { CLASSES } from '
|
|
14
|
-
import { TimeoutConstants } from '
|
|
15
|
-
import { Editor } from '
|
|
16
|
-
import { Ide, LeftToolbarButton } from '
|
|
17
|
-
import { TopMenu } from '
|
|
18
|
-
import { DebugView } from '
|
|
13
|
+
import { CLASSES } from '../../inversify.types';
|
|
14
|
+
import { TimeoutConstants } from '../../TimeoutConstants';
|
|
15
|
+
import { Editor } from '../../pageobjects/ide/theia/Editor';
|
|
16
|
+
import { Ide, LeftToolbarButton } from '../../pageobjects/ide/theia/Ide';
|
|
17
|
+
import { TopMenu } from '../../pageobjects/ide/theia/TopMenu';
|
|
18
|
+
import { DebugView } from '../../pageobjects/ide/theia/DebugView';
|
|
19
19
|
import { Key, error } from 'selenium-webdriver';
|
|
20
|
-
import { Logger } from '
|
|
21
|
-
import { BrowserTabsUtil } from '
|
|
20
|
+
import { Logger } from '../../utils/Logger';
|
|
21
|
+
import { BrowserTabsUtil } from '../../utils/BrowserTabsUtil';
|
|
22
22
|
|
|
23
23
|
@injectable()
|
|
24
|
-
export class
|
|
24
|
+
export class LanguageServerTestsTheia {
|
|
25
25
|
|
|
26
26
|
constructor(
|
|
27
27
|
@inject(CLASSES.Editor) private readonly editor: Editor,
|
|
@@ -10,24 +10,50 @@
|
|
|
10
10
|
|
|
11
11
|
import 'reflect-metadata';
|
|
12
12
|
import { inject, injectable } from 'inversify';
|
|
13
|
-
import { By } from 'selenium-webdriver';
|
|
14
|
-
import { Ide } from '
|
|
15
|
-
import { ProjectTree } from '
|
|
16
|
-
import { OpenEditors } from '
|
|
17
|
-
import { Editor } from '
|
|
18
|
-
import { TimeoutConstants } from '
|
|
19
|
-
import { DriverHelper } from '
|
|
20
|
-
import { CLASSES } from '
|
|
13
|
+
import { By, error } from 'selenium-webdriver';
|
|
14
|
+
import { Ide } from '../../pageobjects/ide/theia/Ide';
|
|
15
|
+
import { ProjectTree } from '../../pageobjects/ide/theia/ProjectTree';
|
|
16
|
+
import { OpenEditors } from '../../pageobjects/ide/theia/OpenEditors';
|
|
17
|
+
import { Editor } from '../../pageobjects/ide/theia/Editor';
|
|
18
|
+
import { TimeoutConstants } from '../../TimeoutConstants';
|
|
19
|
+
import { DriverHelper } from '../../utils/DriverHelper';
|
|
20
|
+
import { CLASSES } from '../../inversify.types';
|
|
21
|
+
import { Logger } from '../../utils/Logger';
|
|
22
|
+
import { BrowserTabsUtil } from '../../utils/BrowserTabsUtil';
|
|
21
23
|
|
|
22
24
|
@injectable()
|
|
23
|
-
export class
|
|
25
|
+
export class ProjectAndFileTestsTheia {
|
|
24
26
|
|
|
25
27
|
constructor(
|
|
26
28
|
@inject(CLASSES.Ide) private readonly ide: Ide,
|
|
27
29
|
@inject(CLASSES.DriverHelper) private readonly driverHelper: DriverHelper,
|
|
28
30
|
@inject(CLASSES.ProjectTree) private readonly projectTree: ProjectTree,
|
|
29
31
|
@inject(CLASSES.OpenEditors) private readonly openEditors: OpenEditors,
|
|
30
|
-
@inject(CLASSES.Editor) private readonly editor: Editor
|
|
32
|
+
@inject(CLASSES.Editor) private readonly editor: Editor,
|
|
33
|
+
@inject(CLASSES.BrowserTabsUtil) private readonly browserTabsUtil: BrowserTabsUtil) {}
|
|
34
|
+
|
|
35
|
+
public switchBackToFirstOpenIdeTabFromLeftToRight() {
|
|
36
|
+
test('WorkspaceHandlingTests.switchBackToIdeTab', async () => {
|
|
37
|
+
let tabs = await this.driverHelper.getDriver().getAllWindowHandles();
|
|
38
|
+
Logger.trace(`WorkspaceHandlingTests.switchBackToIdeTab Found ${tabs.length} window handles, iterating...`);
|
|
39
|
+
for (let i = 0; i < tabs.length; i++) {
|
|
40
|
+
await this.browserTabsUtil.switchToWindow(tabs[i]);
|
|
41
|
+
try {
|
|
42
|
+
await this.ide.waitIde(TimeoutConstants.TS_IDE_LOAD_TIMEOUT);
|
|
43
|
+
Logger.debug(`WorkspaceHandlingTests.switchBackToIdeTab located and switched to IDE tab`);
|
|
44
|
+
return;
|
|
45
|
+
} catch (err) {
|
|
46
|
+
if (err instanceof error.TimeoutError) {
|
|
47
|
+
Logger.warn(`WorkspaceHandlingTests.switchBackToIdeTab Locator timed out, trying with another window handle.`);
|
|
48
|
+
continue;
|
|
49
|
+
}
|
|
50
|
+
Logger.error(`WorkspaceHandlingTests.switchBackToIdeTab Received unexpected exception while trying to locate IDE tab:${err}`);
|
|
51
|
+
throw err;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
Logger.error(`WorkspaceHandlingTests.switchBackToIdeTab Failed to locate IDE tab, out of window handles.`);
|
|
55
|
+
});
|
|
56
|
+
}
|
|
31
57
|
|
|
32
58
|
public waitWorkspaceReadiness(sampleName : string, folder: string, checkNotification: boolean = true, restartWorkspaceDialogIsExpected: boolean = false) {
|
|
33
59
|
test('Wait for workspace readiness', async () => {
|
package/utils/DriverHelper.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { IDriver } from '../driver/IDriver';
|
|
11
11
|
import { inject, injectable } from 'inversify';
|
|
12
12
|
import { TYPES } from '../inversify.types';
|
|
13
|
-
import { error,
|
|
13
|
+
import { error, Actions } from 'selenium-webdriver';
|
|
14
14
|
import 'reflect-metadata';
|
|
15
15
|
import { ThenableWebDriver, By, until, WebElement } from 'selenium-webdriver';
|
|
16
16
|
import { TestConstants } from '../TestConstants';
|
|
@@ -26,7 +26,7 @@ export class DriverHelper {
|
|
|
26
26
|
this.driver = driver.get();
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
public getAction():
|
|
29
|
+
public getAction(): Actions {
|
|
30
30
|
Logger.trace('DriverHelper.getAction');
|
|
31
31
|
|
|
32
32
|
return this.driver.actions();
|
|
@@ -717,7 +717,7 @@ export class DriverHelper {
|
|
|
717
717
|
}
|
|
718
718
|
|
|
719
719
|
try {
|
|
720
|
-
await this.getAction().
|
|
720
|
+
await this.getAction().move({origin: element}).perform();
|
|
721
721
|
return;
|
|
722
722
|
} catch (err) {
|
|
723
723
|
if (err instanceof error.StaleElementReferenceError) {
|
|
@@ -9,27 +9,27 @@
|
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
|
|
11
11
|
import { injectable, inject } from 'inversify';
|
|
12
|
-
import { Logger } from '
|
|
13
|
-
import { CLASSES } from '
|
|
14
|
-
import { CheApiRequestHandler } from '
|
|
15
|
-
import { Editor } from '
|
|
16
|
-
import { QuickOpenContainer } from '
|
|
17
|
-
import { TopMenu } from '
|
|
12
|
+
import { Logger } from '../Logger';
|
|
13
|
+
import { CLASSES } from '../../inversify.types';
|
|
14
|
+
import { CheApiRequestHandler } from '../requestHandlers/CheApiRequestHandler';
|
|
15
|
+
import { Editor } from '../../pageobjects/ide/theia/Editor';
|
|
16
|
+
import { QuickOpenContainer } from '../../pageobjects/ide/theia/QuickOpenContainer';
|
|
17
|
+
import { TopMenu } from '../../pageobjects/ide/theia/TopMenu';
|
|
18
18
|
import { Key } from 'selenium-webdriver';
|
|
19
19
|
|
|
20
|
-
export enum
|
|
20
|
+
export enum TerminalRendererTypeTheia {
|
|
21
21
|
canvas = 'canvas',
|
|
22
22
|
dom = 'dom'
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
export enum
|
|
25
|
+
export enum AskForConfirmationTypeTheia {
|
|
26
26
|
never = 'never',
|
|
27
27
|
ifRquired = 'ifRequired',
|
|
28
28
|
always = 'always'
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
@injectable()
|
|
32
|
-
export class
|
|
32
|
+
export class PreferencesHandlerTheia {
|
|
33
33
|
|
|
34
34
|
constructor(@inject(CLASSES.CheApiRequestHandler) private readonly requestHandler: CheApiRequestHandler,
|
|
35
35
|
@inject(CLASSES.Editor) private readonly editor: Editor,
|
|
@@ -61,7 +61,7 @@ export class PreferencesHandler {
|
|
|
61
61
|
/**
|
|
62
62
|
* Works properly only if set before workspace startup.
|
|
63
63
|
*/
|
|
64
|
-
public async setTerminalType(type:
|
|
64
|
+
public async setTerminalType(type: TerminalRendererTypeTheia) {
|
|
65
65
|
Logger.debug('PreferencesHandler.setTerminalToDom');
|
|
66
66
|
await this.setPreference('terminal.integrated.rendererType', type);
|
|
67
67
|
}
|
|
@@ -70,7 +70,7 @@ export class PreferencesHandler {
|
|
|
70
70
|
*
|
|
71
71
|
* @param askForConfirmation possible values are "never", "ifRequired" and "always"
|
|
72
72
|
*/
|
|
73
|
-
public async setConfirmExit(askForConfirmation:
|
|
73
|
+
public async setConfirmExit(askForConfirmation: AskForConfirmationTypeTheia) {
|
|
74
74
|
Logger.debug(`PreferencesHandler.setConfirmExit to ${askForConfirmation}`);
|
|
75
75
|
await this.setPreference(`application.confirmExit`, askForConfirmation);
|
|
76
76
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ContextMenu.js","sourceRoot":"","sources":["../../../pageobjects/ide/ContextMenu.ts"],"names":[],"mappings":";AAAA;;;;;;;;wEAQwE;;;;;;;;;;;;;;;;AAExE,4BAA0B;AAC1B,yCAA+C;AAC/C,2DAAwD;AACxD,2DAAgD;AAChD,2DAAiE;AACjE,+CAA4C;AAC5C,6DAA0D;AAG1D,IAAa,WAAW,mBAAxB,MAAa,WAAW;IAGnB,YAA2D,YAA0B;QAA1B,iBAAY,GAAZ,YAAY,CAAc;IAAI,CAAC;IAG1F,KAAK,CAAC,sCAAsC,CAAC,cAAkB;QAC1D,eAAM,CAA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