Commit Graph

135 Commits (ddcdd552aa82fc55389ea7bcac32a6ee3689e00e)

Author SHA1 Message Date
Sergey Skorik 1e7a37dd37
Selenium: cover Golang language server functionality by selenium test (#10625) 2018-08-06 14:00:13 +03:00
Mykhailo Kuznietsov 07263f1e30
Fix license header text (#10629) 2018-08-02 11:18:04 +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
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
Aleksandr Shmaraiev 7d3393af1c
Selenium: Update the 'CreateFactoryTest' according to the test plan (#10353)
* Rework and add test methods to the 'CreateFactoryTest'
* Add and rework methods in the 'CreateFactoryPage' using the 'SeleniumWebDriverHelper'
* Add and rework methods in the 'DashboardFactories'
* Rework the 'selectResourceToUpload()' related to upload file to create factory on dashboard
* Add the method 'getHttpsTransportUrl()' to the 'TestGitHubRepository'
* Add the 'config-ws.json' file to the resources
2018-07-11 10:28:55 +03:00
Dmytro Nochevnov f7f0c860b4
Add selenium tests to cover the 'Upload Folder/File' feature with default options (#10332)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-07-09 17:51:43 +03:00
Igor Ohrimenko 77f0385f39
Selenium: Fix reason of failing the "RollingUpdateStrategyWithEditorTest" selenium test (#10269) 2018-07-05 16:20:49 +03:00
Tibor Dancs 09671a1b2b Creating selenium framework tests (abstraction for rh-che) (#10191)
* Prepairing upstream che for abstraction (rh-che tests)

Signed-off-by: Tibor Dancs <tdancs@redhat.com>

Modified TestWorkspaceProvider -> Abstraction, so that rh-che can override needed methods.

Modified TestWorkspaceServiceClient for rh-che tests extension

Abstracted TestWorkspaceServiceClient for RhChe implementation

Fixed inject issues

Signed-off-by: Tibor Dancs <tdancs@redhat.com>

Modified required abstractions, using interfaces instead of implementations of the interface (e.g. DefaultTestUser)

Modified TestWorkspaceProvider -> Abstraction, so that rh-che can override needed methods.

Fixed inject issues

Signed-off-by: Tibor Dancs <tdancs@redhat.com>

* Fixing abstraction, added interface for TestWorkspaceServiceClient

* Reverting test class imports to interfaces

* Fix installing of TestWorkspaceServiceClientFactory

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

* removed redundant bind

* Get rid of grouping of static imports in CreateWorkspaceFromBlankStackTest

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-07-04 12:03:09 +03:00
Sergey Skorik 3066a81515
Selenium: cover workspace creation from Java stack by selenium test (#10214) 2018-07-03 13:13:09 +03:00
Sergey Skorik 3c09d1420d
Selenium: cover Python language server format feature by selenium test (#10149) 2018-06-22 13:28:42 +00:00
Igor Ohrimenko 4ce5a6fe59
Selenium: Revise and update "Dashboard" selenium tests in "Workspaces" section ("Workspace List" and "New Workspace" pages). (#9997) 2018-06-19 18:06:44 +03:00
Dmytro Nochevnov f5ce200109
Extract OpenShiftCliCommandExecutor in selenium tests (#10033)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-06-14 14:28:45 +03:00
Dmytro Nochevnov 02b306267e
Add option not to start test workspaces after creation (#10022)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-06-13 11:22:36 +03:00
Dmytro Nochevnov 6871267220
Fix comment to comply requirements (#10023)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-06-13 08:54:42 +03:00
Dmytro Nochevnov c4749c29d1
Don't trim stack trace and capture skipped selenium test results (#10015)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-06-12 16:39:06 +03:00
Dmytro Nochevnov e75fbce93f
Create selenium test user in Eclipse Che on OCP remotely (#9982)
* Add KeycloakCommandExecutor to create test user in selenium tests
* Create test user in Eclipse Che on OCP which is run remotely
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-06-12 12:48:43 +03:00
Aleksandr Shmaraiev cc587dd8e9
Selenium: Create the 'ContributeTabTest' (#9974)
* Rewrite methods using the 'SeleniumWebDriverHelper' in the page object 'PullRequestPanel'
* Add the method 'clickOnMaximizeButton()' to the page object 'ProjectExplorer'
* Add the constant 'CONTRIBUTE_TOOL_WIDOWS' to the 'TestMenuCommandsConstants' 
* Add the methods to the 'SeleniumWebDriverHelper'
* Add the methods to the 'Preferences'
* Create selenium test 'ContributeTabTest'
* Add the selenium test to the 'CheSuite.xml'
2018-06-12 06:43:10 +00:00
Aleksandr Shmaraiev fc7c08cbc1 Selenium: delete the 'try/catch' from the 'TestWorkspaceImpl' according to close issue #9556 2018-06-01 13:29:23 +00:00
Igor Ohrimenko d7dd793425
Selenium: Rework "NewWorkspace" selenium page object by "SeleniumWebDriverHelper" class (#9812) 2018-05-29 21:54:55 +03:00
Sergey Skorik a94b29a99c
Selenium: cover Python LS functionality by selenium test (#9759) 2018-05-25 09:28:50 +03:00
Aleksandr Shmaraiev 7a956e9e2e Rework the 'ImportProjectFromZipTest' to add test repo on Github using the 'kohsuke GitHub' library 2018-05-22 13:01:55 +00:00
Dmytro Nochevnov a5a324c550
Fix AskDialog page object of selenium tests (#9745)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-05-18 17:49:42 +03:00
Dmytro Nochevnov 6fb37b9439
End-To-End tests of download project/directory/file feature (#9724)
* Remove redundant @Test(priority) from DeleteProjectsTest
* Get rid of SeleniumWebDriver#wait() method
* Add DownloadProjectTest
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-05-17 18:21:12 +03:00
Aleksandr Shmaraiev 7644be4204 Replace the known issue in the 'try/catch' block 2018-05-11 10:29:33 +03:00
Sergey Skorik a3472a9f2c
Selenium: cover the Stacks list by selenium test (#9601) 2018-05-08 14:13:23 +03:00
Dmytro Nochevnov 495b0a75f7
Skip selenium tests which depends on failed tests (#9622)
* Skip selenium tests which depends on failed tests
* Don't store testing data of skipped selenium tests
* Remove redundant @Test(priority) attributes from selenium tests
* Add comment in README.md
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-05-07 18:27:24 +02:00
Aleksandr Shmaraiev a161186289
Selenium: Rework the 'GitCompareTest' by use the 'kohsuke Github' library (#9524)
* Rework the 'GitCompareTest'
* Rework the methods in the 'GitCompare'
* Add two methods to the 'SeleniumWebDriverHelper'
2018-04-27 17:55:51 +03:00
Dmytro Nochevnov 7184cf712b
Rework organization-related tests to be executed in multi-thread mode (#9532)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-04-25 16:29:33 +03:00
Maxim Musienko 6d33172414
Add GitResetTest for covering git soft/mixed/hard reset feature (#9471)
* Add new test for covering git reset feature
2018-04-25 09:55:08 +03:00
Sergey Skorik 781dc5848a
Selenium: adapt dashboard selenium tests for OSIO (#9448) 2018-04-23 13:58:27 +03:00
Dmytro Nochevnov 9cdbaf0c32
Fix handling of outdated local Chrome version when create selenium web driver (#9514)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-04-23 11:41:31 +03:00
Igor Ohrimenko 9e39a09221
Selenium: Add catching issue #9456 (#9457) 2018-04-17 13:08:07 +03:00
Dmytro Nochevnov d879c3faf2
Move test user creating from selenium tests launcher to framework (#9357)
* Treat  user as a constant
* Avoid error because of outdated auth token of test user
* Create test user from selenium framework
* Add test user providers
* Remove test user injection from DashboardAccount page object
* Fix check up on Che launch location on OpenShift
* Fix injection of test user credentials
* Fix check if Che is run locally
* Remove TestUser on selenium tests PreDestroy phase

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-04-16 17:52:19 +02:00
Igor Ohrimenko 53ef953e96
Selenium: Create one test from "ImportRecursiveSubmoduleTest", "ImportProjectIntoSpecifiedBranchTest", and "KeepDirectoryGitImportTest" selenium tests (#9372) 2018-04-13 12:44:11 +03:00
Sergey Skorik 9469163a32
Selenium: fix selenium tests that create workspaces from Dashboard (#9375)
* SeleniumWebDriverHelper and WebDriverWaitFactory moved to org.eclipse.che.selenium.core
2018-04-11 16:53:36 +03:00
Aleksandr Shmaraiev 67403c05c1
Selenium: Rework the 'CheckoutReferenceTest' to run in the multi-thread mode
* Rework the 'CheckoutReferenceTest' to run in the multi-threaded mode
* Rework methods in the 'TestGitHubRepository'
* Rework methods in the 'GitHistory' using the 'SeleniumWebDriverHelper'
* Move the 'CheckoutReferenceTest' to the 'CheSuite.xml'
* Use the 'kohsuke Github' library
2018-04-11 13:17:34 +03:00
Maxim Musienko e16b5c7037
Improve and rework the PushingChangesTest using kohsuke library (#9328)
* remove extra imports and add steps for creating and importing test repo
2018-04-10 12:10:10 +03:00
Dmytro Nochevnov 9dbfcbebd3
Fix GitHub optional properties binding to selenium tests (#9337)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-04-05 10:33:48 +02:00
Dmytro Nochevnov a42e873648
Add auxiliary test github user repository (#9308) 2018-04-02 10:55:47 +02:00
Maxim Musienko 8697a5ee1d
Add the test for checking inactive workspace (#9171)
* Add the test for checking activity  workspaces
2018-03-29 00:49:52 +03:00
Aleksandr Shmaraiev f172ec246a
Selenium: Rework the 'CheckoutToRemoteBranchTest' to use the 'kohsuke github' library (#9228)
* Add the method 'addRefFromMaster()' to the 'TestGitHubRepository'
* Rework selenium test 'CheckoutToRemoteBranchTest' 
* Incapsulate the methods 'deleteFileOnGitHub()' and changeContentOnGitHub()' in the 'TestGitHubRepository'
* Use the 'kohsuke GitHub' library
2018-03-28 14:54:16 +00:00
Sergey Skorik f832c4591f
Selenium: fix switching to IDE frame from Dashboard (#9239) 2018-03-26 11:20:53 +03:00