Commit Graph

118 Commits (c19ccdcdee48d99437e15155612427417a638dcf)

Author SHA1 Message Date
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
Roman Iuvshyn e006334aad
RELEASE: Set next development version (#9268) 2018-03-28 10:58:30 +03:00
Sergey Skorik f832c4591f
Selenium: fix switching to IDE frame from Dashboard (#9239) 2018-03-26 11:20:53 +03:00
Dmytro Nochevnov 84c2533ad6
Improve interaction between selenium tests and GitHub (#9219)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-03-23 17:31:12 +02:00
Sergey Skorik 953781e2e3
Selenium: fix unstable selenium tests (#9205)
* don't check that workspace has STOPPING status before removing in DeleteRunningWorkspaceTest test;

* check that Project Explorer is visible before switching to IDE frame;

* don't check workspace STOPPING status before restarting it in CheckRestoringWorkspaceAfterStoppingWsAgentProcess.
2018-03-23 16:04:15 +02:00
Dmytro Nochevnov b319582885
Fix TestGitHubRepository formatting (#9153)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-03-20 19:31:46 +02:00
Dmytro Nochevnov f61a779dcd
Encapsulate kohsuke-related code and ensure test repo creation (#9141)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-03-20 18:15:48 +02:00
Sergey Skorik b1b8acd888
Selenium: check that the IDE is loaded before switching to IDE application frame (#9117) 2018-03-16 18:27:59 +02:00
Dmytro Nochevnov 14748dc483
Add ability to exclude github-specific selenium tests from test execution (#9069)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-03-14 11:31:22 +02:00
Roman Iuvshyn dbdac2a604
RELEASE: Set next development version (#9038) 2018-03-07 17:53:03 +07:00
Maxim Musienko d39ca3e80b Store webdriver console and network logs of failed tests (#8926)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-03-05 11:03:51 +00:00
Dmytro Nochevnov 389db1611c
Remove redundant import from the TestWorkspaceLogsReaderTest (#8894)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-02-23 12:54:31 +00:00
Dmytro Nochevnov f4b7ae5889
Print selenium test statistics in log during execution (#8883)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-02-23 10:40:56 +00:00
Dmytro Nochevnov be48da761b
Fix creation of test users for selenium testing (#8878)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-02-22 13:27:03 +00:00
Aleksandr Shmaraiev 78198a70cb Change the issue #8031 on the #8856 in the 'try/catch' in the 'TestWorkspaceImpl' 2018-02-21 18:59:44 +02:00
Sergey Skorik 50e180f649
Selenium: change method to get a number of root organizations (#8833) 2018-02-19 17:16:14 +02:00
Maxim Musienko e21ce7dd9e
Add information for clarifying reasons of failing tests from 'org.eclipse.che.selenium.factory' package (#8820) 2018-02-19 12:19:14 +02:00
Dmytro Nochevnov 05886de269
Save meaningful logs of failed tests workspaces in the target directory (#8803)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-02-16 09:54:58 +00:00
Roman Iuvshyn e2762411b3
RELEASE: Set next development version (#8773) 2018-02-14 15:00:52 +02:00
Igor Ohrimenko 18f95ac750
refactor methods in the TestProjectServiceClient (#8633) 2018-02-06 12:55:38 +02:00
Igor Ohrimenko e0c10fa14d
Selenium: Add ability to check project type and language, and get list of external libraries (#8577) 2018-02-05 18:03:59 +02:00
Sergey Skorik ad45ba9786 Selenium: adapt selenium test for testing workspace after workspace agent is shut down (#8567)
* changed test for checking when workspace agent is shut down
* check that workspace has STOPPING status before it starting
2018-02-01 17:27:36 +00:00
Roman Iuvshyn f50c2ebbf5
RELEASE: Set next development version (#8496) 2018-01-31 17:53:10 +02:00
Dmytro Nochevnov a6010e55cd
Renew URLs of CI servers to compare local selenium testing results (#8541)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-01-31 14:12:23 +00:00
Igor Ohrimenko 4baa9eaed4
Selenium: Add ability to catch Chrome browser`s console logs (#8502) 2018-01-31 15:45:58 +02:00
Dmytro Nochevnov ff0fd09273
Remove redundant check if webdriver session can be created (#8506)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-01-30 10:09:10 +02:00
Dmytro Nochevnov e7a5e977da
Avoid removal of non-test workspaces at the cleanup environment stage of selenium testing (#8481)
* Define default values of che offline tokens in selenium tests launcher
* Avoid removal of test from CheOneThreadTestsSuite.xml from running tests list
* Do not remove all workspaces of test user at shutdown step
* Restore removal ot test workspace in CheckSimpleGwtAppTest
* Restore removal of test workspaces after their startup were failed
* Move checkWebDriverSessionCreation() to the constructor of SeleniumTestHandler

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-01-26 17:40:35 +02:00
Dmytro Nochevnov 9d98828549
Remove stopping test workspace (#8427)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-01-24 11:07:42 +02:00
Igor Ohrimenko 4121cdcd7a
add stacktrase to the error log (#8409) 2018-01-23 11:46:18 +02:00
Dmytro Nochevnov 8919144ba6
Adapt selenium tests to work with openshift.io REST API (#8396)
* Read cliend_id from keycloak settings
* Authenticate on RH Che 6 server by using offline token
* Set offline token to be specific for test user
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-01-22 13:07:38 +00:00
Igor Ohrimenko 2c29925476
Add try/catch to the "TestWorkspaceServiceClient" for catching bug with "whitescreen" (#8353) 2018-01-19 14:22:08 +02:00
Dmytro Nochevnov 67f405236b
Add ability to add several tests users to selenium tests (#8342)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-01-18 17:17:54 +02:00
Mykhailo Kuznietsov 2c2bd6637c
Set new year in license headers (#8244) 2018-01-11 16:04:49 +02:00
Roman Iuvshyn 71704ab3a7
RELEASE: Set next development version (#8135) 2018-01-03 14:13:25 +02:00
Dmytro Nochevnov b78c2d93d4
Fix output message in selenium tests (#8103)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2017-12-29 13:48:05 +02:00
Dmytro Nochevnov 78c2e5762a
Add ability to mark infrastructure-specific selenium tests (#8057) 2017-12-27 20:02:22 +02:00
Roman Iuvshyn 98bc582ad6
fix keycloak containerID evaluation in webdriver.sh (#8054) 2017-12-27 11:06:44 +02:00
Maxim Musienko fdb717f529
Add screening from all opened webdriver windows (#8012)
* add screening from all opened webdriver windows
2017-12-22 17:14:18 +02:00
Dmytro Nochevnov a6efd2d986
Fix github-specific selenium tests after adding support of Identity brokering mechanism of Keycloak (#7999)
* Avoid redundant revoking of github token in selenium tests
* Fix clean up after github-related tests execution; remove ssh-key of github.com
* Remove test user which has been created by selenium tests launcher
2017-12-21 16:30:22 +02:00
Roman Iuvshyn 758d400e5f
Clean up after merge che6 to master (#7979) 2017-12-20 17:28:34 +02:00
Dmytro Nochevnov db70d737bf
Create test user at start of selenium tests execution (#7965)
* Create test user at start of selenium tests execution
* Rename 'CHE_SELENIUM_INFRASTRUCTURE' to 'CHE_INFRASTRUCTURE' in selenium tests
2017-12-20 12:50:24 +00:00
Roman Iuvshyn 5a6d3910b2
RELEASE: set next dev version (#7882) 2017-12-14 15:51:34 +02:00
Maxim Musienko 5886bd4831
Apply Kohsuke Github library for reduce extra operation and increase stability GitPull test (#7829)
* Apply GitHub library for the test
2017-12-14 07:58:18 +02:00
Dmytro Nochevnov 16d82d0c59
Adapt webdriver.sh to Multiuser Che; add ability to set rerun attempts (#7823)
* Move --multiuser parameter from selenium-test.sh to webdriver.sh
* Compare selenium testing results with multiuser CI job
* Differ 'CI job' from 'build' in terms of comparasion of test results
* Add an ability to set exact number of rerun of selenium tests
2017-12-12 18:20:39 +02:00
Aleksandr Shmaraiev 42101117a6 Add workspace templates into resources 2017-12-12 09:23:01 +02:00
Sergii Kabashniuk f9726f7bfa
Avoid NPE in case if resource is not found (#7694)
Avoid NPE in case if resource is not found (#7694)
2017-12-07 10:56:10 +02:00
Dmytro Nochevnov 4f8e34df87
Remove separation of selenium tests on stable/unstable/failed (#7750) 2017-12-06 15:46:17 +00:00
Dmytro Nochevnov 299291e140
Move clean up to the end of selenium test execution (#7734) 2017-12-05 16:30:18 +02:00
Dmytro Nochevnov acbbebeb35
Include Organization tests into acceptance tests into Multi User Che (#7657)
* Include Organization tests into acceptance tests execution on the Multiuser Che

Add IAnnotationTransformer to disable multiuser tests
Remove CheTestIsMultiuserProvider; move injection into constructor of SeleniumTestHandler
Run organization tests in single-thread mode
Add fails for the issues #7279, #2473
Fix TestOrganizationServiceClient::deleteAll(parent) method
Use 'InjectTestOrganization' to operate with selenium test organization
2017-12-04 10:45:24 +02:00