Commit Graph

236 Commits (5ac5e46ee2954fdff7a32fa5df2923e99744efb7)

Author SHA1 Message Date
Dmytro Nochevnov 431920538b
Make Keycloak CLI client for E2E test as extendable (#12325)
Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>
2019-01-03 21:01:23 +01:00
Dmytro Nochevnov 9536a5063e
Fix LoginNewUserWithOpenShiftOAuthTest selenium test (#12318)
* 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>
2018-12-29 22:40:00 +01:00
Dmytro Nochevnov af48cd877b
Upgrade version of selenium chrome-node to 3.141.59-dubnium (#12286)
* 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>
2018-12-28 20:55:28 +01:00
Sergey Skorik b5ee590b20
Selenium: fix existed selenium tests from 'factory' package according to factory creation changes (#12297) 2018-12-28 14:27:36 +02:00
Dmytro Nochevnov 10a8006af7
Exclude flaky selenium tests from execution by default (#12296)
* Exclude flaky selenium tests from execution by default

Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>

* Fix e2e selenium tests documentation

Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>

* Restore CreateWorkspaceFromNodeStackTest test

Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>
2018-12-28 11:50:49 +01:00
Roman Iuvshyn b872b317cb
RELEASE: Set next development version (#12277) 2018-12-26 13:04:51 +02:00
Dmytro Nochevnov 926d52f071
Handle selenium tests extension (#12221)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-12-19 12:20:11 +01:00
Roman Iuvshyn 45490d2a3b
RELEASE: Set next development version (#12115) 2018-12-05 18:33:02 +02:00
Igor Ohrimenko 6b0aa57837
[ Selenium ] Do minor fixing changes for stabilizing of "TheiaBuildPluginTest", "CreateNewJavaFilesTest", "DeletePackageTest" selenium tests (#12007) 2018-11-22 10:42:17 +02:00
Oleksandr Garagatyi aaa8f424cd
Make a workspace run without any user env (#11890)
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>
2018-11-21 16:39:54 +02:00
Igor Ohrimenko e36ad6aafc
[ Selenium ] Get rid of redundant methods in the "SeleniumWebDriverHelper" class (#11913) 2018-11-19 16:46:06 +02:00
Roman Iuvshyn 99afaef87f
RELEASE: Set next development version (#11930) 2018-11-14 12:29:03 +02:00
Dmytro Nochevnov 0e10d7ba00
Wait on test workspace removal before running next test (#11870)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-11-08 19:00:43 +02:00
Dmytro Nochevnov 562e105391
Get suite from 'target/test-classes/suite' directory (#11847)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-11-06 18:30:58 +02:00
Tibor Dancs 749f2cdb40 Modified the injection framework to use String for the workspace temp… (#11792)
* Modified the injection framework to use String for the workspace template instead of the enum

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-11-05 15:24:32 +02:00
Dmytro Nochevnov 11a20f1f69
Do not execute selenium tests under repair by default (#11689)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-11-02 14:37:22 +02:00
Igor Ohrimenko 904779be63
[Selenium] Create Selenium test covered "start Theia in hosted mode and test the plugin" (#11783) 2018-11-01 11:01:09 +02:00
Radim Hopp 3c5d00b8d3 Removing offline tokens support (OSIO specific). (#11704)
* Removing offline tokens support (OSIO specific).

Added logic for obtaining active token using login/pass auth.

Signed-off-by: Radim Hopp <rhopp@redhat.com>

* Fix formatting

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

* Removing AbstractCheSeleniumOpenShiftModule and renaming classes.

* Fixed injection errors on Docker/OpenShift multiuser

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-10-31 22:28:45 +02:00
Igor Ohrimenko f2688d94a2
[Selenium] Fix unexpected fails of "CheckBasicFunctionalityInCommandsExplorerTest", "CheckOnValidAndInvalidPackageNameTest" and "CheckShowHideHiddenFilesTest" selenium tests (#11723) 2018-10-24 18:07:42 +03:00
Roman Iuvshyn 365d25f275
RELEASE: Set next development version (#11710) 2018-10-24 16:38:03 +03:00
Igor Ohrimenko ce5603baf2
[Selenium] Rework selenium tests in the "preferences", "autocomplete", "projectexplorer", "dependencies", "editor" packages for adopting to branch changes (#11673) 2018-10-19 12:15:36 +03:00
Anatoliy Bazko 67cf472394 Fix selenium tests (#11100)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Anatoliy Bazko 837eed62ba Fix after rebasing
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Anatoliy Bazko 0c2c617654 Fix selenium tests (#11062)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Anatoliy Bazko 5444a67b0a Make tests stable in projectexplorer package (#10990)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Thomas Mäder ac1478eda0 Fix parent path handling when importing test projects (#10785)
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-10-17 15:05:02 +02:00
Thomas Mäder 50e7b622a0 Don't write to test codebase (#10765)
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-10-17 15:05:02 +02:00
Thomas Mäder c35e55ac65 Make sure dot-files don't exist before creating them. (#10389)
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-10-17 15:05:02 +02:00
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