Commit Graph

745 Commits (2545559c300956d0ec10d17543e4db98e7d0a07d)

Author SHA1 Message Date
Sergey Skorik 29aa846712
Selenium: add selenium tests that cover workspace creation from Theia and Node stacks to CheSuite test suite (#11183) 2018-09-13 06:25:35 +00:00
Roman Iuvshyn ea410c3340
RELEASE: Set next development version (#11169) 2018-09-12 11:53:42 +03:00
Dmytro Nochevnov 20c5d6ec65
Set stable version of selenium chrome-node 3.14.0-curium (#11165)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-09-11 16:41:20 +00:00
Igor Ohrimenko 2bfa0cb7e6
[Selenium] Update the "MachinesAsynchronousStartTest" selenium test according to the new expected behavior (#11167) 2018-09-11 16:45:47 +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
Vladyslav Zhukovskyi 73d38f7909 Use correct constant
Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
2018-09-11 11:15:51 +03:00
Maxim Musienko 37a7e2cd86
Add functional test for checking factory with skipFirstLevel parameter (#11104)
* Add functional test for checking factory with skipFirstLevel parameter
2018-09-11 10:08:06 +03:00
Vladyslav Zhukovskyi 1c0b3d1f13
Update create new project related selenium test (#11101)
### What does this PR do?
This changes proposal changes delay for test fail when create project wizard is not response. Also possible NPE is fixed.

Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>

### What issues does this PR fix or reference?
#10713 


#### Release Notes
N/A


#### Docs PR
N/A
2018-09-11 09:53:16 +03:00
Sergey Skorik 92efe02124
Selenium: update NewWorkspacePageTest selenium test according to the addition of new stacks (#11150) 2018-09-10 14:07:20 +00:00
Dmytro Nochevnov a4e741c6e0
Remove instructions to fork test repos (#11126)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-09-10 09:36:12 +00:00
Dmytro Nochevnov 00e1135c84
Apply WaitUtils.waitSuccessCondition() method to HotUpdateUtil (#11127)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-09-10 09:34:12 +00:00
Igor Ohrimenko 143715a433
[Selenium] Fix unexpected fail of "WorkspaceDetailsMachineActionsTest" selenium test on docker infrastructure (#11102) 2018-09-10 10:04:37 +03:00
Aleksandr Shmaraiev 3fe94f302f Fix selenium tests in 'git' package to increase reliability (#11125) 2018-09-08 21:40:41 +00:00
Sergey Skorik 29842f9191
Selenium: increase timeout for checking that Wizard form is closed (#11122) 2018-09-07 14:32:06 +00:00
Igor Ohrimenko 864de26af6
[ Selenium ] Fix unexpected fail of "CheckErrorsWarningsTabTest" selenium test (#11099) 2018-09-07 09:35:49 +03: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
Sergey Skorik e6e31a1f82
Selenium: check workspace creation from Java Theia stacks (#11079) 2018-09-05 16:25:52 +03:00
Aleksandr Shmaraiev e1aaf44fab
Correct the tests in the 'factory' package related to get rid from test repositories on GitHub (#11019)
* Add the 'quickstart' project to the resources
* Correct the tests in the 'factory' package related to get rid from test repositories on GitHub
2018-09-05 12:21:00 +03:00
Maxim Musienko 27f55d3f35
replace depricated images in configuration (#11051) 2018-09-05 10:31:04 +03: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
Sergey Skorik 70ebef71e3
Selenium: add info about known issues, fix unstable selenium tests (#11046) 2018-09-03 15:02:18 +00:00
Igor Ohrimenko e0397639fd
Selenium: Cover "Dashboard / Workspace Details / Machines" part of test plan by selenium test (#10739) 2018-09-03 12:33:09 +03:00
Maxim Musienko 703ba8d0fb
Add Open on GitHub feature with E2E test (#10971)
* Add Selenium test
2018-09-03 12:01:13 +03:00
Oleksandr Garagatyi 27bed82d5c
CHE-10561: Rework WS.NEXT flow to latest concept of plugin broker (#10740)
* Move wsnext flow in Kubernetes infra implementation

Now we need to start a broker and pass meta.yaml files to it.
Starting a broker is infra-specific stuff, so it has to be done
on the infra implementation side because we don't have a part
in the infra SPI that would allow us to start a broker.
Passing Meta files using InternalEnvironment object is more
invasive than passing only attributes. So, this commit applies
less invasive scheme.

* CHE-10202,10561: Add fetching of Che editor, plugins meta from the registry

Add fetching of Che editor ID from workspace attributes.
Add fetching of Che plugins IDs from workspace attributes.
Use colon sign for separating editor/plugin ID and version
instead of the slash.
Remove old Workspace.Next model objects.

* CHE-10561: Share WS.NEXT between k8s and OS infras

Use WS.NEXT in both k8s and OS infrastructure implementations.

* CHE-10561: fix fetching meta.yaml files from che-plugin-registry

* CHE-10561: Fix sidecar model serialization

Fixes the fact that some fields in workspace sidecar tooling model
POJOs were incorrectly named or required custom serialization of
fields.

* CHE-10561: Add listening of che-plugin-broker

Add code that allows listening for events from Che plugin broker.
An event might contain workspace tooling config as a result if the broker
finished successfully or error otherwise.

* CHE-10561: Add PluginBrokerManager to control broker lifecycle

Adds PluginBrokerManager that configures/starts/waits Che plugin
broker.

Remove unused code.
Remove notion of Workspace next.

* Align plugin registry property between different components

* Fix extra  path in che plugin registry URL

Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-09-03 08:57:32 +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
Vitalii Parfonov b31b13dc6b
Fix override and skip root behaviors (#11002)
* Fix override and skip root behaviors

Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
2018-08-31 16:05:19 +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
Igor Ohrimenko 9d8de8ce26
[Selenium] Fix of unexpected fail of " RollingUpdateStrategyWithWorkspacesStartStopTest" selenium test (#10967) 2018-08-29 13:35:37 +03:00
Igor Vinokur 090291b819
CHE-10850: Add notification about stop workspcae by idle timeout (#10892) 2018-08-28 12:07:41 +03:00
Sergey Skorik 2033807ae1
Selenium: fix locator for tooltips on New Workspace page, add info about #10728 known issue (#10925) 2018-08-27 12:21:57 +00:00
Dmytro Nochevnov b8deaf343b
Don't skip maven site plugin in selenium tests (#10896)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-08-26 18:42:01 +03:00
Aleksandr Shmaraiev dff1ef10ed Change the timeout to resolve dependencies in the 'ImportAndValidateEclipseCheProjectTest' 2018-08-23 18:07:56 +03:00
Aleksandr Shmaraiev bc68e569f3 Change the method to expand the project tree in the 'SplitEditorFeatureTest' 2018-08-23 17:52:58 +03:00
Sergey Skorik 8763128acb
Selenium: remove info about #10809 known issue in CheckIntelligenceCommandToolbarTest test (#10891) 2018-08-23 13:47:33 +00:00
Sergey Skorik b98f7dbc9f
Selenium: fix locator for hover popup (#10826) 2018-08-22 15:05:04 +00:00
Sergey Skorik 31babbd1bd
Selenium: add info about known issues, fix unstable selenium tests (#10877)
* add info about known #10674 issue to YamlFileEditingTest

* fix expected stacks order on New Workspace page in NewWorkspacePageTest selenium test

* wait that project is fully imported in CSharpFileEditingTest

* add info about known issue to CodenvyEditor page object

* change comment according to review
2018-08-22 14:46:59 +00:00
Maxim Musienko 5c1c08482c
Remove unnecessary Services class from all dependent tests for increasing stability (#10858)
* remove unnecessary Services class
2018-08-22 15:44:19 +03:00
Roman Iuvshyn d99b2ed73d
RELEASE: Set next development version (#10867)
* RELEASE: Set next development version
2018-08-22 12:06:38 +03:00
Igor Vinokur 349cbe094d
CHE-10360: Hide the 'From Archetype' field if parent folder with pom.xml is selected (#10718)
Hide the 'From Archetype' input field in the Maven project type wizard if 'Parent' witch contains pom.xml is selected in the import project Wizard due to the maven archetype generation plugin restrictions.
2018-08-22 09:34:11 +03:00
Dmytro Nochevnov f78caa2374
Stabilize selenium test UploadIntoProjectTest (#10871)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-08-21 18:42:35 +03:00
Dmytro Nochevnov 901dab191f
Adapt NewWorkspacePageTest to run against Eclipse Che on K8S (#10859)
* Fix NewWorkspacePageTest to test Eclipse Che on K8S

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

* Simplify NewWorkspacePageTest

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-08-20 20:17:48 +03:00
Sergey Skorik 70aed9e03c
Selenium: remove info about known issues, fix unstable tests (#10851) 2018-08-20 18:13:13 +03:00
Dmytro Nochevnov 170449f745
Fix WorkingWithTerminalTest not to depend on 'workspaceId' in CLI prompt (#10846)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-08-20 16:25:11 +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
Oleksii Kurinnyi ccf7171896
CHE-10121: fix behavior of "Create" factory button (#10778)
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
2018-08-17 14:50:34 +03:00
Katka92 3dfab95d73 New test case for rolling update (#10670)
* New test case for rolling update added. Changes made to be able to run with rh-che.

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

* Needless comments removed.

* Fix format of java files

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

* Fix license header

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

* Adapt rolling update command to run selenium tests on rh-che

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-08-17 10:08:07 +03:00
Sergey Skorik ead8ad4b79
Selenium: add info about known issue #10809 to CheckIntelligenceCommandFromToolbarTest selenium test (#10811) 2018-08-16 17:30:25 +03:00