@eclipse-che/che-e2e 7.58.0-dev-185cda8 → 7.58.0-dev-3ddca79
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 +30 -7
- package/dist/TestConstants.js +23 -3
- 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 +44 -3
- 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 +4 -31
- 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 +57 -7
- 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} +11 -11
- 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/tslint.json +17 -21
- 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
|
@@ -11,15 +11,18 @@
|
|
|
11
11
|
import { injectable, inject } from 'inversify';
|
|
12
12
|
import { CLASSES } from '../../inversify.types';
|
|
13
13
|
import { DriverHelper } from '../../utils/DriverHelper';
|
|
14
|
-
import { By } from 'selenium-webdriver';
|
|
14
|
+
import { By, Key } from 'selenium-webdriver';
|
|
15
15
|
import { Logger } from '../../utils/Logger';
|
|
16
16
|
import { TimeoutConstants } from '../../TimeoutConstants';
|
|
17
|
+
import { EditorType, TestConstants } from '../../TestConstants';
|
|
17
18
|
|
|
18
19
|
@injectable()
|
|
19
20
|
export class CreateWorkspace {
|
|
21
|
+
static readonly FACTORY_URL_LOCATOR: By = By.xpath(`//input[@id="git-repo-url"]`);
|
|
22
|
+
|
|
20
23
|
constructor(@inject(CLASSES.DriverHelper) private readonly driverHelper: DriverHelper) { }
|
|
21
24
|
|
|
22
|
-
async waitTitleContains(expectedText: string, timeout: number = TimeoutConstants.TS_COMMON_DASHBOARD_WAIT_TIMEOUT) {
|
|
25
|
+
async waitTitleContains(expectedText: string, timeout: number = TimeoutConstants.TS_COMMON_DASHBOARD_WAIT_TIMEOUT): Promise<void> {
|
|
23
26
|
Logger.debug(`CreateWorkspace.waitTitleContains text: "${expectedText}"`);
|
|
24
27
|
|
|
25
28
|
const pageTitleLocator: By = By.xpath(`//h1[contains(text(), '${expectedText}')]`);
|
|
@@ -27,13 +30,13 @@ export class CreateWorkspace {
|
|
|
27
30
|
await this.driverHelper.waitVisibility(pageTitleLocator, timeout);
|
|
28
31
|
}
|
|
29
32
|
|
|
30
|
-
async waitPage(timeout: number = TimeoutConstants.TS_SELENIUM_LOAD_PAGE_TIMEOUT) {
|
|
33
|
+
async waitPage(timeout: number = TimeoutConstants.TS_SELENIUM_LOAD_PAGE_TIMEOUT): Promise<void> {
|
|
31
34
|
Logger.debug('CreateWorkspace.waitPage');
|
|
32
35
|
|
|
33
36
|
await this.waitTitleContains('Create Workspace', timeout);
|
|
34
37
|
}
|
|
35
38
|
|
|
36
|
-
async waitSample(sampleName: string, timeout: number = TimeoutConstants.TS_COMMON_DASHBOARD_WAIT_TIMEOUT) {
|
|
39
|
+
async waitSample(sampleName: string, timeout: number = TimeoutConstants.TS_COMMON_DASHBOARD_WAIT_TIMEOUT): Promise<void> {
|
|
37
40
|
Logger.debug(`CreateWorkspace.waitSample sampleName: "${sampleName}"`);
|
|
38
41
|
|
|
39
42
|
const sampleLocator: By = this.getSampleLocator(sampleName);
|
|
@@ -41,7 +44,7 @@ export class CreateWorkspace {
|
|
|
41
44
|
await this.driverHelper.waitVisibility(sampleLocator, timeout);
|
|
42
45
|
}
|
|
43
46
|
|
|
44
|
-
async clickOnSample(sampleName: string, timeout: number = TimeoutConstants.TS_CLICK_DASHBOARD_ITEM_TIMEOUT) {
|
|
47
|
+
async clickOnSample(sampleName: string, timeout: number = TimeoutConstants.TS_CLICK_DASHBOARD_ITEM_TIMEOUT): Promise<void> {
|
|
45
48
|
Logger.debug(`CreateWorkspace.clickOnSample sampleName: "${sampleName}"`);
|
|
46
49
|
|
|
47
50
|
const sampleLocator: By = this.getSampleLocator(sampleName);
|
|
@@ -49,10 +52,57 @@ export class CreateWorkspace {
|
|
|
49
52
|
await this.driverHelper.waitAndClick(sampleLocator, timeout);
|
|
50
53
|
}
|
|
51
54
|
|
|
55
|
+
async startWorkspaceUsingFactory(factoryUrl: string, timeout: number = TimeoutConstants.TS_CLICK_DASHBOARD_ITEM_TIMEOUT): Promise<void> {
|
|
56
|
+
Logger.debug(`CreateWorkspace.startWorkspaceUsingFactory factoryUrl: "${factoryUrl}"`);
|
|
57
|
+
await this.driverHelper.waitVisibility(CreateWorkspace.FACTORY_URL_LOCATOR, timeout);
|
|
58
|
+
await this.driverHelper.type(CreateWorkspace.FACTORY_URL_LOCATOR, Key.chord(factoryUrl, Key.ENTER), timeout);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
async clickOnSampleForSpecificEditor(sampleName: string, timeout: number = TimeoutConstants.TS_CLICK_DASHBOARD_ITEM_TIMEOUT): Promise<void> {
|
|
62
|
+
await this.clickOnEditorsDropdownListButton(sampleName, timeout);
|
|
63
|
+
|
|
64
|
+
Logger.debug(`CreateWorkspace.clickOnSampleForSpecificEditor sampleName: "${sampleName}"`);
|
|
65
|
+
|
|
66
|
+
const sampleLocator: By = this.getSampleLocatorWithSpecificEditor(sampleName);
|
|
67
|
+
await this.driverHelper.waitAndClick(sampleLocator, timeout);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
private async clickOnEditorsDropdownListButton(sampleName: string, timeout: number): Promise<void> {
|
|
71
|
+
Logger.debug(`CreateWorkspace.clickOnSample sampleName: "${sampleName}, editor ${TestConstants.TS_SELENIUM_EDITOR}"`);
|
|
72
|
+
|
|
73
|
+
const editorDropdownListLocator: By = this.getEditorsDropdownListLocator(sampleName);
|
|
74
|
+
await this.driverHelper.waitAndClick(editorDropdownListLocator, timeout);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
private getEditorsDropdownListLocator(sampleName: string): By {
|
|
78
|
+
return By.xpath(`//div[text()=\'${sampleName}\']//parent::article//button`);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
private getSampleLocatorWithSpecificEditor(sampleName: string): By {
|
|
82
|
+
let editor: string = '';
|
|
83
|
+
switch (TestConstants.TS_SELENIUM_EDITOR) {
|
|
84
|
+
case EditorType.CHE_CODE:
|
|
85
|
+
editor = 'code';
|
|
86
|
+
break;
|
|
87
|
+
case EditorType.THEIA:
|
|
88
|
+
editor = 'theia';
|
|
89
|
+
break;
|
|
90
|
+
default:
|
|
91
|
+
throw new Error(`Unsupported editor ${TestConstants.TS_SELENIUM_EDITOR}`);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
Logger.debug(`CreateWorkspace.getSampleLocator sampleName: ${sampleName}, editor "${editor}"`);
|
|
95
|
+
|
|
96
|
+
return By.xpath(`//div[text()='${sampleName}']//parent::article//span[text()[
|
|
97
|
+
contains(
|
|
98
|
+
translate(., 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz'),
|
|
99
|
+
'${editor}')]
|
|
100
|
+
]//parent::a`);
|
|
101
|
+
}
|
|
102
|
+
|
|
52
103
|
private getSampleLocator(sampleName: string): By {
|
|
53
|
-
Logger.
|
|
104
|
+
Logger.debug(`CreateWorkspace.getSampleLocator sampleName: ${sampleName}, used default editor`);
|
|
54
105
|
|
|
55
106
|
return By.xpath(`//article[contains(@class, 'sample-card')]//div[text()='${sampleName}']`);
|
|
56
107
|
}
|
|
57
|
-
|
|
58
108
|
}
|
|
@@ -13,7 +13,7 @@ import { CLASSES, TYPES } from '../../../inversify.types';
|
|
|
13
13
|
import 'reflect-metadata';
|
|
14
14
|
import { TestConstants } from '../../../TestConstants';
|
|
15
15
|
import { By } from 'selenium-webdriver';
|
|
16
|
-
import { Ide } from '../../ide/Ide';
|
|
16
|
+
import { Ide } from '../../ide/theia/Ide';
|
|
17
17
|
import { WorkspaceStatus } from '../../../utils/workspace/WorkspaceStatus';
|
|
18
18
|
import { Logger } from '../../../utils/Logger';
|
|
19
19
|
import { TimeoutConstants } from '../../../TimeoutConstants';
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
|
|
11
11
|
import 'reflect-metadata';
|
|
12
12
|
import { injectable, inject } from 'inversify';
|
|
13
|
-
import { DriverHelper } from '
|
|
14
|
-
import { CLASSES } from '
|
|
15
|
-
import {
|
|
16
|
-
import { Logger } from '
|
|
17
|
-
import { TimeoutConstants } from '
|
|
13
|
+
import { DriverHelper } from '../../../utils/DriverHelper';
|
|
14
|
+
import { CLASSES } from '../../../inversify.types';
|
|
15
|
+
import { By, Key, WebElement } from 'selenium-webdriver';
|
|
16
|
+
import { Logger } from '../../../utils/Logger';
|
|
17
|
+
import { TimeoutConstants } from '../../../TimeoutConstants';
|
|
18
18
|
|
|
19
19
|
@injectable()
|
|
20
20
|
export class ContextMenu {
|
|
@@ -27,7 +27,7 @@ export class ContextMenu {
|
|
|
27
27
|
Logger.debug(`ContextMenu.invokeContextMenuOnTheElementWithMouse ${elementLocator}`);
|
|
28
28
|
|
|
29
29
|
const webElement: WebElement = await this.driverHelper.waitVisibility(elementLocator, TimeoutConstants.TS_CONTEXT_MENU_TIMEOUT);
|
|
30
|
-
await this.driverHelper.getAction().
|
|
30
|
+
await this.driverHelper.getAction().contextClick(webElement).perform();
|
|
31
31
|
this.waitContextMenu();
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
|
|
11
11
|
import { inject, injectable } from 'inversify';
|
|
12
|
-
import { CLASSES } from '
|
|
13
|
-
import { TestConstants } from '
|
|
14
|
-
import { DriverHelper } from '
|
|
12
|
+
import { CLASSES } from '../../../inversify.types';
|
|
13
|
+
import { TestConstants } from '../../../TestConstants';
|
|
14
|
+
import { DriverHelper } from '../../../utils/DriverHelper';
|
|
15
15
|
import { By, Key, WebElement, error } from 'selenium-webdriver';
|
|
16
16
|
import { Ide } from './Ide';
|
|
17
|
-
import { Logger } from '
|
|
18
|
-
import { TimeoutConstants } from '
|
|
19
|
-
import { AnimationChecker } from '
|
|
17
|
+
import { Logger } from '../../../utils/Logger';
|
|
18
|
+
import { TimeoutConstants } from '../../../TimeoutConstants';
|
|
19
|
+
import { AnimationChecker } from '../../../utils/AnimationChecker';
|
|
20
20
|
|
|
21
21
|
@injectable()
|
|
22
22
|
export class DebugView {
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
|
|
11
11
|
import { injectable, inject } from 'inversify';
|
|
12
|
-
import { CLASSES } from '
|
|
13
|
-
import { DriverHelper } from '
|
|
12
|
+
import { CLASSES } from '../../../inversify.types';
|
|
13
|
+
import { DriverHelper } from '../../../utils/DriverHelper';
|
|
14
14
|
import { By } from 'selenium-webdriver';
|
|
15
|
-
import { Logger } from '
|
|
15
|
+
import { Logger } from '../../../utils/Logger';
|
|
16
16
|
import { Ide } from './Ide';
|
|
17
|
-
import { TimeoutConstants } from '
|
|
17
|
+
import { TimeoutConstants } from '../../../TimeoutConstants';
|
|
18
18
|
|
|
19
19
|
@injectable()
|
|
20
20
|
export class DialogWindow {
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
|
|
11
11
|
import 'reflect-metadata';
|
|
12
12
|
import { injectable, inject } from 'inversify';
|
|
13
|
-
import { DriverHelper } from '
|
|
14
|
-
import { CLASSES } from '
|
|
15
|
-
import { TestConstants } from '
|
|
16
|
-
import { By, Key, error
|
|
17
|
-
import { Logger } from '
|
|
18
|
-
import { TimeoutConstants } from '
|
|
13
|
+
import { DriverHelper } from '../../../utils/DriverHelper';
|
|
14
|
+
import { CLASSES } from '../../../inversify.types';
|
|
15
|
+
import { TestConstants } from '../../../TestConstants';
|
|
16
|
+
import { By, Key, error } from 'selenium-webdriver';
|
|
17
|
+
import { Logger } from '../../../utils/Logger';
|
|
18
|
+
import { TimeoutConstants } from '../../../TimeoutConstants';
|
|
19
19
|
|
|
20
20
|
@injectable()
|
|
21
21
|
export class Editor {
|
|
@@ -429,34 +429,33 @@ export class Editor {
|
|
|
429
429
|
const yPosition: number = await this.getLineYCoordinates(line, fileName) + Editor.ADDITIONAL_SHIFTING_TO_Y;
|
|
430
430
|
const xPosition: number = char + Editor.ADDITIONAL_SHIFTING_TO_X;
|
|
431
431
|
|
|
432
|
-
|
|
433
|
-
mouseMove({ x: xPosition, y: yPosition }).
|
|
434
|
-
click().
|
|
435
|
-
perform();
|
|
432
|
+
this.driverHelper.getAction().move({ x: xPosition, y: yPosition }).click().perform();
|
|
436
433
|
}
|
|
437
434
|
|
|
438
435
|
async goToDefinitionWithMouseClicking(line: number, char: number, fileName: string) {
|
|
439
436
|
Logger.debug(`Editor.goToDefinitionWithMouseClicking line: "${line}" char: "${char}"`);
|
|
440
437
|
|
|
441
438
|
const yPosition: number = await this.getLineYCoordinates(line, fileName) + Editor.ADDITIONAL_SHIFTING_TO_Y;
|
|
439
|
+
const xPosition: number = char + Editor.ADDITIONAL_SHIFTING_TO_X;
|
|
442
440
|
|
|
443
|
-
|
|
444
|
-
keyDown(Key.CONTROL)
|
|
445
|
-
|
|
446
|
-
click()
|
|
447
|
-
keyDown(Key.CONTROL)
|
|
448
|
-
perform();
|
|
441
|
+
this.driverHelper.getAction()
|
|
442
|
+
.keyDown(Key.CONTROL)
|
|
443
|
+
.move({ x: xPosition, y: yPosition})
|
|
444
|
+
.click()
|
|
445
|
+
.keyDown(Key.CONTROL)
|
|
446
|
+
.perform();
|
|
449
447
|
}
|
|
450
448
|
|
|
451
449
|
async mouseRightButtonClick(line: number, char: number, fileName: string) {
|
|
452
450
|
Logger.debug(`Editor.mouseRightButtonClick line: "${line}" char: "${char}"`);
|
|
453
451
|
|
|
454
452
|
const yPosition: number = await this.getLineYCoordinates(line, fileName) + Editor.ADDITIONAL_SHIFTING_TO_Y;
|
|
453
|
+
const xPosition: number = char + Editor.ADDITIONAL_SHIFTING_TO_X;
|
|
455
454
|
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
perform();
|
|
455
|
+
this.driverHelper.getAction()
|
|
456
|
+
.move({ x: xPosition, y: yPosition})
|
|
457
|
+
.contextClick()
|
|
458
|
+
.perform();
|
|
460
459
|
}
|
|
461
460
|
|
|
462
461
|
private async scrollAndSearchSuggestion(editorTabTitle: string, suggestionLocator: By, timeout: number = 10000) {
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
|
|
11
11
|
import axios from 'axios';
|
|
12
|
-
import { DriverHelper } from '
|
|
12
|
+
import { DriverHelper } from '../../../utils/DriverHelper';
|
|
13
13
|
import { injectable, inject } from 'inversify';
|
|
14
|
-
import { CLASSES } from '
|
|
15
|
-
import { TestConstants } from '
|
|
14
|
+
import { CLASSES } from '../../../inversify.types';
|
|
15
|
+
import { TestConstants } from '../../../TestConstants';
|
|
16
16
|
import { By, error } from 'selenium-webdriver';
|
|
17
|
-
import { Logger } from '
|
|
17
|
+
import { Logger } from '../../../utils/Logger';
|
|
18
18
|
import { NotificationCenter } from './NotificationCenter';
|
|
19
|
-
import { TimeoutConstants } from '
|
|
19
|
+
import { TimeoutConstants } from '../../../TimeoutConstants';
|
|
20
20
|
|
|
21
21
|
export enum LeftToolbarButton {
|
|
22
22
|
Explorer = 'Explorer',
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
|
|
11
11
|
import { injectable, inject } from 'inversify';
|
|
12
|
-
import { CLASSES } from '
|
|
13
|
-
import { DriverHelper } from '
|
|
12
|
+
import { CLASSES } from '../../../inversify.types';
|
|
13
|
+
import { DriverHelper } from '../../../utils/DriverHelper';
|
|
14
14
|
import { By } from 'selenium-webdriver';
|
|
15
|
-
import { Logger } from '
|
|
16
|
-
import { TimeoutConstants } from '
|
|
15
|
+
import { Logger } from '../../../utils/Logger';
|
|
16
|
+
import { TimeoutConstants } from '../../../TimeoutConstants';
|
|
17
17
|
|
|
18
18
|
@injectable()
|
|
19
19
|
export class LeftToolBar {
|
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
*
|
|
8
8
|
* SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
**********************************************************************/
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
import { injectable, inject } from 'inversify';
|
|
11
|
+
import { DriverHelper } from '../../../utils/DriverHelper';
|
|
12
|
+
import { CLASSES } from '../../../inversify.types';
|
|
13
|
+
import { Logger } from '../../../utils/Logger';
|
|
14
|
+
import { By } from 'selenium-webdriver';
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
@injectable()
|
|
17
|
+
export class NavigationBar {
|
|
18
18
|
constructor(@inject(CLASSES.DriverHelper) private readonly driverHelper: DriverHelper) { }
|
|
19
19
|
|
|
20
20
|
async clickOnShowNavigationBar() {
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
|
|
11
11
|
import { injectable, inject } from 'inversify';
|
|
12
|
-
import { CLASSES } from '
|
|
13
|
-
import { DriverHelper } from '
|
|
14
|
-
import { Logger } from '
|
|
12
|
+
import { CLASSES } from '../../../inversify.types';
|
|
13
|
+
import { DriverHelper } from '../../../utils/DriverHelper';
|
|
14
|
+
import { Logger } from '../../../utils/Logger';
|
|
15
15
|
import { By } from 'selenium-webdriver';
|
|
16
|
-
import { TimeoutConstants } from '
|
|
16
|
+
import { TimeoutConstants } from '../../../TimeoutConstants';
|
|
17
17
|
|
|
18
18
|
@injectable()
|
|
19
19
|
export class NotificationCenter {
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
|
|
11
11
|
import { injectable, inject } from 'inversify';
|
|
12
|
-
import { CLASSES } from '
|
|
13
|
-
import { DriverHelper } from '
|
|
14
|
-
import { Logger } from '
|
|
15
|
-
import { DialogWindow } from '
|
|
16
|
-
import { OpenWorkspaceWidget } from '
|
|
12
|
+
import { CLASSES } from '../../../inversify.types';
|
|
13
|
+
import { DriverHelper } from '../../../utils/DriverHelper';
|
|
14
|
+
import { Logger } from '../../../utils/Logger';
|
|
15
|
+
import { DialogWindow } from '../../ide/theia/DialogWindow';
|
|
16
|
+
import { OpenWorkspaceWidget } from '../../ide/theia/OpenWorkspaceWidget';
|
|
17
17
|
import { By } from 'selenium-webdriver';
|
|
18
|
-
import { TimeoutConstants } from '
|
|
18
|
+
import { TimeoutConstants } from '../../../TimeoutConstants';
|
|
19
19
|
|
|
20
20
|
export enum Locations {
|
|
21
21
|
Theia = 'theia',
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
|
|
11
11
|
import 'reflect-metadata';
|
|
12
12
|
import { injectable, inject } from 'inversify';
|
|
13
|
-
import { DriverHelper } from '
|
|
14
|
-
import { CLASSES } from '
|
|
13
|
+
import { DriverHelper } from '../../../utils/DriverHelper';
|
|
14
|
+
import { CLASSES } from '../../../inversify.types';
|
|
15
15
|
import { By } from 'selenium-webdriver';
|
|
16
|
-
import { Logger } from '
|
|
17
|
-
import { TimeoutConstants } from '
|
|
16
|
+
import { Logger } from '../../../utils/Logger';
|
|
17
|
+
import { TimeoutConstants } from '../../../TimeoutConstants';
|
|
18
18
|
|
|
19
19
|
@injectable()
|
|
20
20
|
export class OpenEditors {
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
|
|
11
11
|
import { injectable, inject } from 'inversify';
|
|
12
|
-
import { CLASSES } from '
|
|
13
|
-
import { DriverHelper } from '
|
|
12
|
+
import { CLASSES } from '../../../inversify.types';
|
|
13
|
+
import { DriverHelper } from '../../../utils/DriverHelper';
|
|
14
14
|
import { By } from 'selenium-webdriver';
|
|
15
|
-
import { Logger } from '
|
|
16
|
-
import { TimeoutConstants } from '
|
|
15
|
+
import { Logger } from '../../../utils/Logger';
|
|
16
|
+
import { TimeoutConstants } from '../../../TimeoutConstants';
|
|
17
17
|
|
|
18
18
|
@injectable()
|
|
19
19
|
export class OpenWorkspaceWidget {
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
|
|
11
11
|
import { injectable, inject } from 'inversify';
|
|
12
|
-
import { CLASSES } from '
|
|
13
|
-
import { DriverHelper } from '
|
|
12
|
+
import { CLASSES } from '../../../inversify.types';
|
|
13
|
+
import { DriverHelper } from '../../../utils/DriverHelper';
|
|
14
14
|
import { By, error, Key } from 'selenium-webdriver';
|
|
15
|
-
import { TestConstants } from '
|
|
15
|
+
import { TestConstants } from '../../../TestConstants';
|
|
16
16
|
import { Ide } from './Ide';
|
|
17
|
-
import { Logger } from '
|
|
18
|
-
import { TimeoutConstants } from '
|
|
17
|
+
import { Logger } from '../../../utils/Logger';
|
|
18
|
+
import { TimeoutConstants } from '../../../TimeoutConstants';
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* @deprecated Preview widget is no longer a valid page fragment.
|
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
|
|
11
11
|
import 'reflect-metadata';
|
|
12
12
|
import { injectable, inject } from 'inversify';
|
|
13
|
-
import { DriverHelper } from '
|
|
14
|
-
import { CLASSES } from '
|
|
13
|
+
import { DriverHelper } from '../../../utils/DriverHelper';
|
|
14
|
+
import { CLASSES } from '../../../inversify.types';
|
|
15
15
|
import { Ide, LeftToolbarButton } from './Ide';
|
|
16
|
-
import { TestConstants } from '
|
|
16
|
+
import { TestConstants } from '../../../TestConstants';
|
|
17
17
|
import { By, error } from 'selenium-webdriver';
|
|
18
18
|
import { Editor } from './Editor';
|
|
19
|
-
import { Logger } from '
|
|
20
|
-
import { TimeoutConstants } from '
|
|
21
|
-
import { BrowserTabsUtil } from '
|
|
19
|
+
import { Logger } from '../../../utils/Logger';
|
|
20
|
+
import { TimeoutConstants } from '../../../TimeoutConstants';
|
|
21
|
+
import { BrowserTabsUtil } from '../../../utils/BrowserTabsUtil';
|
|
22
22
|
|
|
23
23
|
@injectable()
|
|
24
24
|
export class ProjectTree {
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
|
|
11
11
|
import { injectable, inject } from 'inversify';
|
|
12
|
-
import { CLASSES } from '
|
|
13
|
-
import { DriverHelper } from '
|
|
12
|
+
import { CLASSES } from '../../../inversify.types';
|
|
13
|
+
import { DriverHelper } from '../../../utils/DriverHelper';
|
|
14
14
|
import { By } from 'selenium-webdriver';
|
|
15
|
-
import { Logger } from '
|
|
16
|
-
import { TimeoutConstants } from '
|
|
15
|
+
import { Logger } from '../../../utils/Logger';
|
|
16
|
+
import { TimeoutConstants } from '../../../TimeoutConstants';
|
|
17
17
|
|
|
18
18
|
@injectable()
|
|
19
19
|
export class QuickOpenContainer {
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
* SPDX-License-Identifier: EPL-2.0
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
import { injectable, inject } from 'inversify';
|
|
11
|
-
import { CLASSES } from '
|
|
12
|
-
import { DriverHelper } from '
|
|
11
|
+
import { CLASSES } from '../../../inversify.types';
|
|
12
|
+
import { DriverHelper } from '../../../utils/DriverHelper';
|
|
13
13
|
import { By } from 'selenium-webdriver';
|
|
14
|
-
import { Logger } from '
|
|
15
|
-
import { TimeoutConstants } from '
|
|
14
|
+
import { Logger } from '../../../utils/Logger';
|
|
15
|
+
import { TimeoutConstants } from '../../../TimeoutConstants';
|
|
16
16
|
|
|
17
17
|
@injectable()
|
|
18
18
|
export class RightToolBar {
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
|
|
11
11
|
import { injectable, inject } from 'inversify';
|
|
12
|
-
import { CLASSES } from '
|
|
13
|
-
import { DriverHelper } from '
|
|
12
|
+
import { CLASSES } from '../../../inversify.types';
|
|
13
|
+
import { DriverHelper } from '../../../utils/DriverHelper';
|
|
14
14
|
import { By, Key, WebElement, error } from 'selenium-webdriver';
|
|
15
|
-
import { Logger } from '
|
|
16
|
-
import { TimeoutConstants } from '
|
|
17
|
-
import { TestConstants } from '
|
|
15
|
+
import { Logger } from '../../../utils/Logger';
|
|
16
|
+
import { TimeoutConstants } from '../../../TimeoutConstants';
|
|
17
|
+
import { TestConstants } from '../../../TestConstants';
|
|
18
18
|
|
|
19
19
|
@injectable()
|
|
20
20
|
export class Terminal {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { injectable, inject } from 'inversify';
|
|
2
|
-
import { CLASSES } from '
|
|
3
|
-
import { DriverHelper } from '
|
|
2
|
+
import { CLASSES } from '../../../inversify.types';
|
|
3
|
+
import { DriverHelper } from '../../../utils/DriverHelper';
|
|
4
4
|
import { By, error } from 'selenium-webdriver';
|
|
5
|
-
import { Logger } from '
|
|
5
|
+
import { Logger } from '../../../utils/Logger';
|
|
6
6
|
import { QuickOpenContainer } from './QuickOpenContainer';
|
|
7
|
-
import { TimeoutConstants } from '
|
|
8
|
-
import { AnimationChecker } from '
|
|
7
|
+
import { TimeoutConstants } from '../../../TimeoutConstants';
|
|
8
|
+
import { AnimationChecker } from '../../../utils/AnimationChecker';
|
|
9
9
|
|
|
10
10
|
/*********************************************************************
|
|
11
11
|
* Copyright (c) 2019 Red Hat, Inc.
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
|
|
11
11
|
import 'reflect-metadata';
|
|
12
12
|
import { injectable, inject } from 'inversify';
|
|
13
|
-
import { CLASSES } from '
|
|
14
|
-
import { DriverHelper } from '
|
|
15
|
-
import { Logger } from '
|
|
13
|
+
import { CLASSES } from '../../../../inversify.types';
|
|
14
|
+
import { DriverHelper } from '../../../../utils/DriverHelper';
|
|
15
|
+
import { Logger } from '../../../../utils/Logger';
|
|
16
16
|
import { By, error } from 'selenium-webdriver';
|
|
17
|
-
import { TimeoutConstants } from '
|
|
17
|
+
import { TimeoutConstants } from '../../../../TimeoutConstants';
|
|
18
18
|
import { LeftToolBar } from '../LeftToolBar';
|
|
19
|
-
import { TestConstants } from '
|
|
19
|
+
import { TestConstants } from '../../../../TestConstants';
|
|
20
20
|
import { TopMenu } from '../TopMenu';
|
|
21
21
|
import { QuickOpenContainer } from '../QuickOpenContainer';
|
|
22
22
|
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
|
|
11
11
|
import { injectable, inject } from 'inversify';
|
|
12
|
-
import { CLASSES } from '
|
|
13
|
-
import { DriverHelper } from '
|
|
12
|
+
import { CLASSES } from '../../../../inversify.types';
|
|
13
|
+
import { DriverHelper } from '../../../../utils/DriverHelper';
|
|
14
14
|
import { By } from 'selenium-webdriver';
|
|
15
|
-
import { Logger } from '
|
|
16
|
-
import { TimeoutConstants } from '
|
|
15
|
+
import { Logger } from '../../../../utils/Logger';
|
|
16
|
+
import { TimeoutConstants } from '../../../../TimeoutConstants';
|
|
17
17
|
import { DialogWindow } from '../DialogWindow';
|
|
18
18
|
import { TopMenu } from '../TopMenu';
|
|
19
19
|
import { QuickOpenContainer } from '../QuickOpenContainer';
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
|
|
11
11
|
import 'reflect-metadata';
|
|
12
12
|
import { injectable, inject } from 'inversify';
|
|
13
|
-
import { CLASSES } from '
|
|
14
|
-
import { DriverHelper } from '
|
|
15
|
-
import { Logger } from '
|
|
13
|
+
import { CLASSES } from '../../../../inversify.types';
|
|
14
|
+
import { DriverHelper } from '../../../../utils/DriverHelper';
|
|
15
|
+
import { Logger } from '../../../../utils/Logger';
|
|
16
16
|
import { By } from 'selenium-webdriver';
|
|
17
|
-
import { TimeoutConstants } from '
|
|
17
|
+
import { TimeoutConstants } from '../../../../TimeoutConstants';
|
|
18
18
|
import { LeftToolBar } from '../LeftToolBar';
|
|
19
19
|
|
|
20
20
|
@injectable()
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
**********************************************************************/
|
|
10
10
|
|
|
11
11
|
import { injectable, inject } from 'inversify';
|
|
12
|
-
import { CLASSES } from '
|
|
13
|
-
import { DriverHelper } from '
|
|
12
|
+
import { CLASSES } from '../../../../inversify.types';
|
|
13
|
+
import { DriverHelper } from '../../../../utils/DriverHelper';
|
|
14
14
|
import { Ide, LeftToolbarButton } from '../Ide';
|
|
15
|
-
import { Logger } from '
|
|
15
|
+
import { Logger } from '../../../../utils/Logger';
|
|
16
16
|
import { By } from 'selenium-webdriver';
|
|
17
17
|
import { ContextMenu } from '../ContextMenu';
|
|
18
|
-
import { TimeoutConstants } from '
|
|
18
|
+
import { TimeoutConstants } from '../../../../TimeoutConstants';
|
|
19
19
|
|
|
20
20
|
export enum OpenshiftAppExplorerToolbar {
|
|
21
21
|
ReportExtensionIssueOnGitHub = 'Report Extension Issue on GitHub',
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
|
|
11
11
|
import 'reflect-metadata';
|
|
12
12
|
import { injectable, inject } from 'inversify';
|
|
13
|
-
import { CLASSES } from '
|
|
14
|
-
import { DriverHelper } from '
|
|
15
|
-
import { Logger } from '
|
|
13
|
+
import { CLASSES } from '../../../../inversify.types';
|
|
14
|
+
import { DriverHelper } from '../../../../utils/DriverHelper';
|
|
15
|
+
import { Logger } from '../../../../utils/Logger';
|
|
16
16
|
import { By, error } from 'selenium-webdriver';
|
|
17
|
-
import { TimeoutConstants } from '
|
|
17
|
+
import { TimeoutConstants } from '../../../../TimeoutConstants';
|
|
18
18
|
import { LeftToolBar } from '../LeftToolBar';
|
|
19
19
|
import { TopMenu } from '../TopMenu';
|
|
20
20
|
|