@eclipse-che/che-e2e 7.40.1 → 7.40.3-dev-c00847f
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 +3 -1
- package/TimeoutConstants.ts +12 -1
- package/build/dockerfiles/entrypoint.sh +3 -3
- package/dist/TestConstants.js +1 -0
- package/dist/TestConstants.js.map +1 -1
- package/dist/TimeoutConstants.js +10 -0
- package/dist/TimeoutConstants.js.map +1 -1
- package/dist/driver/CheReporter.js +18 -6
- package/dist/driver/CheReporter.js.map +1 -1
- package/dist/driver/ChromeDriver.js +1 -0
- package/dist/driver/ChromeDriver.js.map +1 -1
- package/dist/index.js +82 -63
- package/dist/index.js.map +1 -1
- package/dist/inversify.config.js +3 -0
- package/dist/inversify.config.js.map +1 -1
- package/dist/inversify.types.js +2 -0
- package/dist/inversify.types.js.map +1 -1
- package/dist/pageobjects/dashboard/CreateWorkspace.js +1 -0
- package/dist/pageobjects/dashboard/CreateWorkspace.js.map +1 -1
- package/dist/pageobjects/dashboard/Dashboard.js +1 -1
- package/dist/pageobjects/dashboard/Workspaces.js +1 -1
- package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetails.js +1 -1
- package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetailsPlugins.js +1 -0
- package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetailsPlugins.js.map +1 -1
- package/dist/pageobjects/ide/ContextMenu.js +1 -1
- package/dist/pageobjects/ide/DebugView.js +1 -0
- package/dist/pageobjects/ide/DebugView.js.map +1 -1
- package/dist/pageobjects/ide/DialogWindow.js +1 -1
- package/dist/pageobjects/ide/Editor.js +1 -1
- package/dist/pageobjects/ide/Ide.js +1 -1
- package/dist/pageobjects/ide/LeftToolBar.js +1 -0
- package/dist/pageobjects/ide/LeftToolBar.js.map +1 -1
- package/dist/pageobjects/ide/NavigationBar.js +1 -0
- package/dist/pageobjects/ide/NavigationBar.js.map +1 -1
- package/dist/pageobjects/ide/NotificationCenter.js +1 -0
- package/dist/pageobjects/ide/NotificationCenter.js.map +1 -1
- package/dist/pageobjects/ide/OpenDialogWidget.js +1 -0
- package/dist/pageobjects/ide/OpenDialogWidget.js.map +1 -1
- package/dist/pageobjects/ide/OpenEditors.js +73 -0
- package/dist/pageobjects/ide/OpenEditors.js.map +1 -0
- package/dist/pageobjects/ide/OpenWorkspaceWidget.js +1 -0
- package/dist/pageobjects/ide/OpenWorkspaceWidget.js.map +1 -1
- package/dist/pageobjects/ide/PreviewWidget.js +1 -1
- package/dist/pageobjects/ide/ProjectTree.js +4 -4
- package/dist/pageobjects/ide/ProjectTree.js.map +1 -1
- package/dist/pageobjects/ide/QuickOpenContainer.js +1 -0
- package/dist/pageobjects/ide/QuickOpenContainer.js.map +1 -1
- package/dist/pageobjects/ide/RightToolBar.js +1 -0
- package/dist/pageobjects/ide/RightToolBar.js.map +1 -1
- package/dist/pageobjects/ide/Terminal.js +1 -1
- package/dist/pageobjects/ide/TopMenu.js +1 -1
- package/dist/pageobjects/ide/plugins/GitHubPullRequestPlugin.js +1 -0
- package/dist/pageobjects/ide/plugins/GitHubPullRequestPlugin.js.map +1 -1
- package/dist/pageobjects/ide/plugins/GitPlugin.js +1 -1
- package/dist/pageobjects/ide/plugins/KubernetesPlugin.js +1 -0
- package/dist/pageobjects/ide/plugins/KubernetesPlugin.js.map +1 -1
- package/dist/pageobjects/ide/plugins/OpenshiftPlugin.js +1 -0
- package/dist/pageobjects/ide/plugins/OpenshiftPlugin.js.map +1 -1
- package/dist/pageobjects/ide/plugins/PluginsView.js +1 -1
- package/dist/pageobjects/login/MultiUserLoginPage.js +1 -0
- package/dist/pageobjects/login/MultiUserLoginPage.js.map +1 -1
- package/dist/pageobjects/login/OcpUserLoginPage.js +1 -0
- package/dist/pageobjects/login/OcpUserLoginPage.js.map +1 -1
- package/dist/pageobjects/login/RegularUserOcpCheLoginPage.js +1 -0
- package/dist/pageobjects/login/RegularUserOcpCheLoginPage.js.map +1 -1
- package/dist/pageobjects/login/UpdateAccountInformationPage.js +1 -0
- package/dist/pageobjects/login/UpdateAccountInformationPage.js.map +1 -1
- package/dist/pageobjects/openshift/CheLoginPage.js +1 -0
- package/dist/pageobjects/openshift/CheLoginPage.js.map +1 -1
- package/dist/pageobjects/openshift/OcpLoginPage.js +1 -1
- package/dist/pageobjects/third-parties/GitLoginPage.js +1 -1
- package/dist/pageobjects/third-parties/GitOauthAppsSettings.js +1 -1
- package/dist/tests/devfiles/CSlashCPlusPlus.spec.js +1 -0
- package/dist/tests/devfiles/CSlashCPlusPlus.spec.js.map +1 -1
- package/dist/tests/devfiles/DotNetCore.spec.js +1 -0
- package/dist/tests/devfiles/DotNetCore.spec.js.map +1 -1
- package/dist/tests/devfiles/PHPSimple.spec.js +1 -0
- package/dist/tests/devfiles/PHPSimple.spec.js.map +1 -1
- package/dist/tests/e2e_happy_path/DevWorkspaceHappyPath.spec.js +17 -5
- package/dist/tests/e2e_happy_path/DevWorkspaceHappyPath.spec.js.map +1 -1
- package/dist/tests/e2e_happy_path/HappyPath.spec.js +14 -2
- package/dist/tests/e2e_happy_path/HappyPath.spec.js.map +1 -1
- package/dist/tests/plugins/VscodeValePlugin.spec.js.map +1 -1
- package/dist/testsLibrary/CodeExecutionTests.js +1 -1
- package/dist/testsLibrary/LanguageServerTests.js +1 -0
- package/dist/testsLibrary/LanguageServerTests.js.map +1 -1
- package/dist/testsLibrary/ProjectAndFileTests.js +13 -2
- package/dist/testsLibrary/ProjectAndFileTests.js.map +1 -1
- package/dist/testsLibrary/WorkspaceHandlingTests.js +1 -1
- package/dist/utils/AnimationChecker.js +1 -0
- package/dist/utils/AnimationChecker.js.map +1 -1
- package/dist/utils/BrowserTabsUtil.js +1 -0
- package/dist/utils/BrowserTabsUtil.js.map +1 -1
- package/dist/utils/DriverHelper.js +1 -0
- package/dist/utils/DriverHelper.js.map +1 -1
- package/dist/utils/KeycloackUrlHandler.js +1 -0
- package/dist/utils/KeycloackUrlHandler.js.map +1 -1
- package/dist/utils/Logger.js +1 -0
- package/dist/utils/Logger.js.map +1 -1
- package/dist/utils/PreferencesHandler.js +1 -0
- package/dist/utils/PreferencesHandler.js.map +1 -1
- package/dist/utils/Sanitizer.js +1 -0
- package/dist/utils/Sanitizer.js.map +1 -1
- package/dist/utils/ScreenCatcher.js +20 -7
- package/dist/utils/ScreenCatcher.js.map +1 -1
- package/dist/utils/VCS/CheGitApi.js +1 -1
- package/dist/utils/VCS/github/GitHubUtil.js +21 -1
- package/dist/utils/VCS/github/GitHubUtil.js.map +1 -1
- package/dist/utils/WorkspaceNameHandler.js +1 -0
- package/dist/utils/WorkspaceNameHandler.js.map +1 -1
- package/dist/utils/requestHandlers/CheApiRequestHandler.js +28 -6
- package/dist/utils/requestHandlers/CheApiRequestHandler.js.map +1 -1
- package/dist/utils/requestHandlers/headers/CheMultiuserAuthorizationHeaderHandler.js +1 -0
- package/dist/utils/requestHandlers/headers/CheMultiuserAuthorizationHeaderHandler.js.map +1 -1
- package/dist/utils/requestHandlers/tokens/CheMultiuserTokenHandler.js +1 -0
- package/dist/utils/requestHandlers/tokens/CheMultiuserTokenHandler.js.map +1 -1
- package/dist/utils/workspace/TestWorkspaceUtil.js +1 -1
- package/dist/utils/workspace/WorkspaceStatus.js +1 -0
- package/dist/utils/workspace/WorkspaceStatus.js.map +1 -1
- package/initDevfileTests.sh +6 -6
- package/inversify.config.ts +2 -0
- package/inversify.types.ts +1 -0
- package/mocha-all-devfiles.json +12 -0
- package/mocha-all-factories.json +12 -0
- package/mocha-all-plugins.json +11 -0
- package/mocha-connector.json +9 -0
- package/mocha-devworkspace-happy-path.json +11 -0
- package/mocha-factory.json +11 -0
- package/mocha-git-publish-branch.json +11 -0
- package/mocha-git-self-sign-cert.json +11 -0
- package/mocha-git-ssh.json +11 -0
- package/mocha-happy-path.json +12 -0
- package/mocha-java-vertx.json +9 -0
- package/mocha-load.json +9 -0
- package/mocha-single-devfile.json +8 -0
- package/mocha-wkspc-creation-and-ls.json +9 -0
- package/mocha.intelij.json +9 -0
- package/mocha.json +8 -0
- package/mocha.ocp.link.json +8 -0
- package/mocha.single.plugin.json +7 -0
- package/package.json +4 -4
- package/pageobjects/ide/OpenEditors.ts +63 -0
- package/pageobjects/ide/ProjectTree.ts +3 -3
- package/tests/plugins/VscodeValePlugin.spec.ts +1 -1
- package/testsLibrary/ProjectAndFileTests.ts +8 -0
- package/utils/VCS/github/GitHubUtil.ts +19 -0
- package/utils/requestHandlers/CheApiRequestHandler.ts +27 -6
- package/dist/TestConstants.d.ts +0 -206
- package/dist/TestConstants.d.ts.map +0 -1
- package/dist/TimeoutConstants.d.ts +0 -164
- package/dist/TimeoutConstants.d.ts.map +0 -1
- package/dist/driver/CheReporter.d.ts +0 -18
- package/dist/driver/CheReporter.d.ts.map +0 -1
- package/dist/driver/ChromeDriver.d.ts +0 -21
- package/dist/driver/ChromeDriver.d.ts.map +0 -1
- package/dist/driver/IDriver.d.ts +0 -14
- package/dist/driver/IDriver.d.ts.map +0 -1
- package/dist/index.d.ts +0 -67
- package/dist/index.d.ts.map +0 -1
- package/dist/inversify.config.d.ts +0 -13
- package/dist/inversify.config.d.ts.map +0 -1
- package/dist/inversify.types.d.ts +0 -68
- package/dist/inversify.types.d.ts.map +0 -1
- package/dist/pageobjects/dashboard/CreateWorkspace.d.ts +0 -20
- package/dist/pageobjects/dashboard/CreateWorkspace.d.ts.map +0 -1
- package/dist/pageobjects/dashboard/Dashboard.d.ts +0 -24
- package/dist/pageobjects/dashboard/Dashboard.d.ts.map +0 -1
- package/dist/pageobjects/dashboard/Workspaces.d.ts +0 -44
- package/dist/pageobjects/dashboard/Workspaces.d.ts.map +0 -1
- package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetails.d.ts +0 -42
- package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetails.d.ts.map +0 -1
- package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetailsPlugins.d.ts +0 -29
- package/dist/pageobjects/dashboard/workspace-details/WorkspaceDetailsPlugins.d.ts.map +0 -1
- package/dist/pageobjects/ide/ContextMenu.d.ts +0 -22
- package/dist/pageobjects/ide/ContextMenu.d.ts.map +0 -1
- package/dist/pageobjects/ide/DebugView.d.ts +0 -32
- package/dist/pageobjects/ide/DebugView.d.ts.map +0 -1
- package/dist/pageobjects/ide/DialogWindow.d.ts +0 -28
- package/dist/pageobjects/ide/DialogWindow.d.ts.map +0 -1
- package/dist/pageobjects/ide/Editor.d.ts +0 -78
- package/dist/pageobjects/ide/Editor.d.ts.map +0 -1
- package/dist/pageobjects/ide/Ide.d.ts +0 -61
- package/dist/pageobjects/ide/Ide.d.ts.map +0 -1
- package/dist/pageobjects/ide/LeftToolBar.d.ts +0 -23
- package/dist/pageobjects/ide/LeftToolBar.d.ts.map +0 -1
- package/dist/pageobjects/ide/NavigationBar.d.ts +0 -9
- package/dist/pageobjects/ide/NavigationBar.d.ts.map +0 -1
- package/dist/pageobjects/ide/NotificationCenter.d.ts +0 -22
- package/dist/pageobjects/ide/NotificationCenter.d.ts.map +0 -1
- package/dist/pageobjects/ide/OpenDialogWidget.d.ts +0 -36
- package/dist/pageobjects/ide/OpenDialogWidget.d.ts.map +0 -1
- package/dist/pageobjects/ide/OpenWorkspaceWidget.d.ts +0 -17
- package/dist/pageobjects/ide/OpenWorkspaceWidget.d.ts.map +0 -1
- package/dist/pageobjects/ide/PreviewWidget.d.ts +0 -35
- package/dist/pageobjects/ide/PreviewWidget.d.ts.map +0 -1
- package/dist/pageobjects/ide/ProjectTree.d.ts +0 -53
- package/dist/pageobjects/ide/ProjectTree.d.ts.map +0 -1
- package/dist/pageobjects/ide/QuickOpenContainer.d.ts +0 -20
- package/dist/pageobjects/ide/QuickOpenContainer.d.ts.map +0 -1
- package/dist/pageobjects/ide/RightToolBar.d.ts +0 -8
- package/dist/pageobjects/ide/RightToolBar.d.ts.map +0 -1
- package/dist/pageobjects/ide/Terminal.d.ts +0 -36
- package/dist/pageobjects/ide/Terminal.d.ts.map +0 -1
- package/dist/pageobjects/ide/TopMenu.d.ts +0 -28
- package/dist/pageobjects/ide/TopMenu.d.ts.map +0 -1
- package/dist/pageobjects/ide/plugins/GitHubPullRequestPlugin.d.ts +0 -36
- package/dist/pageobjects/ide/plugins/GitHubPullRequestPlugin.d.ts.map +0 -1
- package/dist/pageobjects/ide/plugins/GitPlugin.d.ts +0 -35
- package/dist/pageobjects/ide/plugins/GitPlugin.d.ts.map +0 -1
- package/dist/pageobjects/ide/plugins/KubernetesPlugin.d.ts +0 -32
- package/dist/pageobjects/ide/plugins/KubernetesPlugin.d.ts.map +0 -1
- package/dist/pageobjects/ide/plugins/OpenshiftPlugin.d.ts +0 -38
- package/dist/pageobjects/ide/plugins/OpenshiftPlugin.d.ts.map +0 -1
- package/dist/pageobjects/ide/plugins/PluginsView.d.ts +0 -43
- package/dist/pageobjects/ide/plugins/PluginsView.d.ts.map +0 -1
- package/dist/pageobjects/login/ICheLoginPage.d.ts +0 -13
- package/dist/pageobjects/login/ICheLoginPage.d.ts.map +0 -1
- package/dist/pageobjects/login/IOcpLoginPage.d.ts +0 -13
- package/dist/pageobjects/login/IOcpLoginPage.d.ts.map +0 -1
- package/dist/pageobjects/login/MultiUserLoginPage.d.ts +0 -18
- package/dist/pageobjects/login/MultiUserLoginPage.d.ts.map +0 -1
- package/dist/pageobjects/login/OcpUserLoginPage.d.ts +0 -18
- package/dist/pageobjects/login/OcpUserLoginPage.d.ts.map +0 -1
- package/dist/pageobjects/login/RegularUserOcpCheLoginPage.d.ts +0 -20
- package/dist/pageobjects/login/RegularUserOcpCheLoginPage.d.ts.map +0 -1
- package/dist/pageobjects/login/UpdateAccountInformationPage.d.ts +0 -24
- package/dist/pageobjects/login/UpdateAccountInformationPage.d.ts.map +0 -1
- package/dist/pageobjects/openshift/CheLoginPage.d.ts +0 -27
- package/dist/pageobjects/openshift/CheLoginPage.d.ts.map +0 -1
- package/dist/pageobjects/openshift/OcpLoginPage.d.ts +0 -30
- package/dist/pageobjects/openshift/OcpLoginPage.d.ts.map +0 -1
- package/dist/pageobjects/third-parties/GitLoginPage.d.ts +0 -27
- package/dist/pageobjects/third-parties/GitLoginPage.d.ts.map +0 -1
- package/dist/pageobjects/third-parties/GitOauthAppsSettings.d.ts +0 -33
- package/dist/pageobjects/third-parties/GitOauthAppsSettings.d.ts.map +0 -1
- package/dist/tests/devfiles/CSlashCPlusPlus.spec.d.ts +0 -12
- package/dist/tests/devfiles/CSlashCPlusPlus.spec.d.ts.map +0 -1
- package/dist/tests/devfiles/DevfileSmoke.spec.d.ts +0 -11
- package/dist/tests/devfiles/DevfileSmoke.spec.d.ts.map +0 -1
- package/dist/tests/devfiles/DotNetCore.spec.d.ts +0 -12
- package/dist/tests/devfiles/DotNetCore.spec.d.ts.map +0 -1
- package/dist/tests/devfiles/Go.spec.d.ts +0 -2
- package/dist/tests/devfiles/Go.spec.d.ts.map +0 -1
- package/dist/tests/devfiles/JavaMaven.spec.d.ts +0 -11
- package/dist/tests/devfiles/JavaMaven.spec.d.ts.map +0 -1
- package/dist/tests/devfiles/JavaSpringBoot.spec.d.ts +0 -11
- package/dist/tests/devfiles/JavaSpringBoot.spec.d.ts.map +0 -1
- package/dist/tests/devfiles/JavaVertx.spec.d.ts +0 -11
- package/dist/tests/devfiles/JavaVertx.spec.d.ts.map +0 -1
- package/dist/tests/devfiles/NodeJS.spec.d.ts +0 -2
- package/dist/tests/devfiles/NodeJS.spec.d.ts.map +0 -1
- package/dist/tests/devfiles/PHPSimple.spec.d.ts +0 -12
- package/dist/tests/devfiles/PHPSimple.spec.d.ts.map +0 -1
- package/dist/tests/devfiles/Python.spec.d.ts +0 -2
- package/dist/tests/devfiles/Python.spec.d.ts.map +0 -1
- package/dist/tests/devfiles/PythonDjango.spec.d.ts +0 -2
- package/dist/tests/devfiles/PythonDjango.spec.d.ts.map +0 -1
- package/dist/tests/devfiles/Quarkus.spec.d.ts +0 -2
- package/dist/tests/devfiles/Quarkus.spec.d.ts.map +0 -1
- package/dist/tests/devfiles/Scala.spec.d.ts +0 -11
- package/dist/tests/devfiles/Scala.spec.d.ts.map +0 -1
- package/dist/tests/e2e/FactoryUrl.spec.d.ts +0 -2
- package/dist/tests/e2e/FactoryUrl.spec.d.ts.map +0 -1
- package/dist/tests/e2e/GitPublishBranch.spec.d.ts +0 -11
- package/dist/tests/e2e/GitPublishBranch.spec.d.ts.map +0 -1
- package/dist/tests/e2e/GitSelfSignCert.spec.d.ts +0 -11
- package/dist/tests/e2e/GitSelfSignCert.spec.d.ts.map +0 -1
- package/dist/tests/e2e/GitSsh.spec.d.ts +0 -11
- package/dist/tests/e2e/GitSsh.spec.d.ts.map +0 -1
- package/dist/tests/e2e/OpenshiftConnector.spec.d.ts +0 -11
- package/dist/tests/e2e/OpenshiftConnector.spec.d.ts.map +0 -1
- package/dist/tests/e2e/factories/DirectUrlFactoryWithKeepDirectoryTest.spec.d.ts +0 -2
- package/dist/tests/e2e/factories/DirectUrlFactoryWithKeepDirectoryTest.spec.d.ts.map +0 -1
- package/dist/tests/e2e/factories/DirectUrlFactoryWithRootFolderTest.spec.d.ts +0 -2
- package/dist/tests/e2e/factories/DirectUrlFactoryWithRootFolderTest.spec.d.ts.map +0 -1
- package/dist/tests/e2e/factories/DirectUrlFactoryWithSpecificBranchTest.spec.d.ts +0 -2
- package/dist/tests/e2e/factories/DirectUrlFactoryWithSpecificBranchTest.spec.d.ts.map +0 -1
- package/dist/tests/e2e_happy_path/DevWorkspaceHappyPath.spec.d.ts +0 -2
- package/dist/tests/e2e_happy_path/DevWorkspaceHappyPath.spec.d.ts.map +0 -1
- package/dist/tests/e2e_happy_path/HappyPath.spec.d.ts +0 -11
- package/dist/tests/e2e_happy_path/HappyPath.spec.d.ts.map +0 -1
- package/dist/tests/intelij/IntelijOpenWorkspace.spec.d.ts +0 -11
- package/dist/tests/intelij/IntelijOpenWorkspace.spec.d.ts.map +0 -1
- package/dist/tests/load_test/LoadTest.spec.d.ts +0 -11
- package/dist/tests/load_test/LoadTest.spec.d.ts.map +0 -1
- package/dist/tests/login/LinkCheAndOcpUsers.spec.d.ts +0 -11
- package/dist/tests/login/LinkCheAndOcpUsers.spec.d.ts.map +0 -1
- package/dist/tests/login/Login.spec.d.ts +0 -11
- package/dist/tests/login/Login.spec.d.ts.map +0 -1
- package/dist/tests/plugins/GitHubPullRequestPlugin.spec.d.ts +0 -11
- package/dist/tests/plugins/GitHubPullRequestPlugin.spec.d.ts.map +0 -1
- package/dist/tests/plugins/InstallPluginUsingUI.spec.d.ts +0 -11
- package/dist/tests/plugins/InstallPluginUsingUI.spec.d.ts.map +0 -1
- package/dist/tests/plugins/JavaPlugin.spec.d.ts +0 -2
- package/dist/tests/plugins/JavaPlugin.spec.d.ts.map +0 -1
- package/dist/tests/plugins/PhpPlugin.spec.d.ts +0 -2
- package/dist/tests/plugins/PhpPlugin.spec.d.ts.map +0 -1
- package/dist/tests/plugins/PythonPlugin.spec.d.ts +0 -11
- package/dist/tests/plugins/PythonPlugin.spec.d.ts.map +0 -1
- package/dist/tests/plugins/TypescriptPlugin.spec.d.ts +0 -11
- package/dist/tests/plugins/TypescriptPlugin.spec.d.ts.map +0 -1
- package/dist/tests/plugins/VscodeKubernetesPlugin.spec.d.ts +0 -11
- package/dist/tests/plugins/VscodeKubernetesPlugin.spec.d.ts.map +0 -1
- package/dist/tests/plugins/VscodeShellcheckPlugin.spec.d.ts +0 -11
- package/dist/tests/plugins/VscodeShellcheckPlugin.spec.d.ts.map +0 -1
- package/dist/tests/plugins/VscodeValePlugin.spec.d.ts +0 -11
- package/dist/tests/plugins/VscodeValePlugin.spec.d.ts.map +0 -1
- package/dist/tests/plugins/VscodeXmlPlugin.spec.d.ts +0 -11
- package/dist/tests/plugins/VscodeXmlPlugin.spec.d.ts.map +0 -1
- package/dist/tests/plugins/VscodeYamlPlugin.spec.d.ts +0 -11
- package/dist/tests/plugins/VscodeYamlPlugin.spec.d.ts.map +0 -1
- package/dist/testsLibrary/CodeExecutionTests.d.ts +0 -49
- package/dist/testsLibrary/CodeExecutionTests.d.ts.map +0 -1
- package/dist/testsLibrary/LanguageServerTests.d.ts +0 -36
- package/dist/testsLibrary/LanguageServerTests.d.ts.map +0 -1
- package/dist/testsLibrary/ProjectAndFileTests.d.ts +0 -28
- package/dist/testsLibrary/ProjectAndFileTests.d.ts.map +0 -1
- package/dist/testsLibrary/WorkspaceHandlingTests.d.ts +0 -29
- package/dist/testsLibrary/WorkspaceHandlingTests.d.ts.map +0 -1
- package/dist/utils/AnimationChecker.d.ts +0 -16
- package/dist/utils/AnimationChecker.d.ts.map +0 -1
- package/dist/utils/BrowserTabsUtil.d.ts +0 -28
- package/dist/utils/BrowserTabsUtil.d.ts.map +0 -1
- package/dist/utils/DriverHelper.d.ts +0 -76
- package/dist/utils/DriverHelper.d.ts.map +0 -1
- package/dist/utils/KeycloackUrlHandler.d.ts +0 -15
- package/dist/utils/KeycloackUrlHandler.d.ts.map +0 -1
- package/dist/utils/Logger.d.ts +0 -39
- package/dist/utils/Logger.d.ts.map +0 -1
- package/dist/utils/PreferencesHandler.d.ts +0 -52
- package/dist/utils/PreferencesHandler.d.ts.map +0 -1
- package/dist/utils/Sanitizer.d.ts +0 -13
- package/dist/utils/Sanitizer.d.ts.map +0 -1
- package/dist/utils/ScreenCatcher.d.ts +0 -12
- package/dist/utils/ScreenCatcher.d.ts.map +0 -1
- package/dist/utils/VCS/CheGitApi.d.ts +0 -8
- package/dist/utils/VCS/CheGitApi.d.ts.map +0 -1
- package/dist/utils/VCS/github/GitHubUtil.d.ts +0 -15
- package/dist/utils/VCS/github/GitHubUtil.d.ts.map +0 -1
- package/dist/utils/WorkspaceNameHandler.d.ts +0 -17
- package/dist/utils/WorkspaceNameHandler.d.ts.map +0 -1
- package/dist/utils/requestHandlers/CheApiRequestHandler.d.ts +0 -28
- package/dist/utils/requestHandlers/CheApiRequestHandler.d.ts.map +0 -1
- package/dist/utils/requestHandlers/headers/CheMultiuserAuthorizationHeaderHandler.d.ts +0 -18
- package/dist/utils/requestHandlers/headers/CheMultiuserAuthorizationHeaderHandler.d.ts.map +0 -1
- package/dist/utils/requestHandlers/headers/IAuthorizationHeaderHandler.d.ts +0 -14
- package/dist/utils/requestHandlers/headers/IAuthorizationHeaderHandler.d.ts.map +0 -1
- package/dist/utils/requestHandlers/tokens/CheMultiuserTokenHandler.d.ts +0 -5
- package/dist/utils/requestHandlers/tokens/CheMultiuserTokenHandler.d.ts.map +0 -1
- package/dist/utils/requestHandlers/tokens/ITokenHandler.d.ts +0 -13
- package/dist/utils/requestHandlers/tokens/ITokenHandler.d.ts.map +0 -1
- package/dist/utils/workspace/ITestWorkspaceUtil.d.ts +0 -25
- package/dist/utils/workspace/ITestWorkspaceUtil.d.ts.map +0 -1
- package/dist/utils/workspace/TestWorkspaceUtil.d.ts +0 -34
- package/dist/utils/workspace/TestWorkspaceUtil.d.ts.map +0 -1
- package/dist/utils/workspace/WorkspaceStatus.d.ts +0 -15
- package/dist/utils/workspace/WorkspaceStatus.d.ts.map +0 -1
- package/mocha-all-devfiles.opts +0 -8
- package/mocha-all-factories.opts +0 -8
- package/mocha-all-plugins.opts +0 -7
- package/mocha-connector.opts +0 -7
- package/mocha-devworkspace-happy-path.opts +0 -7
- package/mocha-factory.opts +0 -7
- package/mocha-git-publish-branch.opts +0 -7
- package/mocha-git-self-sign-cert.opts +0 -7
- package/mocha-git-ssh.opts +0 -7
- package/mocha-happy-path.opts +0 -8
- package/mocha-java-vertx.opts +0 -7
- package/mocha-load.opts +0 -7
- package/mocha-single-devfile.opts +0 -6
- package/mocha-wkspc-creation-and-ls.opts +0 -7
- package/mocha.intelij.opts +0 -7
- package/mocha.ocp.link.opts +0 -6
- package/mocha.opts +0 -7
- package/mocha.single.plugin.opts +0 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eclipse-che/che-e2e",
|
|
3
|
-
"version": "7.40.
|
|
3
|
+
"version": "7.40.3-dev-c00847f",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"@types/node": "11.13.4",
|
|
38
38
|
"@types/rimraf": "2.0.2",
|
|
39
39
|
"@types/selenium-webdriver": "3.0.16",
|
|
40
|
-
"axios": "0.
|
|
40
|
+
"axios": "^0.25.0",
|
|
41
41
|
"chai": "4.2.0",
|
|
42
42
|
"chromedriver": "95.0.0",
|
|
43
|
-
"mocha": "
|
|
43
|
+
"mocha": "^9.1.3",
|
|
44
44
|
"rimraf": "2.6.2",
|
|
45
45
|
"selenium-webdriver": "3.6.0",
|
|
46
46
|
"ts-node": "8.0.3",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"typescript": "3.9.9"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@eclipse-che/api": "
|
|
52
|
+
"@eclipse-che/api": "7.40.1",
|
|
53
53
|
"inversify": "5.0.1",
|
|
54
54
|
"reflect-metadata": "0.1.13"
|
|
55
55
|
},
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) 2022 Red Hat, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This program and the accompanying materials are made
|
|
5
|
+
* available under the terms of the Eclipse Public License 2.0
|
|
6
|
+
* which is available at https://www.eclipse.org/legal/epl-2.0/
|
|
7
|
+
*
|
|
8
|
+
* SPDX-License-Identifier: EPL-2.0
|
|
9
|
+
**********************************************************************/
|
|
10
|
+
|
|
11
|
+
import 'reflect-metadata';
|
|
12
|
+
import { injectable, inject } from 'inversify';
|
|
13
|
+
import { DriverHelper } from '../../utils/DriverHelper';
|
|
14
|
+
import { CLASSES } from '../../inversify.types';
|
|
15
|
+
import { By } from 'selenium-webdriver';
|
|
16
|
+
import { Logger } from '../../utils/Logger';
|
|
17
|
+
import { TimeoutConstants } from '../../TimeoutConstants';
|
|
18
|
+
|
|
19
|
+
@injectable()
|
|
20
|
+
export class OpenEditors {
|
|
21
|
+
private static readonly OPEN_EDITORS_WIDGET_LOCATOR: By = By.id('explorer-view-container--theia-open-editors-widget');
|
|
22
|
+
private static readonly OPEN_EDITORS_CONTAINER_LOCATOR: By = By.css('#theia-left-side-panel #explorer-view-container--theia-open-editors-widget .theia-TreeContainer');
|
|
23
|
+
private static readonly OPEN_EDITORS_EXPANSION_TOGGLE_LOCATOR: By = By.css('#theia-left-side-panel #explorer-view-container--theia-open-editors-widget .theia-ExpansionToggle.codicon.codicon-chevron-down');
|
|
24
|
+
private static readonly OPEN_EDITORS_EXPANSION_TOGGLE_COLLAPSED_LOCATOR: By = By.css('#theia-left-side-panel #explorer-view-container--theia-open-editors-widget .theia-ExpansionToggle.codicon.codicon-chevron-down.theia-mod-collapsed');
|
|
25
|
+
private static readonly OPEN_EDITORS_CLOSE_ALL_BUTTON_LOCATOR: By = By.id('navigator.close.all.editors.toolbar');
|
|
26
|
+
|
|
27
|
+
constructor(
|
|
28
|
+
@inject(CLASSES.DriverHelper) private readonly driverHelper: DriverHelper
|
|
29
|
+
) { }
|
|
30
|
+
|
|
31
|
+
async waitOpenEditors(timeout: number = TimeoutConstants.TS_OPEN_EDITORS_TIMEOUT) {
|
|
32
|
+
Logger.debug('OpenEditors.waitOpenEditors');
|
|
33
|
+
|
|
34
|
+
await this.driverHelper.waitPresence(OpenEditors.OPEN_EDITORS_WIDGET_LOCATOR, timeout);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
async waitOpenEditorsContainer(timeout: number = TimeoutConstants.TS_OPEN_EDITORS_TIMEOUT) {
|
|
38
|
+
Logger.debug('OpenEditors.waitOpenEditorsContainer');
|
|
39
|
+
|
|
40
|
+
await this.driverHelper.waitPresence(OpenEditors.OPEN_EDITORS_CONTAINER_LOCATOR, timeout);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
async clickCloseAllEditors(timeout: number = TimeoutConstants.TS_OPEN_EDITORS_CLICK_ON_ITEM_TIMEOUT) {
|
|
44
|
+
Logger.debug('OpenEditors.clickCloseAllEditors');
|
|
45
|
+
|
|
46
|
+
await this.driverHelper.waitAndClick(OpenEditors.OPEN_EDITORS_CLOSE_ALL_BUTTON_LOCATOR, timeout);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
async waitAndClickExpansionToggle(timeout: number = TimeoutConstants.TS_OPEN_EDITORS_CLICK_ON_ITEM_TIMEOUT) {
|
|
50
|
+
Logger.debug('OpenEditors.waitAndClickExpansionToggle');
|
|
51
|
+
|
|
52
|
+
Logger.trace('OpenEditors.waitAndClickExpansionToggle waiting for presence of expansion toggle');
|
|
53
|
+
await this.driverHelper.waitPresence(OpenEditors.OPEN_EDITORS_EXPANSION_TOGGLE_LOCATOR);
|
|
54
|
+
Logger.trace('OpenEditors.waitAndClickExpansionToggle expansion toggle located, clicking.');
|
|
55
|
+
await this.driverHelper.waitAndClick(OpenEditors.OPEN_EDITORS_EXPANSION_TOGGLE_LOCATOR, timeout);
|
|
56
|
+
Logger.trace('OpenEditors.waitAndClickExpansionToggle expansion toggle clicked.');
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
async isExpansionToggleCollapsed(timeout: number = TimeoutConstants.TS_OPEN_EDITORS_CLICK_ON_ITEM_TIMEOUT) : Promise<boolean> {
|
|
60
|
+
Logger.debug('OpenEditors.isExpansionToggleCollapsed');
|
|
61
|
+
return await this.driverHelper.waitVisibilityBoolean(OpenEditors.OPEN_EDITORS_EXPANSION_TOGGLE_COLLAPSED_LOCATOR, 1, timeout);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -21,7 +21,7 @@ import { TimeoutConstants } from '../../TimeoutConstants';
|
|
|
21
21
|
|
|
22
22
|
@injectable()
|
|
23
23
|
export class ProjectTree {
|
|
24
|
-
private static readonly
|
|
24
|
+
private static readonly PROJECT_TREE_CONTAINER_LOCATOR: By = By.css('#theia-left-side-panel #explorer-view-container--files .theia-TreeContainer');
|
|
25
25
|
|
|
26
26
|
constructor(
|
|
27
27
|
@inject(CLASSES.DriverHelper) private readonly driverHelper: DriverHelper,
|
|
@@ -94,7 +94,7 @@ export class ProjectTree {
|
|
|
94
94
|
async waitProjectTreeContainer(timeout: number = TimeoutConstants.TS_PROJECT_TREE_TIMEOUT) {
|
|
95
95
|
Logger.debug('ProjectTree.waitProjectTreeContainer');
|
|
96
96
|
|
|
97
|
-
await this.driverHelper.waitPresence(
|
|
97
|
+
await this.driverHelper.waitPresence(ProjectTree.PROJECT_TREE_CONTAINER_LOCATOR, timeout);
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
async waitProjectTreeContainerClosed(attempts: number = TestConstants.TS_SELENIUM_DEFAULT_ATTEMPTS,
|
|
@@ -102,7 +102,7 @@ export class ProjectTree {
|
|
|
102
102
|
|
|
103
103
|
Logger.debug('ProjectTree.waitProjectTreeContainerClosed');
|
|
104
104
|
|
|
105
|
-
await this.driverHelper.waitDisappearance(
|
|
105
|
+
await this.driverHelper.waitDisappearance(ProjectTree.PROJECT_TREE_CONTAINER_LOCATOR, attempts, polling);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
async waitItem(itemPath: string, timeout: number = TimeoutConstants.TS_PROJECT_TREE_TIMEOUT) {
|
|
@@ -64,7 +64,7 @@ suite('The "VscodeValePlugin" userstory', async () => {
|
|
|
64
64
|
suite('Check the "vale" plugin', async () => {
|
|
65
65
|
test('Check warning in the editor appearance', async () => {
|
|
66
66
|
await projectTree.expandPathAndOpenFile(pathToFile, docFileName);
|
|
67
|
-
await editor.waitInfoInLine(16,docFileName);
|
|
67
|
+
await editor.waitInfoInLine(16, docFileName);
|
|
68
68
|
});
|
|
69
69
|
|
|
70
70
|
test('Open the "Problems" terminal tab', async () => {
|
|
@@ -13,6 +13,7 @@ import { inject, injectable } from 'inversify';
|
|
|
13
13
|
import { By } from 'selenium-webdriver';
|
|
14
14
|
import { Ide } from '../pageobjects/ide/Ide';
|
|
15
15
|
import { ProjectTree } from '../pageobjects/ide/ProjectTree';
|
|
16
|
+
import { OpenEditors } from '../pageobjects/ide/OpenEditors';
|
|
16
17
|
import { Editor } from '../pageobjects/ide/Editor';
|
|
17
18
|
import { TimeoutConstants } from '../TimeoutConstants';
|
|
18
19
|
import { DriverHelper } from '../utils/DriverHelper';
|
|
@@ -25,6 +26,7 @@ export class ProjectAndFileTests {
|
|
|
25
26
|
@inject(CLASSES.Ide) private readonly ide: Ide,
|
|
26
27
|
@inject(CLASSES.DriverHelper) private readonly driverHelper: DriverHelper,
|
|
27
28
|
@inject(CLASSES.ProjectTree) private readonly projectTree: ProjectTree,
|
|
29
|
+
@inject(CLASSES.OpenEditors) private readonly openEditors: OpenEditors,
|
|
28
30
|
@inject(CLASSES.Editor) private readonly editor: Editor) {}
|
|
29
31
|
|
|
30
32
|
public waitWorkspaceReadiness(sampleName : string, folder: string, checkNotification: boolean = true, restartWorkspaceDialogIsExpected: boolean = false) {
|
|
@@ -39,6 +41,9 @@ export class ProjectAndFileTests {
|
|
|
39
41
|
|
|
40
42
|
}
|
|
41
43
|
await this.projectTree.openProjectTreeContainer();
|
|
44
|
+
if (!await this.openEditors.isExpansionToggleCollapsed()) {
|
|
45
|
+
await this.openEditors.waitAndClickExpansionToggle();
|
|
46
|
+
}
|
|
42
47
|
await this.projectTree.waitProjectImported(sampleName, folder);
|
|
43
48
|
});
|
|
44
49
|
}
|
|
@@ -51,6 +56,9 @@ export class ProjectAndFileTests {
|
|
|
51
56
|
await this.ide.waitNotificationAndClickOnButton('Do you trust the authors of', 'Yes, I trust', 60_000);
|
|
52
57
|
}
|
|
53
58
|
await this.projectTree.openProjectTreeContainer();
|
|
59
|
+
if (!await this.openEditors.isExpansionToggleCollapsed()) {
|
|
60
|
+
await this.openEditors.waitAndClickExpansionToggle();
|
|
61
|
+
}
|
|
54
62
|
await this.projectTree.waitProjectImportedNoSubfolder(sampleName);
|
|
55
63
|
});
|
|
56
64
|
}
|
|
@@ -73,6 +73,25 @@ export class GitHubUtil {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
+
async deletePublicSshKeyByName(authToken: string, keyName: string) {
|
|
77
|
+
const gitHubApiSshURL: string = GitHubUtil.GITHUB_API_ENTRIPOINT_URL + 'user/keys';
|
|
78
|
+
const authHeader = { headers: { 'Authorization': 'token ' + authToken, 'Content-Type': 'application/json' } };
|
|
79
|
+
try {
|
|
80
|
+
const response = await axios.get(gitHubApiSshURL, authHeader);
|
|
81
|
+
const stringified = JSON.stringify(response.data);
|
|
82
|
+
const arrayOfPublicKeys = JSON.parse(stringified);
|
|
83
|
+
for (let entry of arrayOfPublicKeys) {
|
|
84
|
+
if (entry.title === keyName) {
|
|
85
|
+
this.removePublicSshKey(authToken, entry.id);
|
|
86
|
+
break;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
} catch (error) {
|
|
90
|
+
console.error('Cannot delete the ' + keyName + ' public key from the GitHub account');
|
|
91
|
+
console.error(error);
|
|
92
|
+
throw error;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
76
95
|
|
|
77
96
|
async removeAllPublicSshKeys(authToken: string) {
|
|
78
97
|
try {
|
|
@@ -13,6 +13,7 @@ import { TestConstants } from '../../TestConstants';
|
|
|
13
13
|
import { TYPES } from '../../inversify.types';
|
|
14
14
|
import { inject, injectable } from 'inversify';
|
|
15
15
|
import { IAuthorizationHeaderHandler } from './headers/IAuthorizationHeaderHandler';
|
|
16
|
+
import { Logger } from '../Logger';
|
|
16
17
|
|
|
17
18
|
@injectable()
|
|
18
19
|
export class CheApiRequestHandler {
|
|
@@ -21,14 +22,22 @@ export class CheApiRequestHandler {
|
|
|
21
22
|
* This method adds a request interceptor into axios request interceptors list and returns an ID of the interceptor
|
|
22
23
|
*/
|
|
23
24
|
public static enableRequestInteceptor(): number {
|
|
24
|
-
|
|
25
|
+
Logger.debug(`CheApiRequestHandler.enableRequestInterceptor`);
|
|
25
26
|
return axios.interceptors.request.use( request => {
|
|
26
27
|
try {
|
|
27
28
|
let request_censored: AxiosRequestConfig = JSON.parse(JSON.stringify(request));
|
|
29
|
+
if (request_censored === undefined) {
|
|
30
|
+
Logger.error('JSON.parse returned an undefined object, cannot process request');
|
|
31
|
+
return request;
|
|
32
|
+
}
|
|
33
|
+
if (request_censored.headers === undefined) {
|
|
34
|
+
Logger.warn('Request does not contain any headers object');
|
|
35
|
+
return request;
|
|
36
|
+
}
|
|
28
37
|
request_censored.headers.Authorization = 'CENSORED';
|
|
29
|
-
|
|
38
|
+
Logger.info(`RequestHandler request:\n` + request_censored);
|
|
30
39
|
} catch (err) {
|
|
31
|
-
|
|
40
|
+
Logger.error(`RequestHandler request: Failed to deep clone AxiosRequestConfig:` + err);
|
|
32
41
|
}
|
|
33
42
|
return request;
|
|
34
43
|
});
|
|
@@ -38,7 +47,7 @@ export class CheApiRequestHandler {
|
|
|
38
47
|
* This method adds a response interceptor into axios response interceptors list and returns an ID of the interceptor
|
|
39
48
|
*/
|
|
40
49
|
public static enableResponseInterceptor(): number {
|
|
41
|
-
|
|
50
|
+
Logger.debug(`CheApiRequestHandler.enableResponseRedirects`);
|
|
42
51
|
return axios.interceptors.response.use( response => {
|
|
43
52
|
try {
|
|
44
53
|
let response_censored: AxiosResponse = JSON.parse(JSON.stringify(response, (key, value) => {
|
|
@@ -47,6 +56,18 @@ export class CheApiRequestHandler {
|
|
|
47
56
|
default: return value;
|
|
48
57
|
}
|
|
49
58
|
}));
|
|
59
|
+
if (response_censored === undefined) {
|
|
60
|
+
Logger.error('JSON.parse returned an undefined object, cannot process response');
|
|
61
|
+
return response;
|
|
62
|
+
}
|
|
63
|
+
if (response_censored.config === undefined) {
|
|
64
|
+
Logger.warn('Response does not contain any config object');
|
|
65
|
+
return response;
|
|
66
|
+
}
|
|
67
|
+
if (response_censored.config.headers === undefined) {
|
|
68
|
+
Logger.warn('Response does not contain any config.headers object');
|
|
69
|
+
return response;
|
|
70
|
+
}
|
|
50
71
|
response_censored.config.headers.Authorization = 'CENSORED';
|
|
51
72
|
if (response_censored.data.access_token != null) {
|
|
52
73
|
response_censored.data.access_token = 'CENSORED';
|
|
@@ -54,9 +75,9 @@ export class CheApiRequestHandler {
|
|
|
54
75
|
if (response_censored.data.refresh_token != null) {
|
|
55
76
|
response_censored.data.refresh_token = 'CENSORED';
|
|
56
77
|
}
|
|
57
|
-
|
|
78
|
+
Logger.info(`RequestHandler response:\n` + response_censored);
|
|
58
79
|
} catch (err) {
|
|
59
|
-
|
|
80
|
+
Logger.error(`RequestHandler response: Failed to deep clone AxiosResponse:` + err);
|
|
60
81
|
}
|
|
61
82
|
return response;
|
|
62
83
|
});
|
package/dist/TestConstants.d.ts
DELETED
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
/*********************************************************************
|
|
2
|
-
* Copyright (c) 2019 Red Hat, Inc.
|
|
3
|
-
*
|
|
4
|
-
* This program and the accompanying materials are made
|
|
5
|
-
* available under the terms of the Eclipse Public License 2.0
|
|
6
|
-
* which is available at https://www.eclipse.org/legal/epl-2.0/
|
|
7
|
-
*
|
|
8
|
-
* SPDX-License-Identifier: EPL-2.0
|
|
9
|
-
**********************************************************************/
|
|
10
|
-
export declare const TestConstants: {
|
|
11
|
-
/**
|
|
12
|
-
* Base URL of the application which should be checked
|
|
13
|
-
*/
|
|
14
|
-
TS_SELENIUM_BASE_URL: string;
|
|
15
|
-
/**
|
|
16
|
-
* Base URl of web console OpenShift which uses to test OperatorHub.
|
|
17
|
-
*/
|
|
18
|
-
TS_SELENIUM_WEB_CONSOLE_OCP_URL: string;
|
|
19
|
-
/**
|
|
20
|
-
* Run browser in "Headless" (hiden) mode, "false" by default.
|
|
21
|
-
*/
|
|
22
|
-
TS_SELENIUM_HEADLESS: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Run browser in "Fullscreen" (kiosk) mode.
|
|
25
|
-
* Default to true if undefined
|
|
26
|
-
*/
|
|
27
|
-
TS_SELENIUM_LAUNCH_FULLSCREEN: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Run browser with an enabled or disabled W3C protocol (on Chrome 76 and upper, it is enabled by default), "true" by default.
|
|
30
|
-
*/
|
|
31
|
-
TS_SELENIUM_W3C_CHROME_OPTION: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Browser width resolution, "1920" by default.
|
|
34
|
-
*/
|
|
35
|
-
TS_SELENIUM_RESOLUTION_WIDTH: number;
|
|
36
|
-
/**
|
|
37
|
-
* Browser height resolution, "1080" by default.
|
|
38
|
-
*/
|
|
39
|
-
TS_SELENIUM_RESOLUTION_HEIGHT: number;
|
|
40
|
-
/**
|
|
41
|
-
* Default ammount of tries, "5" by default.
|
|
42
|
-
*/
|
|
43
|
-
TS_SELENIUM_DEFAULT_ATTEMPTS: number;
|
|
44
|
-
/**
|
|
45
|
-
* Default delay in milliseconds between tries, "1000" by default.
|
|
46
|
-
*/
|
|
47
|
-
TS_SELENIUM_DEFAULT_POLLING: number;
|
|
48
|
-
/**
|
|
49
|
-
* Amount of tries for checking workspace status.
|
|
50
|
-
*/
|
|
51
|
-
TS_SELENIUM_WORKSPACE_STATUS_ATTEMPTS: number;
|
|
52
|
-
/**
|
|
53
|
-
* Delay in milliseconds between checking workspace status tries.
|
|
54
|
-
*/
|
|
55
|
-
TS_SELENIUM_WORKSPACE_STATUS_POLLING: number;
|
|
56
|
-
/**
|
|
57
|
-
* Amount of tries for checking plugin precence.
|
|
58
|
-
*/
|
|
59
|
-
TS_SELENIUM_PLUGIN_PRECENCE_ATTEMPTS: number;
|
|
60
|
-
/**
|
|
61
|
-
* Name of workspace created for 'Happy Path' scenario validation.
|
|
62
|
-
*/
|
|
63
|
-
TS_SELENIUM_HAPPY_PATH_WORKSPACE_NAME: string;
|
|
64
|
-
/**
|
|
65
|
-
* Using 'single-host' strategy, "false" by default.
|
|
66
|
-
*/
|
|
67
|
-
TS_SELENIUM_SINGLE_HOST: boolean;
|
|
68
|
-
/**
|
|
69
|
-
* Value of OpenShift oAuth property determines how to login in installed application,
|
|
70
|
-
* if 'false' as an user of application, if 'true' as a regular user of OCP.
|
|
71
|
-
*/
|
|
72
|
-
TS_SELENIUM_VALUE_OPENSHIFT_OAUTH: string;
|
|
73
|
-
/**
|
|
74
|
-
* Username used to log in MultiUser Che.
|
|
75
|
-
*/
|
|
76
|
-
TS_SELENIUM_USERNAME: string;
|
|
77
|
-
/**
|
|
78
|
-
* Password used to log in MultiUser Che.
|
|
79
|
-
*/
|
|
80
|
-
TS_SELENIUM_PASSWORD: string;
|
|
81
|
-
/**
|
|
82
|
-
* Log into OCP by using appropriate provider title.
|
|
83
|
-
*/
|
|
84
|
-
TS_OCP_LOGIN_PAGE_PROVIDER_TITLE: string;
|
|
85
|
-
/**
|
|
86
|
-
* Path to folder with load tests execution report.
|
|
87
|
-
*/
|
|
88
|
-
TS_SELENIUM_LOAD_TEST_REPORT_FOLDER: string;
|
|
89
|
-
/**
|
|
90
|
-
* Regular username used to login in OCP.
|
|
91
|
-
*/
|
|
92
|
-
TS_SELENIUM_OCP_USERNAME: string;
|
|
93
|
-
/**
|
|
94
|
-
* Password regular user used to login in OCP.
|
|
95
|
-
*/
|
|
96
|
-
TS_SELENIUM_OCP_PASSWORD: string;
|
|
97
|
-
/**
|
|
98
|
-
* Email of regular user OpenShift to login CHE.
|
|
99
|
-
*/
|
|
100
|
-
TS_SELENIUM_EMAIL_USER: string;
|
|
101
|
-
/**
|
|
102
|
-
* First name of regular user OpenShift to login CHE.
|
|
103
|
-
*/
|
|
104
|
-
TS_SELENIUM_FIRST_NAME: string;
|
|
105
|
-
/**
|
|
106
|
-
* Last name of regular user Openshift to login CHE.
|
|
107
|
-
*/
|
|
108
|
-
TS_SELENIUM_LAST_NAME: string;
|
|
109
|
-
/**
|
|
110
|
-
* Delay between screenshots catching in the milliseconds for the execution screencast.
|
|
111
|
-
*/
|
|
112
|
-
TS_SELENIUM_DELAY_BETWEEN_SCREENSHOTS: number;
|
|
113
|
-
/**
|
|
114
|
-
* Path to folder with tests execution report.
|
|
115
|
-
*/
|
|
116
|
-
TS_SELENIUM_REPORT_FOLDER: string;
|
|
117
|
-
/**
|
|
118
|
-
* Enable or disable storing of execution screencast, "false" by default.
|
|
119
|
-
*/
|
|
120
|
-
TS_SELENIUM_EXECUTION_SCREENCAST: boolean;
|
|
121
|
-
/**
|
|
122
|
-
* Delete screencast after execution if all tests passed, "true" by default.
|
|
123
|
-
*/
|
|
124
|
-
DELETE_SCREENCAST_IF_TEST_PASS: boolean;
|
|
125
|
-
/**
|
|
126
|
-
* Remote driver URL.
|
|
127
|
-
*/
|
|
128
|
-
TS_SELENIUM_REMOTE_DRIVER_URL: string;
|
|
129
|
-
/**
|
|
130
|
-
* Stop and remove workspace if a test fails.
|
|
131
|
-
*/
|
|
132
|
-
DELETE_WORKSPACE_ON_FAILED_TEST: boolean;
|
|
133
|
-
/**
|
|
134
|
-
* Log level settings, possible variants: 'INFO' (by default), 'DEBUG', 'TRACE'.
|
|
135
|
-
*/
|
|
136
|
-
TS_SELENIUM_LOG_LEVEL: string;
|
|
137
|
-
/**
|
|
138
|
-
* Enable Axios request interceptor, false by default
|
|
139
|
-
*/
|
|
140
|
-
TS_SELENIUM_REQUEST_INTERCEPTOR: boolean;
|
|
141
|
-
/**
|
|
142
|
-
* Enable Axios response interceptor, false by default
|
|
143
|
-
*/
|
|
144
|
-
TS_SELENIUM_RESPONSE_INTERCEPTOR: boolean;
|
|
145
|
-
/**
|
|
146
|
-
* Running test suite - possible variants can be found in package.json scripts part.
|
|
147
|
-
*/
|
|
148
|
-
TEST_SUITE: string;
|
|
149
|
-
/**
|
|
150
|
-
* The repo (with README.md in root) and access token are needed for to run test-git-ssh
|
|
151
|
-
*/
|
|
152
|
-
TS_GITHUB_TEST_REPO: string;
|
|
153
|
-
/**
|
|
154
|
-
* Token for a github repository with permissions which allow add the ssh keys
|
|
155
|
-
*/
|
|
156
|
-
TS_GITHUB_TEST_REPO_ACCESS_TOKEN: string;
|
|
157
|
-
/**
|
|
158
|
-
* Username of the github account
|
|
159
|
-
*/
|
|
160
|
-
TS_GITHUB_USERNAME: string;
|
|
161
|
-
/**
|
|
162
|
-
* Password of the github account
|
|
163
|
-
*/
|
|
164
|
-
TS_GITHUB_PASSWORD: string;
|
|
165
|
-
/**
|
|
166
|
-
* Login for a user whom has been created in the test Openshift cluster. Need for Openshift connector test
|
|
167
|
-
*/
|
|
168
|
-
TS_TEST_OPENSHIFT_PLUGIN_USERNAME: string;
|
|
169
|
-
/**
|
|
170
|
-
* Password for a user whom has been created in the test Openshift cluster. Need for Openshift connector test
|
|
171
|
-
*/
|
|
172
|
-
TS_TEST_OPENSHIFT_PLUGIN_PASSWORD: string;
|
|
173
|
-
/**
|
|
174
|
-
* The name of project in the Openshift plugin tree
|
|
175
|
-
*/
|
|
176
|
-
TS_TEST_OPENSHIFT_PLUGIN_PROJECT: string;
|
|
177
|
-
/**
|
|
178
|
-
* The name of the Openshift connector plugin component type
|
|
179
|
-
*/
|
|
180
|
-
TS_TEST_OPENSHIFT_PLUGIN_COMPONENT_TYPE: string;
|
|
181
|
-
/**
|
|
182
|
-
* The name of the Openshift connector plugin component version
|
|
183
|
-
*/
|
|
184
|
-
TS_TEST_OPENSHIFT_PLUGIN_COMPONENT_VERSION: string;
|
|
185
|
-
/**
|
|
186
|
-
* Print all timeout variables when tests launch, defaulte to false
|
|
187
|
-
*/
|
|
188
|
-
TS_SELENIUM_PRINT_TIMEOUT_VARIABLES: string | boolean;
|
|
189
|
-
/**
|
|
190
|
-
* URL of the workspace created by devworkspace-controller
|
|
191
|
-
*/
|
|
192
|
-
TS_SELENIUM_DEVWORKSPACE_URL: string | undefined;
|
|
193
|
-
/**
|
|
194
|
-
* This variable specifies that run test is used for load testing and that all artifacts will be sent to ftp client.
|
|
195
|
-
*/
|
|
196
|
-
TS_LOAD_TESTS: string;
|
|
197
|
-
/**
|
|
198
|
-
* This variable determines whether to delete the workspace after the test or leave the workspace running.
|
|
199
|
-
*/
|
|
200
|
-
TS_DELETE_PLUGINS_TEST_WORKSPACE: string;
|
|
201
|
-
/**
|
|
202
|
-
* URL of Gogs self-hosted Git server.
|
|
203
|
-
*/
|
|
204
|
-
TS_SELF_HOSTED_GIT_SERVER_URL: string;
|
|
205
|
-
};
|
|
206
|
-
//# sourceMappingURL=TestConstants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TestConstants.d.ts","sourceRoot":"","sources":["../TestConstants.ts"],"names":[],"mappings":"AAAA;;;;;;;;wEAQwE;AAWxE,eAAO,MAAM,aAAa;IACtB;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;;OAGG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;;OAGG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAIH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;CAEN,CAAC"}
|
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
/*********************************************************************
|
|
2
|
-
* Copyright (c) 2020 Red Hat, Inc.
|
|
3
|
-
*
|
|
4
|
-
* This program and the accompanying materials are made
|
|
5
|
-
* available under the terms of the Eclipse Public License 2.0
|
|
6
|
-
* which is available at https://www.eclipse.org/legal/epl-2.0/
|
|
7
|
-
*
|
|
8
|
-
* SPDX-License-Identifier: EPL-2.0
|
|
9
|
-
**********************************************************************/
|
|
10
|
-
export declare const TimeoutConstants: {
|
|
11
|
-
/**
|
|
12
|
-
* Wait between workspace started and IDE ready to be used, "20 000" by default.
|
|
13
|
-
*/
|
|
14
|
-
TS_IDE_LOAD_TIMEOUT: number;
|
|
15
|
-
/**
|
|
16
|
-
* Timeout in milliseconds waiting for workspace start, "360 000" by default.
|
|
17
|
-
*/
|
|
18
|
-
TS_SELENIUM_START_WORKSPACE_TIMEOUT: number;
|
|
19
|
-
/**
|
|
20
|
-
* Timeout in milliseconds waiting for page load, "20 000" by default.
|
|
21
|
-
*/
|
|
22
|
-
TS_SELENIUM_LOAD_PAGE_TIMEOUT: number;
|
|
23
|
-
/**
|
|
24
|
-
* Wait for loader absence, "60 000" by default.
|
|
25
|
-
*/
|
|
26
|
-
TS_WAIT_LOADER_ABSENCE_TIMEOUT: number;
|
|
27
|
-
/**
|
|
28
|
-
* Wait for loader absence, "60 000" by default.
|
|
29
|
-
*/
|
|
30
|
-
TS_WAIT_LOADER_PRESENCE_TIMEOUT: number;
|
|
31
|
-
/**
|
|
32
|
-
* Timeout waiting for URL, "5 000" by default.
|
|
33
|
-
*/
|
|
34
|
-
TS_WAIT_URL_TIMEOUT: number;
|
|
35
|
-
/**
|
|
36
|
-
* Common timeout for dashboard items, "5 000" by default
|
|
37
|
-
*/
|
|
38
|
-
TS_COMMON_DASHBOARD_WAIT_TIMEOUT: number;
|
|
39
|
-
/**
|
|
40
|
-
* Timeout for clicking on dashboard menu items, "2 000" by default
|
|
41
|
-
*/
|
|
42
|
-
TS_CLICK_DASHBOARD_ITEM_TIMEOUT: number;
|
|
43
|
-
/**
|
|
44
|
-
* Timeout for workspace stopped status, "30 000" by default
|
|
45
|
-
*/
|
|
46
|
-
TS_DASHBOARD_WORKSPACE_STOP_TIMEOUT: number;
|
|
47
|
-
/**
|
|
48
|
-
* Timeout in milliseconds waiting for language server initialization, "180 000" by default.
|
|
49
|
-
*/
|
|
50
|
-
TS_SELENIUM_LANGUAGE_SERVER_START_TIMEOUT: number;
|
|
51
|
-
/**
|
|
52
|
-
* Timeout for suggestion invoking, "60 000" by default.
|
|
53
|
-
*/
|
|
54
|
-
TS_SUGGESTION_TIMEOUT: number;
|
|
55
|
-
/**
|
|
56
|
-
* Timeout for error highlighting presence, "90 000" by default
|
|
57
|
-
*/
|
|
58
|
-
TS_ERROR_HIGHLIGHTING_TIMEOUT: number;
|
|
59
|
-
/**
|
|
60
|
-
* Wait for IDE showing project tree tab, "60 000" by default.
|
|
61
|
-
*/
|
|
62
|
-
TS_PROJECT_TREE_TIMEOUT: number;
|
|
63
|
-
/**
|
|
64
|
-
* Click on item timeout (project tree), "10 000" by default.
|
|
65
|
-
*/
|
|
66
|
-
TS_PROJECT_TREE_CLICK_ON_ITEM_TIMEOUT: number;
|
|
67
|
-
/**
|
|
68
|
-
* Expand item in project tree, "5 000" by default.
|
|
69
|
-
*/
|
|
70
|
-
TS_EXPAND_PROJECT_TREE_ITEM_TIMEOUT: number;
|
|
71
|
-
/**
|
|
72
|
-
* Timeout for waiting workspace sample import, 50_000 by default.
|
|
73
|
-
*/
|
|
74
|
-
TS_IMPORT_PROJECT_DEFAULT_POLLING: number;
|
|
75
|
-
/**
|
|
76
|
-
* Timeout for inetractions with editor tab - wait, click, select, "5 000" by default.
|
|
77
|
-
*/
|
|
78
|
-
TS_EDITOR_TAB_INTERACTION_TIMEOUT: number;
|
|
79
|
-
/**
|
|
80
|
-
* Wait for file to be opened in editor, "30 000" by default.
|
|
81
|
-
*/
|
|
82
|
-
TS_OPEN_EDITOR_TIMEOUT: number;
|
|
83
|
-
/**
|
|
84
|
-
* Wait for suggestion container closure, "3 000" by default.
|
|
85
|
-
*/
|
|
86
|
-
TS_CLOSE_SUGGESTION_CONTAINER_TIMEOUT: number;
|
|
87
|
-
/**
|
|
88
|
-
* Timeout for context menu manipulation, "10 000" by default
|
|
89
|
-
*/
|
|
90
|
-
TS_CONTEXT_MENU_TIMEOUT: number;
|
|
91
|
-
/**
|
|
92
|
-
* Timeout for interactions with Notification center - open, close, "10 000" by default.
|
|
93
|
-
*/
|
|
94
|
-
TS_NOTIFICATION_CENTER_TIMEOUT: number;
|
|
95
|
-
/**
|
|
96
|
-
* Timeout for debugger to connect, "60 000" by default
|
|
97
|
-
*/
|
|
98
|
-
TS_DEBUGGER_CONNECTION_TIMEOUT: number;
|
|
99
|
-
/**
|
|
100
|
-
* Timeout for waiting visibility of the debug configuration.
|
|
101
|
-
*/
|
|
102
|
-
TS_DEBUGGER_CONFIGURATION_VISIBILITY_TIMEOUT: number;
|
|
103
|
-
/**
|
|
104
|
-
* Timeout for context menu manipulation, "10 000" by default
|
|
105
|
-
*/
|
|
106
|
-
TS_DIALOG_WINDOW_DEFAULT_TIMEOUT: number;
|
|
107
|
-
/**
|
|
108
|
-
* Timeout for breakpoint interactions, "20 000" by default
|
|
109
|
-
*/
|
|
110
|
-
TS_BREAKPOINT_DEFAULT_TIMEOUT: number;
|
|
111
|
-
/**
|
|
112
|
-
* Timeout for interactions with Git Plugin container, "20 000" by default
|
|
113
|
-
*/
|
|
114
|
-
TS_GIT_CONAINER_INTERACTION_TIMEOUT: number;
|
|
115
|
-
/**
|
|
116
|
-
* Timeout for toolbars interaction, "30 000" by default
|
|
117
|
-
*/
|
|
118
|
-
TS_SELENIUM_TOOLBAR_TIMEOUT: number;
|
|
119
|
-
/**
|
|
120
|
-
* Timeout for clicking on visible item, "5 000" by default
|
|
121
|
-
*/
|
|
122
|
-
TS_SELENIUM_CLICK_ON_VISIBLE_ITEM: number;
|
|
123
|
-
/**
|
|
124
|
-
* Timeout for OpenDialogWidget class, "5 000" by default
|
|
125
|
-
*/
|
|
126
|
-
TS_SELENIUM_DIALOG_WIDGET_TIMEOUT: number;
|
|
127
|
-
/**
|
|
128
|
-
* Default timeout for interaction with terminal, "3 000" by default
|
|
129
|
-
*/
|
|
130
|
-
TS_SELENIUM_TERMINAL_DEFAULT_TIMEOUT: number;
|
|
131
|
-
/**
|
|
132
|
-
* Default timeout for preview widget, "10 000" by default
|
|
133
|
-
*/
|
|
134
|
-
TS_SELENIUM_PREVIEW_WIDGET_DEFAULT_TIMEOUT: number;
|
|
135
|
-
/**
|
|
136
|
-
* Timeout for opening quick menu from top panel, "10 000" by default
|
|
137
|
-
*/
|
|
138
|
-
TS_SELENIUM_TOP_MENU_QUICK_CONTAINER_TIMEOUT: number;
|
|
139
|
-
/**
|
|
140
|
-
* Timeout waiting for url, "10 000" by default
|
|
141
|
-
*/
|
|
142
|
-
TS_SELENIUM_WAIT_FOR_URL: number;
|
|
143
|
-
/**
|
|
144
|
-
* Timeout waiting for an executed task to finish, waiting stops automatically if any exit code notification is present, "300 000" by default
|
|
145
|
-
*/
|
|
146
|
-
TS_SELENIUM_WAIT_TASK_EXIT_CODE_TIMEOUT: number;
|
|
147
|
-
/**
|
|
148
|
-
* Timeout waiting for end of the animation, "5000" by default.
|
|
149
|
-
*/
|
|
150
|
-
TS_SELENIUM_ANIMATION_END_DELAY: number;
|
|
151
|
-
/**
|
|
152
|
-
* Timeout for obtaining cluster IP, "10 000" by default.
|
|
153
|
-
*/
|
|
154
|
-
TS_GET_CLUSTER_IP_TIMEOUT: number;
|
|
155
|
-
/**
|
|
156
|
-
* Timeout for waiting fr openshift connector tree, "10 000" by default.
|
|
157
|
-
*/
|
|
158
|
-
TS_WAIT_OPENSHIFT_CONNECTOR_TREE_TIMEOUT: number;
|
|
159
|
-
/**
|
|
160
|
-
* Common timeout for plugins.
|
|
161
|
-
*/
|
|
162
|
-
TS_COMMON_PLUGIN_TEST_TIMEOUT: number;
|
|
163
|
-
};
|
|
164
|
-
//# sourceMappingURL=TimeoutConstants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TimeoutConstants.d.ts","sourceRoot":"","sources":["../TimeoutConstants.ts"],"names":[],"mappings":"AAAA;;;;;;;;wEAQwE;AAExE,eAAO,MAAM,gBAAgB;IAGzB;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAIH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAKH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAMH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAKH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAMH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAMH;;OAEG;;IAGH;;OAEG;;IAKH;;OAEG;;CAGN,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/// <reference types="@types/mocha" />
|
|
2
|
-
/*********************************************************************
|
|
3
|
-
* Copyright (c) 2019 Red Hat, Inc.
|
|
4
|
-
*
|
|
5
|
-
* This program and the accompanying materials are made
|
|
6
|
-
* available under the terms of the Eclipse Public License 2.0
|
|
7
|
-
* which is available at https://www.eclipse.org/legal/epl-2.0/
|
|
8
|
-
*
|
|
9
|
-
* SPDX-License-Identifier: EPL-2.0
|
|
10
|
-
**********************************************************************/
|
|
11
|
-
import * as mocha from 'mocha';
|
|
12
|
-
declare class CheReporter extends mocha.reporters.Spec {
|
|
13
|
-
private static latestWorkspace;
|
|
14
|
-
static registerRunningWorkspace(workspaceName: string): void;
|
|
15
|
-
constructor(runner: mocha.Runner, options: mocha.MochaOptions);
|
|
16
|
-
}
|
|
17
|
-
export = CheReporter;
|
|
18
|
-
//# sourceMappingURL=CheReporter.d.ts.map
|