Commit Graph

208 Commits (fc2f76bc5c8a6146cdaca34eb2bb60ca8e30aaee)

Author SHA1 Message Date
Igor Vinokur 2b60506d7a CHE-8466: Adapt selenium tests for using JDT LS (#8521)
Signed-off-by: Igor Vinokur <ivinokur@redhat.com>
2018-10-17 15:05:02 +02:00
Katka92 3e24ccbb46 Add abstraction for TestWorkspaceInjector. (#11586)
* Add abstraction for TestWorkspaceInjector.

Signed-off-by: kkanova <kkanova@redhat.com>

* Add abstract method getTestWorkspaceProvider()

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-10-17 08:26:10 +00:00
Igor Ohrimenko af18323916
[Selenium] Adapt the "TheiaBuildPluginTest" selenium test to changes in the top menu (#11595) 2018-10-11 18:32:01 +03:00
Dmytro Nochevnov 97c703c719
Store logs of test workspaces created by E2E tests from Dashboard (#11542)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-10-10 15:52:24 +00:00
Sergii Kabashniuk 65bd65e23b Upgrade to new dependency mockito-testng (#10647) 2018-10-10 13:58:33 +03:00
Roman Iuvshyn 63b389c2fe
RELEASE: Set next development version (#11434)
* RELEASE: Set next development version
2018-10-04 18:25:39 +03:00
Katka92 e6a2bd9264 Add custom timeout for AbstractTestWorkspaceServiceClient#waitStatus. (#11430)
Signed-off-by: kkanova <kkanova@redhat.com>
2018-10-02 16:47:33 +00:00
Maxim Musienko 4d05e9cab0
Rework ConvertToProjectWithPomFileTest test for checking conversion folders to maven multimodule project (#11427)
Rework ConvertToProjectWithPomFileTest test for checking conversion folders to maven multimodule project
2018-10-02 18:07:28 +03:00
Aleksandr Shmaraiev e5ca2e8298 Selenium: Add new test method to the 'PullRequestPluginTest' (#11128)
* 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>
2018-10-01 16:21:33 +00:00
Dmytro Nochevnov 5edaec974f
Close 'Project Configuration' form when configure Che in Che (#11375)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-09-27 12:14:46 +00:00
Aleksandr Shmaraiev a75351cc28
Selenium: Update the 'ApacheCamelFileEditingTest' according to the test plan (#11347)
* Change the name of template workspace
* Change name and content template workspaces in the resources
* Update the 'ApacheCamelFileEditingTest' according to the test plan
2018-09-25 14:58:15 +00:00
Aleksandr Shmaraiev 6542cec8ba
Selenium: Update the 'GolangFileEditingTest' according to the test plan (#11312)
* 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
2018-09-25 09:31:20 +00:00
Maxim Musienko b5ceb99a73
Add selenium tests for covering advanced operations for C# LS (#11261)
* add test for covering advanced C# language server features
2018-09-20 15:28:58 +03:00
Igor Ohrimenko 7f65fe4424
[Selenium] Create method for performing specified functionality with ignoring provided exception (#11246) 2018-09-19 10:40:19 +03:00
Dmytro Nochevnov 1bbdee3010
Stores logs of test workspaces which do not have RUNNING status (#11233)
* 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>
2018-09-18 18:28:03 +03:00
Dmytro Nochevnov 10502cf92d
Do not skip selenium test which should run always (#11232)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-09-17 13:36:30 +03:00
Igor Ohrimenko 790457cca4
[Selenium] Create page object for "QuickOpenView" form (#11216) 2018-09-14 14:37:54 +03:00
Dmytro Nochevnov 98be356436
Close browser window after factory-related E2E tests finished (#11207)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-09-13 16:38:49 +03:00
Roman Iuvshyn ea410c3340
RELEASE: Set next development version (#11169) 2018-09-12 11:53:42 +03:00
Dmytro Nochevnov 15072aebbf
Add actual values of web element in SeleniumWebDriver error message (#11153)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-09-11 10:09:52 +00:00
Igor Ohrimenko a1eb95a671 Selenium: Add method to the "WaitUtils" class for waiting specified condition happens without using of "WebDriverWait" (#10576)
* 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>
2018-09-06 17:59:40 +00:00
Dmytro Nochevnov e37425a0ca
Update selenium chrome-node to 3.14.0 (#10869)
* 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>
2018-09-05 16:00:20 +00:00
Maxim Musienko 27075e5d26
Create new test for covering Refactoring ->Rename feature for DotNet LS (#11006)
* Implement test for checking renaming by Csharp language server test
2018-09-04 18:43:41 +03:00
Dmytro Nochevnov 38e7e90efd
Various changes of Eclipse Che selenium tests result handling (#11049)
* Attach screenshots and links into failsafe-report.html in alphabetical order

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>

* Prevent "Workspace with id 'null' doesn't exist" error

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>

* Do not treat SeleniumTestHandler error as test failure

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>

* Capture test result objects in case of configuration method error

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>

* Capture html dumps and logs from all opened windows

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>

* Add link to Che server logs into E2E test report

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>

* Add millis into test result resources files

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-09-04 14:42:32 +00:00
Maxim Musienko 703ba8d0fb
Add Open on GitHub feature with E2E test (#10971)
* Add Selenium test
2018-09-03 12:01:13 +03:00
Dmytro Nochevnov a70e621d40
Save all webdriver network logs with request URL starting from to ws:// (#11024)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-08-31 19:33:32 +03:00
Dmytro Nochevnov cc06caa501
Make E2E tests screenshots available in report on CI (#10939)
* Make E2E tests screenshots available in report on CI

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>

* Add links to htmldumps, webdriver and workspace logs into the failsafe-report.html

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>

* Fix style for screenshot displaying in the report

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-08-30 17:38:42 +03:00
Roman Iuvshyn d99b2ed73d
RELEASE: Set next development version (#10867)
* RELEASE: Set next development version
2018-08-22 12:06:38 +03:00
Dmytro Nochevnov 10aa0e2420
Filter test configuration methods which belong to improper groups (#10845)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-08-20 16:16:14 +03:00
Dmytro Nochevnov 449d884a38
Fix selenium test groups management (#10791)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-08-19 17:47:52 +03:00
Radim Hopp feb0065ab1 CHE_INFRASTRUCTURE and CHE_MULTIUSER vars can be now passed as system (#10801)
Signed-off-by: Radim Hopp <rhopp@redhat.com>
2018-08-16 17:26:19 +03:00
Dmytro Nochevnov c02b77e963
Add utility method to remove test github repos with certain prefix (#10752)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-08-13 17:44:12 +03:00
Dmytro Nochevnov 9b707dc0ae
Remove test github repo created by PullRequestPluginWithForkTest (#10741)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-08-10 15:06:46 +00:00
Sergey Skorik 6c7d9c48de
Selenium: fix unstable selenium tests from dashboard and miscellaneous packages (#10717) 2018-08-10 09:17:10 +00:00
Victor V. Rubezhny 57c43ac8cd Update fmt plugin to latest to enable skipping check #10554 (#10667)
The files are reformatted in order to suit the requirements of coveo maven fmt plug-in of v.2.5.1

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
2018-08-08 07:20:05 +00:00
Sergey Skorik 1e7a37dd37
Selenium: cover Golang language server functionality by selenium test (#10625) 2018-08-06 14:00:13 +03:00
Roman Iuvshyn 60da580c92
RELEASE: Set next development version (#10603) 2018-08-02 12:38:48 +03:00
Mykhailo Kuznietsov 07263f1e30
Fix license header text (#10629) 2018-08-02 11:18:04 +03:00
Igor Ohrimenko d28fdd46d2 Selenium: Fix selenium tests after updating licenses headers (#10627)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-08-01 18:35:59 +03:00
Igor Ohrimenko 266b9161ba
Selenium: Fix logical mistakes in the "SeleniumWebDriverHelper" class methods (#10556) 2018-08-01 11:05:52 +03:00
Mykhailo Kuznietsov 15d23edc91
Update license to EPL 2.0 (#10531) 2018-07-31 11:24:36 +03:00
Igor Ohrimenko 84ea41e009
Selenium: Create "SeleniumWebDriverHelper#waitCondition(ExpectedCondition<Boolean> expectedCondition)" method for selenium tests (#10564) 2018-07-30 16:24:00 +03:00
Igor Ohrimenko f401b6e0aa
Selenium: Cover use cases of "Kubernetes/OpenShift machines are started sequentially" issue by selenium tests (#10541) 2018-07-27 11:27:20 +03:00
Sergey Skorik da843e3f51
Selenium: cover Yaml language server functionality by selenium test (#10525) 2018-07-25 15:07:43 +03:00
Max Shaposhnik 1471003ae4
Add exclusions mechanism into jwtproxy config builder & exlude liveness probes from auth 2018-07-24 18:18:26 +03:00
Sergey Skorik 43bed82860
Selenium: cover JSON language server functionality by selenium test (#10434) 2018-07-17 12:39:45 +00:00
Igor Ohrimenko 5eb240af0d
Selenium: Fix unexpected fail of "che-multiuser-master-ocp-oauth-test" and "che-multiuser-master-ocp-recreate-strategy-test" jobs (#10438) 2018-07-16 19:28:06 +03:00
Maxim Musienko fc91a438ba Add K8S infrastructure for selenium tests (#10384)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-07-13 17:38:10 +03:00
Sergey Skorik fd2ae02ef7
Selenium: cover Apache Camel language server functionality by selenium test (#10376) 2018-07-12 14:42:07 +00:00
Igor Ohrimenko 05b89fa3bd
Selenium: Create selenium test for covering issue #9620 "In case ws-agent stopped unexpectedly all editors should become in readonly mode or close them" (#10354) 2018-07-12 12:44:42 +03:00