* Fix getting existed test workspace id
* Fix workspace name in CreateWorkspaceOnDashboardTest
* Remove error-prone command from LoginExistedUserWithOpenShiftOAuthTest
* Fix LoginNewUserWithOpenShiftOAuthTest selenium test
Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>
* Upgrade version of selenium chromenode to 3.141.59-dubnium
* Fix test timeouts to comply with new chrome-node version
* Fix NewWorkspacePageTest selenium test
* Fix ImportProjectFromGitHubTest, AuthorizeOnGithubFromDashboardTest
Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>
Allows running Che 7 workspace without any user environment but with Che 7 tooling set.
Workspace without environment has an empty list of environments and null value in `defaultEnv` field.
Field `activeEnv` is supposed to be `null` too.
What is changed:
- Migration of DB
- make defaultEnv nullable
- remove env_name from runtimes primary key
- make env_name in runtimes nullable
- Make code respect the fact that there are workspaces with no env
- settings API that returns the list of supported environment types returns no-environment type that - indicates that infrastructure support workspace with no environment at all.
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
* Modified the injection framework to use String for the workspace template instead of the enum
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
* Add new test method 'createPullRequestToNonDefaultBranch' to the 'PullRequestPlaginTest'
* Add the method 'clickRefreshContributionBranchButton()' to the 'PullRequestPanel'
* Add the id selector to the web element in the 'ContributePartViewImpl'
* Delete the 'try/catch' from the 'PullRequestPluginWithForkTest' related to close the issue
* Read test pull request info by using kohsuke library
* Ensure 'Git Contribute' preference is set to default value after the test execution
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
* Change the name of template workspace
* Change name and content template workspaces in the resources
* Update the 'ApacheCamelFileEditingTest' according to the test plan
* Add new methods to the 'SeleniumWebDriverHelper'
* Add and chahge methods in the 'FindReferencesConsoleTab'
* Add and change methods in the 'AssistantFindPanel'
* Add new methods to the 'CodenvyEditor'
* Update the 'GolangFileEditingTest' according to the test plan
* Store logs of workspaces which do not have RUNNING status
* Handle exception when verifying condition in WaitUtils.waitSuccessCondition()
* Do not wait 6 minutes if start of test workspace failed
* Suppress displaying removing selenium containers ids
* Suppress warnings if it's impossible to get failed test workspace logs
* Get read of AbstractTestWorkspaceProvider; remake WorkspaceTemplate to enum
* Use single command to stop and remove selenium docker containers
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
* Initial commit
* Cleanup added code
* Remove redundant '@throws' points from javadoc
* Do changes according to review
* Do changes according to review
* Apply formating
* Do changes according to review
* Add ability to interrupt waiting process if current time more than specified
* Do changes according to review
* Remove unnecessary exception
* Refactoring and minor fixes. Add unit tests
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
* Update selenium chrome-node to 3.14.0
* Fix ContributeTabTest to close notification popup
* Stabilize getting list of git markers in selenium tests
* Fix attaching links to test report in case of tests successed
* Fix StaleElement exception when closing notification popup, and increase waiting on its closing
* Fix formatting
* Fix path to che_server_logs.zip
* Close all existed notification panels
* Fix DownloadProjectTest
* Fix CheckGeneratingMavenArchetypeTest
* Fix FindUsagesBaseOperationTest
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>