Commit Graph

723 Commits (70ebef71e3b749701fee52685d136dccd9563c2e)

Author SHA1 Message Date
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
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
Oleksii Kurinnyi f9a2c4bd33
CHE-5650: set fixed sorting order for prioritized stacks (#10760)
* CHE-5650: fix stacks' order after sorting

This fix sets fixed sorting order for some prioritized stacks. These
stacks are marked by a 'thumb-tack' icon.

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* fixup! CHE-5650: fix stacks' order after sorting

* fixup! fixup! CHE-5650: fix stacks' order after sorting
2018-08-16 17:03:23 +03:00
Sergey Skorik 8ca43d9852
Selenium: add info about known issue #9100 to CheckFactoryWithPerClickCreatePolicyTest and CheckFactoryWithMultiModuleTest tests 2018-08-16 14:29:10 +03:00
Dmytro Nochevnov c91f7bac2a
Fix formatting of CSharpFileEditingTest (#10797)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-08-16 09:52:04 +03:00
Maxim Musienko ea7d7c23e4
Add info about known issue #10789 to CSharpFileEditingTest (#10790)
* Add know issue in the CSharpFileEditingTest
2018-08-15 19:25:31 +03:00
Sergey Skorik d37d9b8cc6
Selenium: fix unstable selenium tests from dashboard and miscellaneous packages (#10786)
* move unstable WorkspacesListTest selenium test to CheOneThreadTestsSuite

* check that the Loader is closed after the Project Explorer is visibled

* add info about known issue in Refactor selenium page object
2018-08-15 17:04:28 +03:00
Oleksandr Andriienko dda4038a94
CHE-LIB-57: Update xterm.js to the version 3.3.0 (#10037)
* Use xterm.js 3.3.0, but with default styles.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Set terminal theme.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Configure font

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Activate custom key event handler.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Rework resize mehanizm.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Code clean up: remove focus timer - it was workaround for older xterm.js

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Fix cursor position after switch to another tabs.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Little optimization.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Fix format apply a bit docs.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Fix compilation.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Apply get Rendered text method for selenium tests.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Fix format.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Call IDE.TerminalContentProvider.getVisibleText() function when getting text from the terminal

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

* Update license header in FitAddonJso.java

* Update license header in TerminalThemeJso.java

* Fix formatting of CheTerminal.java

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

* Fix OpenInTerminalTest by taking into account the number of terminal tab

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

* Fix WorkingWithTerminalTest after renewal of version of xterm

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

* Fix WorkingWithSplitPanelTest after renewal of version of xterm

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

* Fix verification that mc is opened

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

* Adapt terminal related selenium tests to K8S infrastructure

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-08-15 13:19:51 +03:00
Sergey Skorik 1176dc873f
[Selenium] Fix expected number of process counter in CheckIntelligenceCommandFromToolbarTest selenium test (#10777) 2018-08-14 14:56:08 +00:00
Maxim Musienko 36f3b80aee
change steps in the tests according to new behavior for init the LS (#10771) 2018-08-14 16:46:50 +03:00
Maxim Musienko 324a7f627e
Change steps for increasing stability tests (#10736)
* change steps in the tests forc increase stability according to issue 10728
2018-08-14 10:50:33 +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
Igor Ohrimenko 22820bd24b
Selenium: Fix of unexpected fail of "OpenExternalLibraryFileAfterRefreshTest" selenium test (#10727) 2018-08-10 12:41:09 +03:00
Igor Ohrimenko 3000db3400
Selenium: Add catching of known #10713 issue to 'CheckIntelligenceCommandFromToolbarTest' selenium test 2018-08-10 12:36:31 +03:00
Sergey Skorik 6c7d9c48de
Selenium: fix unstable selenium tests from dashboard and miscellaneous packages (#10717) 2018-08-10 09:17:10 +00:00
Igor Ohrimenko e5779976ed
Selenium: Cover "Dashboard / Workspace Details / Projects" part of test plan by selenium test (#10691) 2018-08-09 10:42:43 +03:00
Dmytro Nochevnov 479a8238fd
Move organization related selenium tests into CheOneThreadTestsSuite.xml (#10707)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-08-08 19:30:10 +03: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 0a349dbc4c
Selenium: Increase stability of the "AddOrImportProjectFormTest" selenium test (#10686) 2018-08-07 12:46:39 +03:00
Igor Ohrimenko 558db0f6ec
Selenium: Increase stability of the "WorkspacesListTest" selenium test (#10681) 2018-08-07 11:54:18 +03:00
Sergey Skorik 1e7a37dd37
Selenium: cover Golang language server functionality by selenium test (#10625) 2018-08-06 14:00:13 +03:00
Igor Ohrimenko 0a84054d68
Selenium: Cover "Dashboard / Workspace Details / Overview" part of test plan by selenium test (#10661) 2018-08-06 12:53:24 +03:00