@eclipse-che/che-e2e 7.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +86 -0
- package/TestConstants.ts +263 -0
- package/TimeoutConstants.ts +220 -0
- package/dist/TestConstants.d.ts +206 -0
- package/dist/TestConstants.d.ts.map +1 -0
- package/dist/TestConstants.js +216 -0
- package/dist/TestConstants.js.map +1 -0
- package/dist/TimeoutConstants.d.ts +164 -0
- package/dist/TimeoutConstants.d.ts.map +1 -0
- package/dist/TimeoutConstants.js +175 -0
- package/dist/TimeoutConstants.js.map +1 -0
- package/dist/driver/CheReporter.d.ts +18 -0
- package/dist/driver/CheReporter.d.ts.map +1 -0
- package/dist/driver/CheReporter.js +180 -0
- package/dist/driver/CheReporter.js.map +1 -0
- package/dist/driver/ChromeDriver.d.ts +21 -0
- package/dist/driver/ChromeDriver.d.ts.map +1 -0
- package/dist/driver/ChromeDriver.js +75 -0
- package/dist/driver/ChromeDriver.js.map +1 -0
- package/dist/driver/IDriver.d.ts +14 -0
- package/dist/driver/IDriver.d.ts.map +1 -0
- package/dist/driver/IDriver.js +3 -0
- package/dist/driver/IDriver.js.map +1 -0
- package/dist/index.d.ts +67 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +92 -0
- package/dist/index.js.map +1 -0
- package/dist/inversify.config.d.ts +13 -0
- package/dist/inversify.config.d.ts.map +1 -0
- package/dist/inversify.config.js +126 -0
- package/dist/inversify.config.js.map +1 -0
- package/dist/inversify.types.d.ts +68 -0
- package/dist/inversify.types.d.ts.map +1 -0
- package/dist/inversify.types.js +72 -0
- package/dist/inversify.types.js.map +1 -0
- package/dist/pageobjects/dashboard/CreateWorkspace.d.ts +20 -0
- package/dist/pageobjects/dashboard/CreateWorkspace.d.ts.map +1 -0
- package/dist/pageobjects/dashboard/CreateWorkspace.js +65 -0
- package/dist/pageobjects/dashboard/CreateWorkspace.js.map +1 -0
- package/dist/pageobjects/dashboard/Dashboard.d.ts +24 -0
- package/dist/pageobjects/dashboard/Dashboard.d.ts.map +1 -0
- package/dist/pageobjects/dashboard/Dashboard.js +111 -0
- package/dist/pageobjects/dashboard/Dashboard.js.map +1 -0
- package/dist/pageobjects/dashboard/Workspaces.d.ts +44 -0
- package/dist/pageobjects/dashboard/Workspaces.d.ts.map +1 -0
- package/dist/pageobjects/dashboard/Workspaces.js +157 -0
- package/dist/pageobjects/dashboard/Workspaces.js.map +1 -0
- package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetails.d.ts +42 -0
- package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetails.d.ts.map +1 -0
- package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetails.js +138 -0
- package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetails.js.map +1 -0
- package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetailsPlugins.d.ts +29 -0
- package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetailsPlugins.d.ts.map +1 -0
- package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetailsPlugins.js +97 -0
- package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetailsPlugins.js.map +1 -0
- package/dist/pageobjects/ide/ContextMenu.d.ts +22 -0
- package/dist/pageobjects/ide/ContextMenu.d.ts.map +1 -0
- package/dist/pageobjects/ide/ContextMenu.js +66 -0
- package/dist/pageobjects/ide/ContextMenu.js.map +1 -0
- package/dist/pageobjects/ide/DebugView.d.ts +32 -0
- package/dist/pageobjects/ide/DebugView.d.ts.map +1 -0
- package/dist/pageobjects/ide/DebugView.js +98 -0
- package/dist/pageobjects/ide/DebugView.js.map +1 -0
- package/dist/pageobjects/ide/DialogWindow.d.ts +28 -0
- package/dist/pageobjects/ide/DialogWindow.d.ts.map +1 -0
- package/dist/pageobjects/ide/DialogWindow.js +102 -0
- package/dist/pageobjects/ide/DialogWindow.js.map +1 -0
- package/dist/pageobjects/ide/Editor.d.ts +78 -0
- package/dist/pageobjects/ide/Editor.d.ts.map +1 -0
- package/dist/pageobjects/ide/Editor.js +463 -0
- package/dist/pageobjects/ide/Editor.js.map +1 -0
- package/dist/pageobjects/ide/Ide.d.ts +61 -0
- package/dist/pageobjects/ide/Ide.d.ts.map +1 -0
- package/dist/pageobjects/ide/Ide.js +312 -0
- package/dist/pageobjects/ide/Ide.js.map +1 -0
- package/dist/pageobjects/ide/LeftToolBar.d.ts +23 -0
- package/dist/pageobjects/ide/LeftToolBar.d.ts.map +1 -0
- package/dist/pageobjects/ide/LeftToolBar.js +81 -0
- package/dist/pageobjects/ide/LeftToolBar.js.map +1 -0
- package/dist/pageobjects/ide/NavigationBar.d.ts +9 -0
- package/dist/pageobjects/ide/NavigationBar.d.ts.map +1 -0
- package/dist/pageobjects/ide/NavigationBar.js +57 -0
- package/dist/pageobjects/ide/NavigationBar.js.map +1 -0
- package/dist/pageobjects/ide/NotificationCenter.d.ts +22 -0
- package/dist/pageobjects/ide/NotificationCenter.d.ts.map +1 -0
- package/dist/pageobjects/ide/NotificationCenter.js +76 -0
- package/dist/pageobjects/ide/NotificationCenter.js.map +1 -0
- package/dist/pageobjects/ide/OpenDialogWidget.d.ts +36 -0
- package/dist/pageobjects/ide/OpenDialogWidget.d.ts.map +1 -0
- package/dist/pageobjects/ide/OpenDialogWidget.js +100 -0
- package/dist/pageobjects/ide/OpenDialogWidget.js.map +1 -0
- package/dist/pageobjects/ide/OpenWorkspaceWidget.d.ts +17 -0
- package/dist/pageobjects/ide/OpenWorkspaceWidget.d.ts.map +1 -0
- package/dist/pageobjects/ide/OpenWorkspaceWidget.js +62 -0
- package/dist/pageobjects/ide/OpenWorkspaceWidget.js.map +1 -0
- package/dist/pageobjects/ide/PreviewWidget.d.ts +35 -0
- package/dist/pageobjects/ide/PreviewWidget.d.ts.map +1 -0
- package/dist/pageobjects/ide/PreviewWidget.js +127 -0
- package/dist/pageobjects/ide/PreviewWidget.js.map +1 -0
- package/dist/pageobjects/ide/ProjectTree.d.ts +53 -0
- package/dist/pageobjects/ide/ProjectTree.d.ts.map +1 -0
- package/dist/pageobjects/ide/ProjectTree.js +275 -0
- package/dist/pageobjects/ide/ProjectTree.js.map +1 -0
- package/dist/pageobjects/ide/QuickOpenContainer.d.ts +20 -0
- package/dist/pageobjects/ide/QuickOpenContainer.d.ts.map +1 -0
- package/dist/pageobjects/ide/QuickOpenContainer.js +70 -0
- package/dist/pageobjects/ide/QuickOpenContainer.js.map +1 -0
- package/dist/pageobjects/ide/RightToolBar.d.ts +8 -0
- package/dist/pageobjects/ide/RightToolBar.d.ts.map +1 -0
- package/dist/pageobjects/ide/RightToolBar.js +51 -0
- package/dist/pageobjects/ide/RightToolBar.js.map +1 -0
- package/dist/pageobjects/ide/Terminal.d.ts +36 -0
- package/dist/pageobjects/ide/Terminal.d.ts.map +1 -0
- package/dist/pageobjects/ide/Terminal.js +204 -0
- package/dist/pageobjects/ide/Terminal.js.map +1 -0
- package/dist/pageobjects/ide/TopMenu.d.ts +28 -0
- package/dist/pageobjects/ide/TopMenu.d.ts.map +1 -0
- package/dist/pageobjects/ide/TopMenu.js +109 -0
- package/dist/pageobjects/ide/TopMenu.js.map +1 -0
- package/dist/pageobjects/ide/plugins/GitHubPullRequestPlugin.d.ts +36 -0
- package/dist/pageobjects/ide/plugins/GitHubPullRequestPlugin.d.ts.map +1 -0
- package/dist/pageobjects/ide/plugins/GitHubPullRequestPlugin.js +128 -0
- package/dist/pageobjects/ide/plugins/GitHubPullRequestPlugin.js.map +1 -0
- package/dist/pageobjects/ide/plugins/GitPlugin.d.ts +35 -0
- package/dist/pageobjects/ide/plugins/GitPlugin.d.ts.map +1 -0
- package/dist/pageobjects/ide/plugins/GitPlugin.js +120 -0
- package/dist/pageobjects/ide/plugins/GitPlugin.js.map +1 -0
- package/dist/pageobjects/ide/plugins/KubernetesPlugin.d.ts +32 -0
- package/dist/pageobjects/ide/plugins/KubernetesPlugin.d.ts.map +1 -0
- package/dist/pageobjects/ide/plugins/KubernetesPlugin.js +107 -0
- package/dist/pageobjects/ide/plugins/KubernetesPlugin.js.map +1 -0
- package/dist/pageobjects/ide/plugins/OpenshiftPlugin.d.ts +38 -0
- package/dist/pageobjects/ide/plugins/OpenshiftPlugin.d.ts.map +1 -0
- package/dist/pageobjects/ide/plugins/OpenshiftPlugin.js +99 -0
- package/dist/pageobjects/ide/plugins/OpenshiftPlugin.js.map +1 -0
- package/dist/pageobjects/ide/plugins/PluginsView.d.ts +43 -0
- package/dist/pageobjects/ide/plugins/PluginsView.d.ts.map +1 -0
- package/dist/pageobjects/ide/plugins/PluginsView.js +166 -0
- package/dist/pageobjects/ide/plugins/PluginsView.js.map +1 -0
- package/dist/pageobjects/login/ICheLoginPage.d.ts +13 -0
- package/dist/pageobjects/login/ICheLoginPage.d.ts.map +1 -0
- package/dist/pageobjects/login/ICheLoginPage.js +12 -0
- package/dist/pageobjects/login/ICheLoginPage.js.map +1 -0
- package/dist/pageobjects/login/IOcpLoginPage.d.ts +13 -0
- package/dist/pageobjects/login/IOcpLoginPage.d.ts.map +1 -0
- package/dist/pageobjects/login/IOcpLoginPage.js +12 -0
- package/dist/pageobjects/login/IOcpLoginPage.js.map +1 -0
- package/dist/pageobjects/login/MultiUserLoginPage.d.ts +18 -0
- package/dist/pageobjects/login/MultiUserLoginPage.d.ts.map +1 -0
- package/dist/pageobjects/login/MultiUserLoginPage.js +49 -0
- package/dist/pageobjects/login/MultiUserLoginPage.js.map +1 -0
- package/dist/pageobjects/login/OcpUserLoginPage.d.ts +18 -0
- package/dist/pageobjects/login/OcpUserLoginPage.d.ts.map +1 -0
- package/dist/pageobjects/login/OcpUserLoginPage.js +53 -0
- package/dist/pageobjects/login/OcpUserLoginPage.js.map +1 -0
- package/dist/pageobjects/login/RegularUserOcpCheLoginPage.d.ts +20 -0
- package/dist/pageobjects/login/RegularUserOcpCheLoginPage.d.ts.map +1 -0
- package/dist/pageobjects/login/RegularUserOcpCheLoginPage.js +75 -0
- package/dist/pageobjects/login/RegularUserOcpCheLoginPage.js.map +1 -0
- package/dist/pageobjects/login/UpdateAccountInformationPage.d.ts +24 -0
- package/dist/pageobjects/login/UpdateAccountInformationPage.d.ts.map +1 -0
- package/dist/pageobjects/login/UpdateAccountInformationPage.js +74 -0
- package/dist/pageobjects/login/UpdateAccountInformationPage.js.map +1 -0
- package/dist/pageobjects/openshift/CheLoginPage.d.ts +27 -0
- package/dist/pageobjects/openshift/CheLoginPage.d.ts.map +1 -0
- package/dist/pageobjects/openshift/CheLoginPage.js +88 -0
- package/dist/pageobjects/openshift/CheLoginPage.js.map +1 -0
- package/dist/pageobjects/openshift/OcpLoginPage.d.ts +30 -0
- package/dist/pageobjects/openshift/OcpLoginPage.d.ts.map +1 -0
- package/dist/pageobjects/openshift/OcpLoginPage.js +106 -0
- package/dist/pageobjects/openshift/OcpLoginPage.js.map +1 -0
- package/dist/pageobjects/third-parties/GitLoginPage.d.ts +27 -0
- package/dist/pageobjects/third-parties/GitLoginPage.d.ts.map +1 -0
- package/dist/pageobjects/third-parties/GitLoginPage.js +85 -0
- package/dist/pageobjects/third-parties/GitLoginPage.js.map +1 -0
- package/dist/pageobjects/third-parties/GitOauthAppsSettings.d.ts +33 -0
- package/dist/pageobjects/third-parties/GitOauthAppsSettings.d.ts.map +1 -0
- package/dist/pageobjects/third-parties/GitOauthAppsSettings.js +110 -0
- package/dist/pageobjects/third-parties/GitOauthAppsSettings.js.map +1 -0
- package/dist/tests/devfiles/CSlashCPlusPlus.spec.d.ts +12 -0
- package/dist/tests/devfiles/CSlashCPlusPlus.spec.d.ts.map +1 -0
- package/dist/tests/devfiles/CSlashCPlusPlus.spec.js +74 -0
- package/dist/tests/devfiles/CSlashCPlusPlus.spec.js.map +1 -0
- package/dist/tests/devfiles/DevfileSmoke.spec.d.ts +11 -0
- package/dist/tests/devfiles/DevfileSmoke.spec.d.ts.map +1 -0
- package/dist/tests/devfiles/DevfileSmoke.spec.js +48 -0
- package/dist/tests/devfiles/DevfileSmoke.spec.js.map +1 -0
- package/dist/tests/devfiles/DotNetCore.spec.d.ts +12 -0
- package/dist/tests/devfiles/DotNetCore.spec.d.ts.map +1 -0
- package/dist/tests/devfiles/DotNetCore.spec.js +82 -0
- package/dist/tests/devfiles/DotNetCore.spec.js.map +1 -0
- package/dist/tests/devfiles/Go.spec.d.ts +2 -0
- package/dist/tests/devfiles/Go.spec.d.ts.map +1 -0
- package/dist/tests/devfiles/Go.spec.js +73 -0
- package/dist/tests/devfiles/Go.spec.js.map +1 -0
- package/dist/tests/devfiles/JavaMaven.spec.d.ts +11 -0
- package/dist/tests/devfiles/JavaMaven.spec.d.ts.map +1 -0
- package/dist/tests/devfiles/JavaMaven.spec.js +61 -0
- package/dist/tests/devfiles/JavaMaven.spec.js.map +1 -0
- package/dist/tests/devfiles/JavaSpringBoot.spec.d.ts +11 -0
- package/dist/tests/devfiles/JavaSpringBoot.spec.d.ts.map +1 -0
- package/dist/tests/devfiles/JavaSpringBoot.spec.js +67 -0
- package/dist/tests/devfiles/JavaSpringBoot.spec.js.map +1 -0
- package/dist/tests/devfiles/JavaVertx.spec.d.ts +11 -0
- package/dist/tests/devfiles/JavaVertx.spec.d.ts.map +1 -0
- package/dist/tests/devfiles/JavaVertx.spec.js +61 -0
- package/dist/tests/devfiles/JavaVertx.spec.js.map +1 -0
- package/dist/tests/devfiles/NodeJS.spec.d.ts +2 -0
- package/dist/tests/devfiles/NodeJS.spec.d.ts.map +1 -0
- package/dist/tests/devfiles/NodeJS.spec.js +65 -0
- package/dist/tests/devfiles/NodeJS.spec.js.map +1 -0
- package/dist/tests/devfiles/PHPSimple.spec.d.ts +12 -0
- package/dist/tests/devfiles/PHPSimple.spec.d.ts.map +1 -0
- package/dist/tests/devfiles/PHPSimple.spec.js +75 -0
- package/dist/tests/devfiles/PHPSimple.spec.js.map +1 -0
- package/dist/tests/devfiles/Python.spec.d.ts +2 -0
- package/dist/tests/devfiles/Python.spec.d.ts.map +1 -0
- package/dist/tests/devfiles/Python.spec.js +59 -0
- package/dist/tests/devfiles/Python.spec.js.map +1 -0
- package/dist/tests/devfiles/PythonDjango.spec.d.ts +2 -0
- package/dist/tests/devfiles/PythonDjango.spec.d.ts.map +1 -0
- package/dist/tests/devfiles/PythonDjango.spec.js +62 -0
- package/dist/tests/devfiles/PythonDjango.spec.js.map +1 -0
- package/dist/tests/devfiles/Quarkus.spec.d.ts +2 -0
- package/dist/tests/devfiles/Quarkus.spec.d.ts.map +1 -0
- package/dist/tests/devfiles/Quarkus.spec.js +70 -0
- package/dist/tests/devfiles/Quarkus.spec.js.map +1 -0
- package/dist/tests/devfiles/Scala.spec.d.ts +11 -0
- package/dist/tests/devfiles/Scala.spec.d.ts.map +1 -0
- package/dist/tests/devfiles/Scala.spec.js +67 -0
- package/dist/tests/devfiles/Scala.spec.js.map +1 -0
- package/dist/tests/e2e/FactoryUrl.spec.d.ts +2 -0
- package/dist/tests/e2e/FactoryUrl.spec.d.ts.map +1 -0
- package/dist/tests/e2e/FactoryUrl.spec.js +45 -0
- package/dist/tests/e2e/FactoryUrl.spec.js.map +1 -0
- package/dist/tests/e2e/GitPublishBranch.spec.d.ts +11 -0
- package/dist/tests/e2e/GitPublishBranch.spec.d.ts.map +1 -0
- package/dist/tests/e2e/GitPublishBranch.spec.js +88 -0
- package/dist/tests/e2e/GitPublishBranch.spec.js.map +1 -0
- package/dist/tests/e2e/GitSelfSignCert.spec.d.ts +11 -0
- package/dist/tests/e2e/GitSelfSignCert.spec.d.ts.map +1 -0
- package/dist/tests/e2e/GitSelfSignCert.spec.js +83 -0
- package/dist/tests/e2e/GitSelfSignCert.spec.js.map +1 -0
- package/dist/tests/e2e/GitSsh.spec.d.ts +11 -0
- package/dist/tests/e2e/GitSsh.spec.d.ts.map +1 -0
- package/dist/tests/e2e/GitSsh.spec.js +118 -0
- package/dist/tests/e2e/GitSsh.spec.js.map +1 -0
- package/dist/tests/e2e/OpenshiftConnector.spec.d.ts +11 -0
- package/dist/tests/e2e/OpenshiftConnector.spec.d.ts.map +1 -0
- package/dist/tests/e2e/OpenshiftConnector.spec.js +122 -0
- package/dist/tests/e2e/OpenshiftConnector.spec.js.map +1 -0
- package/dist/tests/e2e/factories/DirectUrlFactoryWithKeepDirectoryTest.spec.d.ts +2 -0
- package/dist/tests/e2e/factories/DirectUrlFactoryWithKeepDirectoryTest.spec.d.ts.map +1 -0
- package/dist/tests/e2e/factories/DirectUrlFactoryWithKeepDirectoryTest.spec.js +53 -0
- package/dist/tests/e2e/factories/DirectUrlFactoryWithKeepDirectoryTest.spec.js.map +1 -0
- package/dist/tests/e2e/factories/DirectUrlFactoryWithRootFolderTest.spec.d.ts +2 -0
- package/dist/tests/e2e/factories/DirectUrlFactoryWithRootFolderTest.spec.d.ts.map +1 -0
- package/dist/tests/e2e/factories/DirectUrlFactoryWithRootFolderTest.spec.js +51 -0
- package/dist/tests/e2e/factories/DirectUrlFactoryWithRootFolderTest.spec.js.map +1 -0
- package/dist/tests/e2e/factories/DirectUrlFactoryWithSpecificBranchTest.spec.d.ts +2 -0
- package/dist/tests/e2e/factories/DirectUrlFactoryWithSpecificBranchTest.spec.d.ts.map +1 -0
- package/dist/tests/e2e/factories/DirectUrlFactoryWithSpecificBranchTest.spec.js +51 -0
- package/dist/tests/e2e/factories/DirectUrlFactoryWithSpecificBranchTest.spec.js.map +1 -0
- package/dist/tests/e2e_happy_path/DevWorkspaceHappyPath.spec.d.ts +2 -0
- package/dist/tests/e2e_happy_path/DevWorkspaceHappyPath.spec.d.ts.map +1 -0
- package/dist/tests/e2e_happy_path/DevWorkspaceHappyPath.spec.js +200 -0
- package/dist/tests/e2e_happy_path/DevWorkspaceHappyPath.spec.js.map +1 -0
- package/dist/tests/e2e_happy_path/HappyPath.spec.d.ts +11 -0
- package/dist/tests/e2e_happy_path/HappyPath.spec.d.ts.map +1 -0
- package/dist/tests/e2e_happy_path/HappyPath.spec.js +309 -0
- package/dist/tests/e2e_happy_path/HappyPath.spec.js.map +1 -0
- package/dist/tests/intelij/IntelijOpenWorkspace.spec.d.ts +11 -0
- package/dist/tests/intelij/IntelijOpenWorkspace.spec.d.ts.map +1 -0
- package/dist/tests/intelij/IntelijOpenWorkspace.spec.js +43 -0
- package/dist/tests/intelij/IntelijOpenWorkspace.spec.js.map +1 -0
- package/dist/tests/load_test/LoadTest.spec.d.ts +11 -0
- package/dist/tests/load_test/LoadTest.spec.d.ts.map +1 -0
- package/dist/tests/load_test/LoadTest.spec.js +44 -0
- package/dist/tests/load_test/LoadTest.spec.js.map +1 -0
- package/dist/tests/login/LinkCheAndOcpUsers.spec.d.ts +11 -0
- package/dist/tests/login/LinkCheAndOcpUsers.spec.d.ts.map +1 -0
- package/dist/tests/login/LinkCheAndOcpUsers.spec.js +39 -0
- package/dist/tests/login/LinkCheAndOcpUsers.spec.js.map +1 -0
- package/dist/tests/login/Login.spec.d.ts +11 -0
- package/dist/tests/login/Login.spec.d.ts.map +1 -0
- package/dist/tests/login/Login.spec.js +26 -0
- package/dist/tests/login/Login.spec.js.map +1 -0
- package/dist/tests/plugins/GitHubPullRequestPlugin.spec.d.ts +11 -0
- package/dist/tests/plugins/GitHubPullRequestPlugin.spec.d.ts.map +1 -0
- package/dist/tests/plugins/GitHubPullRequestPlugin.spec.js +122 -0
- package/dist/tests/plugins/GitHubPullRequestPlugin.spec.js.map +1 -0
- package/dist/tests/plugins/InstallPluginUsingUI.spec.d.ts +11 -0
- package/dist/tests/plugins/InstallPluginUsingUI.spec.d.ts.map +1 -0
- package/dist/tests/plugins/InstallPluginUsingUI.spec.js +69 -0
- package/dist/tests/plugins/InstallPluginUsingUI.spec.js.map +1 -0
- package/dist/tests/plugins/JavaPlugin.spec.d.ts +2 -0
- package/dist/tests/plugins/JavaPlugin.spec.d.ts.map +1 -0
- package/dist/tests/plugins/JavaPlugin.spec.js +82 -0
- package/dist/tests/plugins/JavaPlugin.spec.js.map +1 -0
- package/dist/tests/plugins/PhpPlugin.spec.d.ts +2 -0
- package/dist/tests/plugins/PhpPlugin.spec.d.ts.map +1 -0
- package/dist/tests/plugins/PhpPlugin.spec.js +94 -0
- package/dist/tests/plugins/PhpPlugin.spec.js.map +1 -0
- package/dist/tests/plugins/PythonPlugin.spec.d.ts +11 -0
- package/dist/tests/plugins/PythonPlugin.spec.d.ts.map +1 -0
- package/dist/tests/plugins/PythonPlugin.spec.js +80 -0
- package/dist/tests/plugins/PythonPlugin.spec.js.map +1 -0
- package/dist/tests/plugins/TypescriptPlugin.spec.d.ts +11 -0
- package/dist/tests/plugins/TypescriptPlugin.spec.d.ts.map +1 -0
- package/dist/tests/plugins/TypescriptPlugin.spec.js +147 -0
- package/dist/tests/plugins/TypescriptPlugin.spec.js.map +1 -0
- package/dist/tests/plugins/VscodeKubernetesPlugin.spec.d.ts +11 -0
- package/dist/tests/plugins/VscodeKubernetesPlugin.spec.d.ts.map +1 -0
- package/dist/tests/plugins/VscodeKubernetesPlugin.spec.js +76 -0
- package/dist/tests/plugins/VscodeKubernetesPlugin.spec.js.map +1 -0
- package/dist/tests/plugins/VscodeShellcheckPlugin.spec.d.ts +11 -0
- package/dist/tests/plugins/VscodeShellcheckPlugin.spec.d.ts.map +1 -0
- package/dist/tests/plugins/VscodeShellcheckPlugin.spec.js +89 -0
- package/dist/tests/plugins/VscodeShellcheckPlugin.spec.js.map +1 -0
- package/dist/tests/plugins/VscodeValePlugin.spec.d.ts +11 -0
- package/dist/tests/plugins/VscodeValePlugin.spec.d.ts.map +1 -0
- package/dist/tests/plugins/VscodeValePlugin.spec.js +77 -0
- package/dist/tests/plugins/VscodeValePlugin.spec.js.map +1 -0
- package/dist/tests/plugins/VscodeXmlPlugin.spec.d.ts +11 -0
- package/dist/tests/plugins/VscodeXmlPlugin.spec.d.ts.map +1 -0
- package/dist/tests/plugins/VscodeXmlPlugin.spec.js +98 -0
- package/dist/tests/plugins/VscodeXmlPlugin.spec.js.map +1 -0
- package/dist/tests/plugins/VscodeYamlPlugin.spec.d.ts +11 -0
- package/dist/tests/plugins/VscodeYamlPlugin.spec.d.ts.map +1 -0
- package/dist/tests/plugins/VscodeYamlPlugin.spec.js +96 -0
- package/dist/tests/plugins/VscodeYamlPlugin.spec.js.map +1 -0
- package/dist/testsLibrary/CodeExecutionTests.d.ts +49 -0
- package/dist/testsLibrary/CodeExecutionTests.d.ts.map +1 -0
- package/dist/testsLibrary/CodeExecutionTests.js +222 -0
- package/dist/testsLibrary/CodeExecutionTests.js.map +1 -0
- package/dist/testsLibrary/LanguageServerTests.d.ts +36 -0
- package/dist/testsLibrary/LanguageServerTests.d.ts.map +1 -0
- package/dist/testsLibrary/LanguageServerTests.js +237 -0
- package/dist/testsLibrary/LanguageServerTests.js.map +1 -0
- package/dist/testsLibrary/ProjectAndFileTests.d.ts +28 -0
- package/dist/testsLibrary/ProjectAndFileTests.d.ts.map +1 -0
- package/dist/testsLibrary/ProjectAndFileTests.js +100 -0
- package/dist/testsLibrary/ProjectAndFileTests.js.map +1 -0
- package/dist/testsLibrary/WorkspaceHandlingTests.d.ts +29 -0
- package/dist/testsLibrary/WorkspaceHandlingTests.d.ts.map +1 -0
- package/dist/testsLibrary/WorkspaceHandlingTests.js +87 -0
- package/dist/testsLibrary/WorkspaceHandlingTests.js.map +1 -0
- package/dist/utils/AnimationChecker.d.ts +16 -0
- package/dist/utils/AnimationChecker.d.ts.map +1 -0
- package/dist/utils/AnimationChecker.js +45 -0
- package/dist/utils/AnimationChecker.js.map +1 -0
- package/dist/utils/BrowserTabsUtil.d.ts +28 -0
- package/dist/utils/BrowserTabsUtil.d.ts.map +1 -0
- package/dist/utils/BrowserTabsUtil.js +115 -0
- package/dist/utils/BrowserTabsUtil.js.map +1 -0
- package/dist/utils/DriverHelper.d.ts +76 -0
- package/dist/utils/DriverHelper.d.ts.map +1 -0
- package/dist/utils/DriverHelper.js +616 -0
- package/dist/utils/DriverHelper.js.map +1 -0
- package/dist/utils/KeycloackUrlHandler.d.ts +15 -0
- package/dist/utils/KeycloackUrlHandler.d.ts.map +1 -0
- package/dist/utils/KeycloackUrlHandler.js +30 -0
- package/dist/utils/KeycloackUrlHandler.js.map +1 -0
- package/dist/utils/Logger.d.ts +39 -0
- package/dist/utils/Logger.d.ts.map +1 -0
- package/dist/utils/Logger.js +84 -0
- package/dist/utils/Logger.js.map +1 -0
- package/dist/utils/PreferencesHandler.d.ts +52 -0
- package/dist/utils/PreferencesHandler.d.ts.map +1 -0
- package/dist/utils/PreferencesHandler.js +139 -0
- package/dist/utils/PreferencesHandler.js.map +1 -0
- package/dist/utils/Sanitizer.d.ts +13 -0
- package/dist/utils/Sanitizer.d.ts.map +1 -0
- package/dist/utils/Sanitizer.js +29 -0
- package/dist/utils/Sanitizer.js.map +1 -0
- package/dist/utils/ScreenCatcher.d.ts +12 -0
- package/dist/utils/ScreenCatcher.d.ts.map +1 -0
- package/dist/utils/ScreenCatcher.js +107 -0
- package/dist/utils/ScreenCatcher.js.map +1 -0
- package/dist/utils/VCS/CheGitApi.d.ts +8 -0
- package/dist/utils/VCS/CheGitApi.d.ts.map +1 -0
- package/dist/utils/VCS/CheGitApi.js +42 -0
- package/dist/utils/VCS/CheGitApi.js.map +1 -0
- package/dist/utils/VCS/github/GitHubUtil.d.ts +15 -0
- package/dist/utils/VCS/github/GitHubUtil.d.ts.map +1 -0
- package/dist/utils/VCS/github/GitHubUtil.js +106 -0
- package/dist/utils/VCS/github/GitHubUtil.js.map +1 -0
- package/dist/utils/WorkspaceNameHandler.d.ts +17 -0
- package/dist/utils/WorkspaceNameHandler.d.ts.map +1 -0
- package/dist/utils/WorkspaceNameHandler.js +60 -0
- package/dist/utils/WorkspaceNameHandler.js.map +1 -0
- package/dist/utils/requestHandlers/CheApiRequestHandler.d.ts +28 -0
- package/dist/utils/requestHandlers/CheApiRequestHandler.d.ts.map +1 -0
- package/dist/utils/requestHandlers/CheApiRequestHandler.js +100 -0
- package/dist/utils/requestHandlers/CheApiRequestHandler.js.map +1 -0
- package/dist/utils/requestHandlers/headers/CheMultiuserAuthorizationHeaderHandler.d.ts +18 -0
- package/dist/utils/requestHandlers/headers/CheMultiuserAuthorizationHeaderHandler.d.ts.map +1 -0
- package/dist/utils/requestHandlers/headers/CheMultiuserAuthorizationHeaderHandler.js +33 -0
- package/dist/utils/requestHandlers/headers/CheMultiuserAuthorizationHeaderHandler.js.map +1 -0
- package/dist/utils/requestHandlers/headers/IAuthorizationHeaderHandler.d.ts +14 -0
- package/dist/utils/requestHandlers/headers/IAuthorizationHeaderHandler.d.ts.map +1 -0
- package/dist/utils/requestHandlers/headers/IAuthorizationHeaderHandler.js +12 -0
- package/dist/utils/requestHandlers/headers/IAuthorizationHeaderHandler.js.map +1 -0
- package/dist/utils/requestHandlers/tokens/CheMultiuserTokenHandler.d.ts +5 -0
- package/dist/utils/requestHandlers/tokens/CheMultiuserTokenHandler.d.ts.map +1 -0
- package/dist/utils/requestHandlers/tokens/CheMultiuserTokenHandler.js +50 -0
- package/dist/utils/requestHandlers/tokens/CheMultiuserTokenHandler.js.map +1 -0
- package/dist/utils/requestHandlers/tokens/ITokenHandler.d.ts +13 -0
- package/dist/utils/requestHandlers/tokens/ITokenHandler.d.ts.map +1 -0
- package/dist/utils/requestHandlers/tokens/ITokenHandler.js +12 -0
- package/dist/utils/requestHandlers/tokens/ITokenHandler.js.map +1 -0
- package/dist/utils/workspace/ITestWorkspaceUtil.d.ts +25 -0
- package/dist/utils/workspace/ITestWorkspaceUtil.d.ts.map +1 -0
- package/dist/utils/workspace/ITestWorkspaceUtil.js +12 -0
- package/dist/utils/workspace/ITestWorkspaceUtil.js.map +1 -0
- package/dist/utils/workspace/TestWorkspaceUtil.d.ts +34 -0
- package/dist/utils/workspace/TestWorkspaceUtil.d.ts.map +1 -0
- package/dist/utils/workspace/TestWorkspaceUtil.js +233 -0
- package/dist/utils/workspace/TestWorkspaceUtil.js.map +1 -0
- package/dist/utils/workspace/WorkspaceStatus.d.ts +15 -0
- package/dist/utils/workspace/WorkspaceStatus.d.ts.map +1 -0
- package/dist/utils/workspace/WorkspaceStatus.js +19 -0
- package/dist/utils/workspace/WorkspaceStatus.js.map +1 -0
- package/driver/CheReporter.ts +202 -0
- package/driver/ChromeDriver.ts +71 -0
- package/driver/IDriver.ts +14 -0
- package/files/devfiles/plugins/GitHubPullRequestPlugin.yaml +11 -0
- package/files/devfiles/plugins/InstallPluginUsingUI.yaml +3 -0
- package/files/devfiles/plugins/Java11PluginTest.yaml +17 -0
- package/files/devfiles/plugins/PhpPluginTest.yaml +47 -0
- package/files/devfiles/plugins/PythonPluginTest.yaml +14 -0
- package/files/devfiles/plugins/TypescriptNodeDebug2PluginTest.yaml +49 -0
- package/files/devfiles/plugins/VscodeKubernetesPlugin.yaml +12 -0
- package/files/devfiles/plugins/VscodeShellcheckPlugin.yaml +12 -0
- package/files/devfiles/plugins/VscodeValePlugin.yaml +42 -0
- package/files/devfiles/plugins/VscodeXmlPlugin.yaml +12 -0
- package/files/devfiles/plugins/VscodeYamlPlugin.yaml +12 -0
- package/files/happy-path/containers-happy-path.yaml +127 -0
- package/files/happy-path/happy-path-workspace.yaml +95 -0
- package/files/happy-path/petclinic-classpath.txt +49 -0
- package/generateIndex.sh +35 -0
- package/index.ts +67 -0
- package/initDefaultValues.sh +27 -0
- package/initDevfileTests.sh +48 -0
- package/initPluginTest.sh +9 -0
- package/inversify.config.ts +134 -0
- package/inversify.types.ts +71 -0
- package/mocha-all-devfiles.opts +8 -0
- package/mocha-all-factories.opts +8 -0
- package/mocha-all-plugins.opts +7 -0
- package/mocha-connector.opts +7 -0
- package/mocha-devworkspace-happy-path.opts +7 -0
- package/mocha-factory.opts +7 -0
- package/mocha-git-publish-branch.opts +7 -0
- package/mocha-git-self-sign-cert.opts +7 -0
- package/mocha-git-ssh.opts +7 -0
- package/mocha-happy-path.opts +8 -0
- package/mocha-java-vertx.opts +7 -0
- package/mocha-load.opts +7 -0
- package/mocha-single-devfile.opts +6 -0
- package/mocha-wkspc-creation-and-ls.opts +7 -0
- package/mocha.intelij.opts +7 -0
- package/mocha.ocp.link.opts +6 -0
- package/mocha.opts +7 -0
- package/mocha.single.plugin.opts +5 -0
- package/package.json +59 -0
- package/pageobjects/dashboard/CreateWorkspace.ts +58 -0
- package/pageobjects/dashboard/Dashboard.ts +112 -0
- package/pageobjects/dashboard/Workspaces.ts +189 -0
- package/pageobjects/dashboard/workspace-details/WorkspaceDetails.ts +153 -0
- package/pageobjects/dashboard/workspace-details/WorkspaceDetailsPlugins.ts +96 -0
- package/pageobjects/ide/ContextMenu.ts +55 -0
- package/pageobjects/ide/DebugView.ts +88 -0
- package/pageobjects/ide/DialogWindow.ts +101 -0
- package/pageobjects/ide/Editor.ts +601 -0
- package/pageobjects/ide/Ide.ts +370 -0
- package/pageobjects/ide/LeftToolBar.ts +81 -0
- package/pageobjects/ide/NavigationBar.ts +41 -0
- package/pageobjects/ide/NotificationCenter.ts +75 -0
- package/pageobjects/ide/OpenDialogWidget.ts +92 -0
- package/pageobjects/ide/OpenWorkspaceWidget.ts +48 -0
- package/pageobjects/ide/PreviewWidget.ts +135 -0
- package/pageobjects/ide/ProjectTree.ts +335 -0
- package/pageobjects/ide/QuickOpenContainer.ts +59 -0
- package/pageobjects/ide/RightToolBar.ts +34 -0
- package/pageobjects/ide/Terminal.ts +245 -0
- package/pageobjects/ide/TopMenu.ts +103 -0
- package/pageobjects/ide/plugins/GitHubPullRequestPlugin.ts +130 -0
- package/pageobjects/ide/plugins/GitPlugin.ts +118 -0
- package/pageobjects/ide/plugins/KubernetesPlugin.ts +113 -0
- package/pageobjects/ide/plugins/OpenshiftPlugin.ts +87 -0
- package/pageobjects/ide/plugins/PluginsView.ts +191 -0
- package/pageobjects/login/ICheLoginPage.ts +13 -0
- package/pageobjects/login/IOcpLoginPage.ts +13 -0
- package/pageobjects/login/MultiUserLoginPage.ts +33 -0
- package/pageobjects/login/OcpUserLoginPage.ts +38 -0
- package/pageobjects/login/RegularUserOcpCheLoginPage.ts +61 -0
- package/pageobjects/login/UpdateAccountInformationPage.ts +70 -0
- package/pageobjects/openshift/CheLoginPage.ts +91 -0
- package/pageobjects/openshift/OcpLoginPage.ts +113 -0
- package/pageobjects/third-parties/GitLoginPage.ts +81 -0
- package/pageobjects/third-parties/GitOauthAppsSettings.ts +110 -0
- package/tests/devfiles/CSlashCPlusPlus.spec.ts +81 -0
- package/tests/devfiles/DevfileSmoke.spec.ts +53 -0
- package/tests/devfiles/DotNetCore.spec.ts +90 -0
- package/tests/devfiles/Go.spec.ts +84 -0
- package/tests/devfiles/JavaMaven.spec.ts +67 -0
- package/tests/devfiles/JavaSpringBoot.spec.ts +74 -0
- package/tests/devfiles/JavaVertx.spec.ts +68 -0
- package/tests/devfiles/NodeJS.spec.ts +74 -0
- package/tests/devfiles/PHPSimple.spec.ts +83 -0
- package/tests/devfiles/Python.spec.ts +67 -0
- package/tests/devfiles/PythonDjango.spec.ts +70 -0
- package/tests/devfiles/Quarkus.spec.ts +79 -0
- package/tests/devfiles/Scala.spec.ts +74 -0
- package/tests/e2e/FactoryUrl.spec.ts +51 -0
- package/tests/e2e/GitPublishBranch.spec.ts +107 -0
- package/tests/e2e/GitSelfSignCert.spec.ts +107 -0
- package/tests/e2e/GitSsh.spec.ts +143 -0
- package/tests/e2e/OpenshiftConnector.spec.ts +142 -0
- package/tests/e2e/factories/DirectUrlFactoryWithKeepDirectoryTest.spec.ts +61 -0
- package/tests/e2e/factories/DirectUrlFactoryWithRootFolderTest.spec.ts +59 -0
- package/tests/e2e/factories/DirectUrlFactoryWithSpecificBranchTest.spec.ts +61 -0
- package/tests/e2e_happy_path/DevWorkspaceHappyPath.spec.ts +204 -0
- package/tests/e2e_happy_path/HappyPath.spec.ts +342 -0
- package/tests/intelij/IntelijOpenWorkspace.spec.ts +49 -0
- package/tests/load_test/LoadTest.spec.ts +54 -0
- package/tests/login/LinkCheAndOcpUsers.spec.ts +47 -0
- package/tests/login/Login.spec.ts +27 -0
- package/tests/plugins/GitHubPullRequestPlugin.spec.ts +150 -0
- package/tests/plugins/InstallPluginUsingUI.spec.ts +83 -0
- package/tests/plugins/JavaPlugin.spec.ts +108 -0
- package/tests/plugins/PhpPlugin.spec.ts +121 -0
- package/tests/plugins/PythonPlugin.spec.ts +92 -0
- package/tests/plugins/TypescriptPlugin.spec.ts +179 -0
- package/tests/plugins/VscodeKubernetesPlugin.spec.ts +89 -0
- package/tests/plugins/VscodeShellcheckPlugin.spec.ts +106 -0
- package/tests/plugins/VscodeValePlugin.spec.ts +91 -0
- package/tests/plugins/VscodeXmlPlugin.spec.ts +120 -0
- package/tests/plugins/VscodeYamlPlugin.spec.ts +117 -0
- package/testsLibrary/CodeExecutionTests.ts +196 -0
- package/testsLibrary/LanguageServerTests.ts +210 -0
- package/testsLibrary/ProjectAndFileTests.ts +82 -0
- package/testsLibrary/WorkspaceHandlingTests.ts +68 -0
- package/tsconfig.json +16 -0
- package/tslint.json +123 -0
- package/utils/AnimationChecker.ts +27 -0
- package/utils/BrowserTabsUtil.ts +120 -0
- package/utils/DriverHelper.ts +753 -0
- package/utils/KeycloackUrlHandler.ts +32 -0
- package/utils/Logger.ts +87 -0
- package/utils/PreferencesHandler.ts +120 -0
- package/utils/Sanitizer.ts +20 -0
- package/utils/ScreenCatcher.ts +74 -0
- package/utils/VCS/CheGitApi.ts +26 -0
- package/utils/VCS/github/GitHubUtil.ts +91 -0
- package/utils/WorkspaceNameHandler.ts +48 -0
- package/utils/requestHandlers/CheApiRequestHandler.ts +83 -0
- package/utils/requestHandlers/headers/CheMultiuserAuthorizationHeaderHandler.ts +27 -0
- package/utils/requestHandlers/headers/IAuthorizationHeaderHandler.ts +15 -0
- package/utils/requestHandlers/tokens/CheMultiuserTokenHandler.ts +39 -0
- package/utils/requestHandlers/tokens/ITokenHandler.ts +14 -0
- package/utils/workspace/ITestWorkspaceUtil.ts +26 -0
- package/utils/workspace/TestWorkspaceUtil.ts +275 -0
- package/utils/workspace/WorkspaceStatus.ts +15 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
apiVersion: 1.0.0
|
|
3
|
+
metadata:
|
|
4
|
+
generateName: php-plugin-test
|
|
5
|
+
projects:
|
|
6
|
+
- name: php-web-simple
|
|
7
|
+
source:
|
|
8
|
+
type: git
|
|
9
|
+
location: "https://github.com/che-samples/web-php-simple"
|
|
10
|
+
components:
|
|
11
|
+
- type: chePlugin
|
|
12
|
+
id: bmewburn/vscode-intelephense-client/latest
|
|
13
|
+
- type: chePlugin
|
|
14
|
+
id: felixfbecker/php-debug/latest
|
|
15
|
+
- type: dockerimage
|
|
16
|
+
alias: php
|
|
17
|
+
image: quay.io/eclipse/che-php-7:next
|
|
18
|
+
memoryLimit: 512Mi
|
|
19
|
+
mountSources: true
|
|
20
|
+
endpoints:
|
|
21
|
+
- name: '8080-tcp'
|
|
22
|
+
port: 8080
|
|
23
|
+
volumes:
|
|
24
|
+
- name: composer
|
|
25
|
+
containerPath: "/home/user/.composer"
|
|
26
|
+
- name: symfony
|
|
27
|
+
containerPath: "/home/user/.symfony"
|
|
28
|
+
commands:
|
|
29
|
+
- name: Debug current file
|
|
30
|
+
actions:
|
|
31
|
+
- type: vscode-launch
|
|
32
|
+
referenceContent: |
|
|
33
|
+
{
|
|
34
|
+
"version": "0.2.0",
|
|
35
|
+
"configurations": [
|
|
36
|
+
{
|
|
37
|
+
"name": "Launch currently open script",
|
|
38
|
+
"type": "php",
|
|
39
|
+
"request": "launch",
|
|
40
|
+
"program": "${file}",
|
|
41
|
+
"stopOnEntry": true,
|
|
42
|
+
"cwd": "${fileDirname}",
|
|
43
|
+
"port": 9000,
|
|
44
|
+
"runtimeExecutable": "php"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
apiVersion: 1.0.0
|
|
2
|
+
metadata:
|
|
3
|
+
name: python-plugin-test
|
|
4
|
+
projects:
|
|
5
|
+
- name: python-hello-world
|
|
6
|
+
source:
|
|
7
|
+
location: 'https://github.com/che-samples/python-hello-world.git'
|
|
8
|
+
type: git
|
|
9
|
+
components:
|
|
10
|
+
- id: ms-python/python/latest
|
|
11
|
+
type: chePlugin
|
|
12
|
+
- type: cheEditor
|
|
13
|
+
id: eclipse/che-theia/next
|
|
14
|
+
memoryLimit: 512Mi
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
apiVersion: 1.0.0
|
|
2
|
+
metadata:
|
|
3
|
+
name: typescript-debug-plugins
|
|
4
|
+
projects:
|
|
5
|
+
- name: nodejs-web-app
|
|
6
|
+
source:
|
|
7
|
+
location: 'https://github.com/che-samples/web-nodejs-sample.git'
|
|
8
|
+
branch: che-qe-tests
|
|
9
|
+
type: git
|
|
10
|
+
components:
|
|
11
|
+
- id: vscode/typescript-language-features/latest
|
|
12
|
+
type: chePlugin
|
|
13
|
+
- id: ms-vscode/node-debug2/latest
|
|
14
|
+
preferences:
|
|
15
|
+
debug.node.useV3: false
|
|
16
|
+
type: chePlugin
|
|
17
|
+
- mountSources: true
|
|
18
|
+
endpoints:
|
|
19
|
+
- name: nodejs
|
|
20
|
+
port: 3000
|
|
21
|
+
memoryLimit: 512Mi
|
|
22
|
+
type: dockerimage
|
|
23
|
+
alias: nodejs
|
|
24
|
+
image: 'quay.io/eclipse/che-nodejs10-ubi:next'
|
|
25
|
+
commands:
|
|
26
|
+
- name: run the web app (debugging enabled)
|
|
27
|
+
actions:
|
|
28
|
+
- workdir: '${CHE_PROJECTS_ROOT}/nodejs-web-app/app'
|
|
29
|
+
type: exec
|
|
30
|
+
command: npm install && nodemon --inspect app.js
|
|
31
|
+
component: nodejs
|
|
32
|
+
- name: Attach remote debugger
|
|
33
|
+
actions:
|
|
34
|
+
- referenceContent: |
|
|
35
|
+
{
|
|
36
|
+
"version": "0.2.0",
|
|
37
|
+
"configurations": [
|
|
38
|
+
{
|
|
39
|
+
"type": "node",
|
|
40
|
+
"request": "attach",
|
|
41
|
+
"name": "Attach to Remote",
|
|
42
|
+
"address": "localhost",
|
|
43
|
+
"port": 9229,
|
|
44
|
+
"localRoot": "${workspaceFolder}",
|
|
45
|
+
"remoteRoot": "${workspaceFolder}"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
type: vscode-launch
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
apiVersion: 1.0.0
|
|
2
|
+
metadata:
|
|
3
|
+
name: nodejs-24lop
|
|
4
|
+
projects:
|
|
5
|
+
- name: nodejs-web-app
|
|
6
|
+
source:
|
|
7
|
+
location: 'https://github.com/che-samples/web-nodejs-sample.git'
|
|
8
|
+
branch: che-qe-tests
|
|
9
|
+
type: git
|
|
10
|
+
components:
|
|
11
|
+
- type: chePlugin
|
|
12
|
+
id: ms-kubernetes-tools/vscode-kubernetes-tools/latest
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
apiVersion: 1.0.0
|
|
2
|
+
metadata:
|
|
3
|
+
name: nodejs-zmecm
|
|
4
|
+
projects:
|
|
5
|
+
- name: nodejs-web-app
|
|
6
|
+
source:
|
|
7
|
+
location: 'https://github.com/che-samples/web-nodejs-sample.git'
|
|
8
|
+
branch: che-qe-tests
|
|
9
|
+
type: git
|
|
10
|
+
components:
|
|
11
|
+
- id: timonwong/shellcheck/latest
|
|
12
|
+
type: chePlugin
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
apiVersion: 1.0.0
|
|
2
|
+
metadata:
|
|
3
|
+
name: che-docs-test
|
|
4
|
+
projects:
|
|
5
|
+
- name: che-docs
|
|
6
|
+
source:
|
|
7
|
+
location: 'https://github.com/eclipse/che-docs.git'
|
|
8
|
+
type: git
|
|
9
|
+
branch: che-qe
|
|
10
|
+
components:
|
|
11
|
+
- mountSources: true
|
|
12
|
+
endpoints:
|
|
13
|
+
- name: Open-Livereload
|
|
14
|
+
port: 35729
|
|
15
|
+
- attributes:
|
|
16
|
+
path: /che-7/overview/introduction-to-eclipse-che/
|
|
17
|
+
name: Open-Preview-server
|
|
18
|
+
port: 4000
|
|
19
|
+
command:
|
|
20
|
+
- tail
|
|
21
|
+
args:
|
|
22
|
+
- '-f'
|
|
23
|
+
- /dev/null
|
|
24
|
+
memoryLimit: 512M
|
|
25
|
+
type: dockerimage
|
|
26
|
+
alias: che-docs
|
|
27
|
+
image: 'quay.io/eclipse/che-docs:latest'
|
|
28
|
+
- preferences:
|
|
29
|
+
vale.core.useCLI: true
|
|
30
|
+
type: chePlugin
|
|
31
|
+
reference: 'https://che-plugin-registry-main.surge.sh/v3/plugins/errata-ai/vale-server/latest/meta.yaml'
|
|
32
|
+
alias: vale-server
|
|
33
|
+
- id: redhat/vscode-yaml/latest
|
|
34
|
+
type: chePlugin
|
|
35
|
+
- id: redhat/vscode-xml/latest
|
|
36
|
+
type: chePlugin
|
|
37
|
+
- id: redhat/java/latest
|
|
38
|
+
type: chePlugin
|
|
39
|
+
- id: golang/go/latest
|
|
40
|
+
type: chePlugin
|
|
41
|
+
- id: vscode/typescript-language-features/latest
|
|
42
|
+
type: chePlugin
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
apiVersion: 1.0.0
|
|
2
|
+
metadata:
|
|
3
|
+
name: xml-plugin-test
|
|
4
|
+
projects:
|
|
5
|
+
- name: nodejs-web-app
|
|
6
|
+
source:
|
|
7
|
+
location: 'https://github.com/che-samples/web-nodejs-sample.git'
|
|
8
|
+
branch: che-qe-tests
|
|
9
|
+
type: git
|
|
10
|
+
components:
|
|
11
|
+
- id: redhat/vscode-xml/latest
|
|
12
|
+
type: chePlugin
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
apiVersion: 1.0.0
|
|
2
|
+
metadata:
|
|
3
|
+
name: nodejs-zmecm
|
|
4
|
+
projects:
|
|
5
|
+
- name: nodejs-web-app
|
|
6
|
+
source:
|
|
7
|
+
location: 'https://github.com/che-samples/web-nodejs-sample.git'
|
|
8
|
+
branch: che-qe-tests
|
|
9
|
+
type: git
|
|
10
|
+
components:
|
|
11
|
+
- id: redhat/vscode-yaml/latest
|
|
12
|
+
type: chePlugin
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
---
|
|
2
|
+
apiVersion: v1
|
|
3
|
+
kind: Service
|
|
4
|
+
metadata:
|
|
5
|
+
name: mysql
|
|
6
|
+
labels:
|
|
7
|
+
app.kubernetes.io/name: mysql
|
|
8
|
+
app.kubernetes.io/component: database
|
|
9
|
+
app.kubernetes.io/part-of: petclinic
|
|
10
|
+
spec:
|
|
11
|
+
ports:
|
|
12
|
+
- port: 3306
|
|
13
|
+
targetPort: 3306
|
|
14
|
+
selector:
|
|
15
|
+
app.kubernetes.io/name: mysql
|
|
16
|
+
app.kubernetes.io/component: database
|
|
17
|
+
app.kubernetes.io/part-of: petclinic
|
|
18
|
+
---
|
|
19
|
+
apiVersion: apps/v1
|
|
20
|
+
kind: Deployment
|
|
21
|
+
metadata:
|
|
22
|
+
name: db
|
|
23
|
+
labels:
|
|
24
|
+
app.kubernetes.io/name: mysql
|
|
25
|
+
app.kubernetes.io/component: database
|
|
26
|
+
app.kubernetes.io/part-of: petclinic
|
|
27
|
+
spec:
|
|
28
|
+
selector:
|
|
29
|
+
matchLabels:
|
|
30
|
+
app.kubernetes.io/name: mysql
|
|
31
|
+
app.kubernetes.io/component: database
|
|
32
|
+
app.kubernetes.io/part-of: petclinic
|
|
33
|
+
replicas: 1
|
|
34
|
+
template:
|
|
35
|
+
metadata:
|
|
36
|
+
labels:
|
|
37
|
+
app.kubernetes.io/name: mysql
|
|
38
|
+
app.kubernetes.io/component: database
|
|
39
|
+
app.kubernetes.io/part-of: petclinic
|
|
40
|
+
spec:
|
|
41
|
+
containers:
|
|
42
|
+
- name: mysql
|
|
43
|
+
image: quay.io/eclipse/che--centos--mysql-57-centos7:latest-e08ee4d43b7356607685b69bde6335e27cf20c020f345b6c6c59400183882764
|
|
44
|
+
resources:
|
|
45
|
+
requests:
|
|
46
|
+
memory: 256Mi
|
|
47
|
+
env:
|
|
48
|
+
- name: MYSQL_USER
|
|
49
|
+
value: petclinic
|
|
50
|
+
- name: MYSQL_PASSWORD
|
|
51
|
+
value: petclinic
|
|
52
|
+
- name: MYSQL_ROOT_PASSWORD
|
|
53
|
+
value: petclinic
|
|
54
|
+
- name: MYSQL_DATABASE
|
|
55
|
+
value: petclinic
|
|
56
|
+
ports:
|
|
57
|
+
- containerPort: 3306
|
|
58
|
+
---
|
|
59
|
+
apiVersion: v1
|
|
60
|
+
kind: Service
|
|
61
|
+
metadata:
|
|
62
|
+
name: spring-boot-app
|
|
63
|
+
labels:
|
|
64
|
+
app.kubernetes.io/name: petclinic
|
|
65
|
+
app.kubernetes.io/component: webapp
|
|
66
|
+
app.kubernetes.io/part-of: petclinic
|
|
67
|
+
spec:
|
|
68
|
+
ports:
|
|
69
|
+
- port: 8080
|
|
70
|
+
targetPort: 8080
|
|
71
|
+
selector:
|
|
72
|
+
app.kubernetes.io/name: petclinic
|
|
73
|
+
app.kubernetes.io/component: webapp
|
|
74
|
+
app.kubernetes.io/part-of: petclinic
|
|
75
|
+
---
|
|
76
|
+
apiVersion: apps/v1 # for k8s versions before 1.9.0 use apps/v1beta2 and before 1.8.0 use extensions/v1beta1
|
|
77
|
+
kind: Deployment
|
|
78
|
+
metadata:
|
|
79
|
+
name: spring-boot-app
|
|
80
|
+
labels:
|
|
81
|
+
app.kubernetes.io/name: petclinic
|
|
82
|
+
app.kubernetes.io/component: webapp
|
|
83
|
+
app.kubernetes.io/part-of: petclinic
|
|
84
|
+
spec:
|
|
85
|
+
selector:
|
|
86
|
+
matchLabels:
|
|
87
|
+
app.kubernetes.io/name: petclinic
|
|
88
|
+
app.kubernetes.io/component: webapp
|
|
89
|
+
app.kubernetes.io/part-of: petclinic
|
|
90
|
+
replicas: 1
|
|
91
|
+
template:
|
|
92
|
+
metadata:
|
|
93
|
+
labels:
|
|
94
|
+
app.kubernetes.io/name: petclinic
|
|
95
|
+
app.kubernetes.io/component: webapp
|
|
96
|
+
app.kubernetes.io/part-of: petclinic
|
|
97
|
+
spec:
|
|
98
|
+
containers:
|
|
99
|
+
- name: spring-boot
|
|
100
|
+
image: quay.io/mloriedo/spring-petclinic
|
|
101
|
+
resources:
|
|
102
|
+
requests:
|
|
103
|
+
memory: 512Mi
|
|
104
|
+
ports:
|
|
105
|
+
- containerPort: 8080
|
|
106
|
+
---
|
|
107
|
+
apiVersion: extensions/v1beta1
|
|
108
|
+
kind: Ingress
|
|
109
|
+
metadata:
|
|
110
|
+
name: spring-boot-app
|
|
111
|
+
labels:
|
|
112
|
+
app: spring-petclinic
|
|
113
|
+
tier: frontend
|
|
114
|
+
annotations:
|
|
115
|
+
kubernetes.io/ingress.class: "nginx"
|
|
116
|
+
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
|
|
117
|
+
nginx.ingress.kubernetes.io/proxy-connect-timeout: "3600"
|
|
118
|
+
nginx.ingress.kubernetes.io/ssl-redirect: "false"
|
|
119
|
+
spec:
|
|
120
|
+
rules:
|
|
121
|
+
- host: 192.168.99.100.nip.io
|
|
122
|
+
http:
|
|
123
|
+
paths:
|
|
124
|
+
- path: /
|
|
125
|
+
backend:
|
|
126
|
+
serviceName: spring-boot-app
|
|
127
|
+
servicePort: 8080
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
---
|
|
2
|
+
apiVersion: 1.0.0
|
|
3
|
+
metadata:
|
|
4
|
+
name: petclinic-dev-environment
|
|
5
|
+
projects:
|
|
6
|
+
- name: petclinic
|
|
7
|
+
source:
|
|
8
|
+
type: git
|
|
9
|
+
location: "https://github.com/spring-projects/spring-petclinic.git"
|
|
10
|
+
commitId: e7c879ed3abe10e446ff103887ad665ca6acf04e
|
|
11
|
+
components:
|
|
12
|
+
- type: cheEditor
|
|
13
|
+
id: eclipse/che-theia/next
|
|
14
|
+
memoryLimit: 512Mi
|
|
15
|
+
- type: kubernetes
|
|
16
|
+
alias: petclinic-web
|
|
17
|
+
reference: https://raw.githubusercontent.com/eclipse/che/master/tests/e2e/files/happy-path/containers-happy-path.yaml
|
|
18
|
+
selector:
|
|
19
|
+
app.kubernetes.io/component: webapp
|
|
20
|
+
entrypoints:
|
|
21
|
+
- containerName: spring-boot
|
|
22
|
+
command: ["tail"]
|
|
23
|
+
args: ["-f", "/dev/null"]
|
|
24
|
+
- type: kubernetes
|
|
25
|
+
alias: petclinic-db
|
|
26
|
+
reference: https://raw.githubusercontent.com/eclipse/che/master/tests/e2e/files/happy-path/containers-happy-path.yaml
|
|
27
|
+
selector:
|
|
28
|
+
app.kubernetes.io/component: database
|
|
29
|
+
- type: dockerimage
|
|
30
|
+
alias: maven-container
|
|
31
|
+
image: quay.io/eclipse/happy-path:next
|
|
32
|
+
env:
|
|
33
|
+
- name: MAVEN_CONFIG
|
|
34
|
+
value: /home/user/.m2
|
|
35
|
+
memoryLimit: 1500Mi
|
|
36
|
+
endpoints:
|
|
37
|
+
- name: '8080-tcp'
|
|
38
|
+
port: 8080
|
|
39
|
+
- name: 'debug'
|
|
40
|
+
port: 5005
|
|
41
|
+
attributes:
|
|
42
|
+
public: 'false'
|
|
43
|
+
mountSources: true
|
|
44
|
+
- type: chePlugin
|
|
45
|
+
id: redhat/java/latest
|
|
46
|
+
memoryLimit: "1000Mi"
|
|
47
|
+
preferences:
|
|
48
|
+
java.server.launchMode: Standard
|
|
49
|
+
- type: chePlugin
|
|
50
|
+
id: redhat/vscode-yaml/latest
|
|
51
|
+
commands:
|
|
52
|
+
- name: build
|
|
53
|
+
actions:
|
|
54
|
+
- type: exec
|
|
55
|
+
component: maven-container
|
|
56
|
+
command: mvn clean package | tee /workspace_logs/build.log && tail -n 40 /workspace_logs/build.log | grep 'BUILD SUCCESS' > /projects/petclinic/result-build.txt
|
|
57
|
+
workdir: /projects/petclinic
|
|
58
|
+
- name: build-file-output
|
|
59
|
+
actions:
|
|
60
|
+
- type: exec
|
|
61
|
+
component: maven-container
|
|
62
|
+
command: cd /projects/petclinic && mvn package | tee /workspace_logs/build-output.log && tail -n 40 /workspace_logs/build-output.log | grep 'BUILD SUCCESS' > /projects/petclinic/result-build-output.txt
|
|
63
|
+
- name: run
|
|
64
|
+
actions:
|
|
65
|
+
- type: exec
|
|
66
|
+
component: maven-container
|
|
67
|
+
command: java -jar spring-petclinic-2.4.5.jar --spring.profiles.active=mysql | tee /workspace_logs/run.log
|
|
68
|
+
workdir: /projects/petclinic/target
|
|
69
|
+
- name: run-with-changes
|
|
70
|
+
actions:
|
|
71
|
+
- type: exec
|
|
72
|
+
component: maven-container
|
|
73
|
+
command: java -jar spring-petclinic-2.4.5.jar --spring.profiles.active=mysql | tee /workspace_logs/run-with-changes.log
|
|
74
|
+
workdir: /projects/petclinic/target
|
|
75
|
+
- name: run-debug
|
|
76
|
+
actions:
|
|
77
|
+
- type: exec
|
|
78
|
+
component: maven-container
|
|
79
|
+
command: java -jar -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 spring-petclinic-2.4.5.jar --spring.profiles.active=mysql | tee /workspace_logs/run-debug.log
|
|
80
|
+
workdir: /projects/petclinic/target
|
|
81
|
+
- name: Debug remote java application
|
|
82
|
+
actions:
|
|
83
|
+
- type: vscode-launch
|
|
84
|
+
referenceContent: |
|
|
85
|
+
{
|
|
86
|
+
"version": "0.2.0",
|
|
87
|
+
"configurations": [
|
|
88
|
+
{
|
|
89
|
+
"type": "java",
|
|
90
|
+
"name": "Debug (Attach) - Remote",
|
|
91
|
+
"request": "attach",
|
|
92
|
+
"hostName": "localhost",
|
|
93
|
+
"port": 5005
|
|
94
|
+
}]
|
|
95
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<classpath>
|
|
3
|
+
<classpathentry kind="src" output="target/classes" path="src/main/java">
|
|
4
|
+
<attributes>
|
|
5
|
+
<attribute name="optional" value="true"/>
|
|
6
|
+
<attribute name="maven.pomderived" value="true"/>
|
|
7
|
+
</attributes>
|
|
8
|
+
</classpathentry>
|
|
9
|
+
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
|
|
10
|
+
<attributes>
|
|
11
|
+
<attribute name="maven.pomderived" value="true"/>
|
|
12
|
+
</attributes>
|
|
13
|
+
</classpathentry>
|
|
14
|
+
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
|
|
15
|
+
<attributes>
|
|
16
|
+
<attribute name="optional" value="true"/>
|
|
17
|
+
<attribute name="maven.pomderived" value="true"/>
|
|
18
|
+
<attribute name="test" value="true"/>
|
|
19
|
+
</attributes>
|
|
20
|
+
</classpathentry>
|
|
21
|
+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
|
|
22
|
+
<attributes>
|
|
23
|
+
<attribute name="maven.pomderived" value="true"/>
|
|
24
|
+
</attributes>
|
|
25
|
+
</classpathentry>
|
|
26
|
+
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
|
27
|
+
<attributes>
|
|
28
|
+
<attribute name="maven.pomderived" value="true"/>
|
|
29
|
+
</attributes>
|
|
30
|
+
</classpathentry>
|
|
31
|
+
<classpathentry kind="src" path="target/generated-sources/annotations">
|
|
32
|
+
<attributes>
|
|
33
|
+
<attribute name="optional" value="true"/>
|
|
34
|
+
<attribute name="maven.pomderived" value="true"/>
|
|
35
|
+
<attribute name="ignore_optional_problems" value="true"/>
|
|
36
|
+
<attribute name="m2e-apt" value="true"/>
|
|
37
|
+
</attributes>
|
|
38
|
+
</classpathentry>
|
|
39
|
+
<classpathentry kind="src" output="target/test-classes" path="target/generated-test-sources/test-annotations">
|
|
40
|
+
<attributes>
|
|
41
|
+
<attribute name="optional" value="true"/>
|
|
42
|
+
<attribute name="maven.pomderived" value="true"/>
|
|
43
|
+
<attribute name="ignore_optional_problems" value="true"/>
|
|
44
|
+
<attribute name="m2e-apt" value="true"/>
|
|
45
|
+
<attribute name="test" value="true"/>
|
|
46
|
+
</attributes>
|
|
47
|
+
</classpathentry>
|
|
48
|
+
<classpathentry kind="output" path="target/classes"/>
|
|
49
|
+
</classpath>
|
package/generateIndex.sh
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
echo "Generating index.ts file..."
|
|
4
|
+
echo "import * as inversifyConfig from './inversify.config';
|
|
5
|
+
export { inversifyConfig };
|
|
6
|
+
export * from './inversify.types';
|
|
7
|
+
export * from './TestConstants';
|
|
8
|
+
export * from './TimeoutConstants';
|
|
9
|
+
" > index.ts
|
|
10
|
+
|
|
11
|
+
listOfDirs="driver utils pageobjects testsLibrary"
|
|
12
|
+
listOfExcludes="./driver/CheReporter.ts"
|
|
13
|
+
for dir in $listOfDirs
|
|
14
|
+
do
|
|
15
|
+
files=$(find ./$dir -type f | sort)
|
|
16
|
+
for file in $files
|
|
17
|
+
do
|
|
18
|
+
case $file in *ts)
|
|
19
|
+
for excludedFile in $listOfExcludes
|
|
20
|
+
do
|
|
21
|
+
if [ $excludedFile == $file ]; then
|
|
22
|
+
continue
|
|
23
|
+
else
|
|
24
|
+
end=$((${#file}-3))
|
|
25
|
+
file_without_ending=${file:0:end}
|
|
26
|
+
echo "export * from '$file_without_ending';" >> index.ts
|
|
27
|
+
fi
|
|
28
|
+
done
|
|
29
|
+
;;
|
|
30
|
+
*)
|
|
31
|
+
echo "Excluding file $file - not a typescript file"
|
|
32
|
+
;;
|
|
33
|
+
esac
|
|
34
|
+
done
|
|
35
|
+
done
|
package/index.ts
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import * as inversifyConfig from './inversify.config';
|
|
2
|
+
export { inversifyConfig };
|
|
3
|
+
export * from './inversify.types';
|
|
4
|
+
export * from './TestConstants';
|
|
5
|
+
export * from './TimeoutConstants';
|
|
6
|
+
|
|
7
|
+
export * from './driver/ChromeDriver';
|
|
8
|
+
export * from './driver/IDriver';
|
|
9
|
+
export * from './utils/AnimationChecker';
|
|
10
|
+
export * from './utils/BrowserTabsUtil';
|
|
11
|
+
export * from './utils/DriverHelper';
|
|
12
|
+
export * from './utils/KeycloackUrlHandler';
|
|
13
|
+
export * from './utils/Logger';
|
|
14
|
+
export * from './utils/PreferencesHandler';
|
|
15
|
+
export * from './utils/requestHandlers/CheApiRequestHandler';
|
|
16
|
+
export * from './utils/requestHandlers/headers/CheMultiuserAuthorizationHeaderHandler';
|
|
17
|
+
export * from './utils/requestHandlers/headers/IAuthorizationHeaderHandler';
|
|
18
|
+
export * from './utils/requestHandlers/tokens/CheMultiuserTokenHandler';
|
|
19
|
+
export * from './utils/requestHandlers/tokens/ITokenHandler';
|
|
20
|
+
export * from './utils/Sanitizer';
|
|
21
|
+
export * from './utils/ScreenCatcher';
|
|
22
|
+
export * from './utils/VCS/CheGitApi';
|
|
23
|
+
export * from './utils/VCS/github/GitHubUtil';
|
|
24
|
+
export * from './utils/workspace/ITestWorkspaceUtil';
|
|
25
|
+
export * from './utils/WorkspaceNameHandler';
|
|
26
|
+
export * from './utils/workspace/TestWorkspaceUtil';
|
|
27
|
+
export * from './utils/workspace/WorkspaceStatus';
|
|
28
|
+
export * from './pageobjects/dashboard/CreateWorkspace';
|
|
29
|
+
export * from './pageobjects/dashboard/Dashboard';
|
|
30
|
+
export * from './pageobjects/dashboard/workspace-details/WorkspaceDetailsPlugins';
|
|
31
|
+
export * from './pageobjects/dashboard/workspace-details/WorkspaceDetails';
|
|
32
|
+
export * from './pageobjects/dashboard/Workspaces';
|
|
33
|
+
export * from './pageobjects/ide/ContextMenu';
|
|
34
|
+
export * from './pageobjects/ide/DebugView';
|
|
35
|
+
export * from './pageobjects/ide/DialogWindow';
|
|
36
|
+
export * from './pageobjects/ide/Editor';
|
|
37
|
+
export * from './pageobjects/ide/Ide';
|
|
38
|
+
export * from './pageobjects/ide/LeftToolBar';
|
|
39
|
+
export * from './pageobjects/ide/NavigationBar';
|
|
40
|
+
export * from './pageobjects/ide/NotificationCenter';
|
|
41
|
+
export * from './pageobjects/ide/OpenDialogWidget';
|
|
42
|
+
export * from './pageobjects/ide/OpenWorkspaceWidget';
|
|
43
|
+
export * from './pageobjects/ide/plugins/GitHubPullRequestPlugin';
|
|
44
|
+
export * from './pageobjects/ide/plugins/GitPlugin';
|
|
45
|
+
export * from './pageobjects/ide/plugins/KubernetesPlugin';
|
|
46
|
+
export * from './pageobjects/ide/plugins/OpenshiftPlugin';
|
|
47
|
+
export * from './pageobjects/ide/plugins/PluginsView';
|
|
48
|
+
export * from './pageobjects/ide/PreviewWidget';
|
|
49
|
+
export * from './pageobjects/ide/ProjectTree';
|
|
50
|
+
export * from './pageobjects/ide/QuickOpenContainer';
|
|
51
|
+
export * from './pageobjects/ide/RightToolBar';
|
|
52
|
+
export * from './pageobjects/ide/Terminal';
|
|
53
|
+
export * from './pageobjects/ide/TopMenu';
|
|
54
|
+
export * from './pageobjects/login/ICheLoginPage';
|
|
55
|
+
export * from './pageobjects/login/IOcpLoginPage';
|
|
56
|
+
export * from './pageobjects/login/MultiUserLoginPage';
|
|
57
|
+
export * from './pageobjects/login/OcpUserLoginPage';
|
|
58
|
+
export * from './pageobjects/login/RegularUserOcpCheLoginPage';
|
|
59
|
+
export * from './pageobjects/login/UpdateAccountInformationPage';
|
|
60
|
+
export * from './pageobjects/openshift/CheLoginPage';
|
|
61
|
+
export * from './pageobjects/openshift/OcpLoginPage';
|
|
62
|
+
export * from './pageobjects/third-parties/GitLoginPage';
|
|
63
|
+
export * from './pageobjects/third-parties/GitOauthAppsSettings';
|
|
64
|
+
export * from './testsLibrary/CodeExecutionTests';
|
|
65
|
+
export * from './testsLibrary/LanguageServerTests';
|
|
66
|
+
export * from './testsLibrary/ProjectAndFileTests';
|
|
67
|
+
export * from './testsLibrary/WorkspaceHandlingTests';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export TS_SELENIUM_VALUE_TLS_SUPPORT=${TS_SELENIUM_VALUE_TLS_SUPPORT:-"true"}
|
|
2
|
+
export TS_SELENIUM_VALUE_OPENSHIFT_OAUTH=${TS_SELENIUM_VALUE_OPENSHIFT_OAUTH:-"false"}
|
|
3
|
+
export E2E_OCP_CLUSTER_VERSION=${E2E_OCP_CLUSTER_VERSION:-"4.x"}
|
|
4
|
+
export TS_OCP_LOGIN_PAGE_PROVIDER_TITLE=${TS_OCP_LOGIN_PAGE_PROVIDER_TITLE:-"htpasswd"}
|
|
5
|
+
export TS_SELENIUM_LOG_LEVEL=${TS_SELENIUM_LOG_LEVEL:-"DEBUG"}
|
|
6
|
+
export TS_SELENIUM_USERNAME=${TS_SELENIUM_USERNAME:-"admin"}
|
|
7
|
+
export TS_SELENIUM_PASSWORD=${TS_SELENIUM_PASSWORD:-"admin"}
|
|
8
|
+
export TS_SELENIUM_MULTIUSER=${TS_SELENIUM_MULTIUSER:-"true"}
|
|
9
|
+
export TS_SELENIUM_W3C_CHROME_OPTION=${TS_SELENIUM_W3C_CHROME_OPTION:-"true"}
|
|
10
|
+
export NODE_TLS_REJECT_UNAUTHORIZED=${NODE_TLS_REJECT_UNAUTHORIZED:-0}
|
|
11
|
+
|
|
12
|
+
if [ "$E2E_OCP_CLUSTER_VERSION" = "3.x" ] ; then
|
|
13
|
+
unset TS_OCP_LOGIN_PAGE_PROVIDER_TITLE
|
|
14
|
+
fi
|
|
15
|
+
|
|
16
|
+
echo "Initialized default values"
|
|
17
|
+
echo ""
|
|
18
|
+
echo "TS_SELENIUM_VALUE_TLS_SUPPORT = ${TS_SELENIUM_VALUE_TLS_SUPPORT}"
|
|
19
|
+
echo "TS_SELENIUM_VALUE_OPENSHIFT_OAUTH = ${TS_SELENIUM_VALUE_OPENSHIFT_OAUTH}"
|
|
20
|
+
echo "TS_OCP_LOGIN_PAGE_PROVIDER_TITLE = ${TS_OCP_LOGIN_PAGE_PROVIDER_TITLE}"
|
|
21
|
+
echo "E2E_OCP_CLUSTER_VERSION = ${E2E_OCP_CLUSTER_VERSION}"
|
|
22
|
+
echo "TS_SELENIUM_LOG_LEVEL = ${TS_SELENIUM_LOG_LEVEL}"
|
|
23
|
+
echo "TS_SELENIUM_USERNAME = ${TS_SELENIUM_USERNAME}"
|
|
24
|
+
echo "TS_SELENIUM_PASSWORD = ${TS_SELENIUM_PASSWORD}"
|
|
25
|
+
echo "TS_SELENIUM_MULTIUSER = ${TS_SELENIUM_MULTIUSER}"
|
|
26
|
+
echo "TS_SELENIUM_W3C_CHROME_OPTION = ${TS_SELENIUM_W3C_CHROME_OPTION}"
|
|
27
|
+
echo "NODE_TLS_REJECT_UNAUTHORIZED = ${NODE_TLS_REJECT_UNAUTHORIZED}"
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
########################################
|
|
4
|
+
############# Methods ##################
|
|
5
|
+
########################################
|
|
6
|
+
|
|
7
|
+
launchAllUserstories(){
|
|
8
|
+
echo ""
|
|
9
|
+
echo "Launching all userstories";
|
|
10
|
+
echo ""
|
|
11
|
+
|
|
12
|
+
npm run lint && npm run tsc && mocha --opts mocha-all-devfiles.opts ;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
launchSingleUserstory(){
|
|
16
|
+
echo ""
|
|
17
|
+
echo "Launching the \"${USERSTORY}\" userstory";
|
|
18
|
+
echo ""
|
|
19
|
+
|
|
20
|
+
tsc && mocha --opts mocha-single-devfile.opts --spec dist/tests/login/Login.spec.js --spec dist/tests/devfiles/${USERSTORY}.spec.js ;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
checkUserstoryName(){
|
|
24
|
+
local checkedName="$(ls tests/devfiles | grep ${USERSTORY}.spec.ts)";
|
|
25
|
+
|
|
26
|
+
if [ -z "$checkedName" ]; then
|
|
27
|
+
echo ""
|
|
28
|
+
echo "Current value USERSTORY=\"${USERSTORY}\" doesn't match to any existed test:"
|
|
29
|
+
echo ""
|
|
30
|
+
echo "$(ls tests/devfiles | sed -e 's/.spec.ts/ /g')"
|
|
31
|
+
echo ""
|
|
32
|
+
echo "Please choose one of the tests above, or unset the \"USERSTORY\" variable for launching all of them."
|
|
33
|
+
echo ""
|
|
34
|
+
|
|
35
|
+
exit 1;
|
|
36
|
+
fi
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
########################################
|
|
40
|
+
############# Launching ################
|
|
41
|
+
########################################
|
|
42
|
+
|
|
43
|
+
if [ -z "$USERSTORY" ]; then
|
|
44
|
+
launchAllUserstories ;
|
|
45
|
+
else
|
|
46
|
+
checkUserstoryName ;
|
|
47
|
+
launchSingleUserstory ;
|
|
48
|
+
fi
|