Commit Graph

48 Commits (fc2f76bc5c8a6146cdaca34eb2bb60ca8e30aaee)

Author SHA1 Message Date
Igor Vinokur a49befa056 CHE-8414: Fix selenium test according to new behaviour of JDT LS (#8734)
Signed-off-by: Igor Vinokur <ivinokur@redhat.com>
2018-10-17 15:05:02 +02:00
Roman Iuvshyn 63b389c2fe
RELEASE: Set next development version (#11434)
* RELEASE: Set next development version
2018-10-04 18:25:39 +03:00
Roman Iuvshyn ea410c3340
RELEASE: Set next development version (#11169) 2018-09-12 11:53:42 +03: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
Roman Iuvshyn d99b2ed73d
RELEASE: Set next development version (#10867)
* RELEASE: Set next development version
2018-08-22 12:06:38 +03:00
Roman Iuvshyn 60da580c92
RELEASE: Set next development version (#10603) 2018-08-02 12:38:48 +03:00
Mykhailo Kuznietsov 07263f1e30
Fix license header text (#10629) 2018-08-02 11:18:04 +03:00
Mykhailo Kuznietsov 15d23edc91
Update license to EPL 2.0 (#10531) 2018-07-31 11:24:36 +03:00
Dmytro Nochevnov 030f948b3e
Fix sequence of selenium test package execution (#10377)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-07-11 13:17:04 +03:00
Roman Iuvshyn 985d368f2d
RELEASE: Set next development version (#10345)
* RELEASE: Set next development version
2018-07-10 15:56:52 +03:00
Sergii Leshchenko fef7cc44e6
Fix scope of test dependencies (#10254) 2018-07-04 11:23:20 +03:00
Roman Iuvshyn d7e1c73cf8
RELEASE: Set next development version (#10110) 2018-06-19 17:24:50 +03:00
Maxim Musienko 70bcc8b336 Implement test for covering rollout update CHE with Recreate strategy (#10091)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-06-19 15:16:17 +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
Roman Iuvshyn 7231585f4b
RELEASE: Set next development version (#9862) 2018-05-30 12:01:54 +03:00
Roman Iuvshyn 6677e27a6b
RELEASE: Set next development version (#9669) 2018-05-11 10:27:31 +03:00
Roman Iuvshyn edb0e15e6f
RELEASE: Set next development version (#9473) 2018-04-18 08:31:24 +02: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
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
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
Roman Iuvshyn f50c2ebbf5
RELEASE: Set next development version (#8496) 2018-01-31 17:53:10 +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 78c2e5762a
Add ability to mark infrastructure-specific selenium tests (#8057) 2017-12-27 20:02:22 +02: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 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
Sergii Kabashniuk cea55a4741
Fix depdency issue. Reduce log lavel (#7626) 2017-11-29 15:22:44 +02:00
Sergii Kabashniuk 72720b35a0
Set up additional logger redirects (#7598) 2017-11-29 12:51:42 +02:00
Roman Iuvshyn 506210325a
RELEASE: set next dev version (#7523) 2017-11-23 12:50:56 +02:00
Dmytro Nochevnov 11d6ab0a5e
Housekeeping of selenium tests (#7427)
* Remove deprecated ide.driver() from selenium tests
* Fix static code analyzer warnings in selenium tests
* Add exclusions to license-maven-plugin to avoid useless warnings
2017-11-17 10:32:00 +00:00
Anatoliy Bazko 62611aee78
CHE-6846: Suspend breakpoint policy (#7347) 2017-11-16 07:13:43 +00:00
Roman Iuvshyn 19f5fd1f5a
RELEASE: Set next development version (#7112) 2017-10-31 16:46:30 +02:00
Dmytro Nochevnov a1e2562db2 Clean up svn reaources from selenium tests (#6883)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2017-10-21 10:25:29 +03:00
Sergii Kabashniuk f4cc97acce Set next version 6.0.0-M1-SNAPSHOT 2017-10-19 13:53:40 +03:00
Florent BENOIT 7a3bb3f5b7 Apply fixes to update maven plugins
- errorprone : ignore test methods that are using testxyz() pattern but are not annotated by @Test
- Remove  deprecated stuff (for example use descriptors/descriptor for maven-assembly plugin
- Remove unnecessary stubbing
- fix dependencies

Change-Id: I16f512fc3bfd542463d3b0d3c062f45ceb5ac6b2
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2017-10-17 21:44:00 +02:00
Florent BENOIT 9581a9bbef Move to mockito 2.10
Some changes are required like
 - anyString() --> nullable(String.class) for many tests as in fact we provide null values
 - add class for VerificationMode as there are more than one method now (can't use lambdas)
 - remove cast on ArgumentMatcher (now we can use lambdas as there is generics)
 - remove unecessary stubbing (mockito is now reporting un-needed stubs)

Change-Id: I69c7ccc86bc85a4401d5e33671229ae0ce560dbb
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2017-10-15 10:34:15 +02:00
Roman Iuvshyn abe3271908 RELEASE: Set next development version (#6692)
* RELEASE: Set next development version
2017-10-14 20:17:04 +03:00
Dmytro Nochevnov a2b4d732a5 Add ability to inject different webdrivers into the Entrance class (#6714)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2017-10-13 16:00:22 +02:00
Sergii Kabashniuk ee01b2998f Multi-user Eclipse Che (#6441)
Multi-user Eclipse Che (#6441)
#### How to run it.
```docker run -it -e CHE_MULTIUSER=true -e CHE_HOST=<your ip> -e CHE_KEYCLOAK_AUTH-SERVER-URL=http://<your ip>:5050/auth -v /var/run/docker.sock:/var/run/docker.sock -v ~/.che-multiuser:/data eclipse/che:nightly start --skip:pull --skip:nightly```
#### How to manage it
 - Keycloak configured with two realms. ```Master``` and ```che```. Also we have one user admin/admin in both realm. Admin user in master realm is  - super admin. 
-  Eclipse Che configured for che realm
- We enabled user registration in ```Che``` realm
#### Known limitation
 - swagger would not work. We need to upgrade a version. to support openid authentification https://github.com/eclipse/che/issues/6015
- It's working on local docker. We are going to provide scalable version based on OpenShift on next versions.
- Invitation of non-existent users to Eclipse Che organization https://github.com/eclipse/che/issues/6335
#### How to run it when it is in a branch


To run an multiuser Che version, the following steps are required after building the branch:
 - Rebuild init, cli and che images (in the given sequence). To do that, proceed to folder _dockerfiles/<image_name>_ and run _build.sh_
 - Run Che in a  usual way using cli, with additional parameters:  `-e CHE_MULTIUSER=true` and `--skip:pull --skip:nightly`  
   Full command example:
   `docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v /home/user/.che:/data -e CHE_MULTIUSER=true eclipse/che-cli:nightly start --skip:pull --skip:nightly`
 - MacOS users may need to edit _che.env_ file in the data folder, changing `CHE_HOST` and `CHE_KEYCLOAK_AUTH__SERVER__URL` values to their specific IP.
 
When start is succeeded, the following docker containers should be created:  
 - che, exposing 8080 port;
 - che_keycloak, exposing 5050 port;  
 - che_postgres, exposing 5432 port;
2017-10-06 17:27:27 +03:00
Dmytro Nochevnov e462678fb0 Add ability to create test workspaces for the non-default user (#6318)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2017-09-25 17:36:59 +03:00
Roman Iuvshyn 8e03d56bfb RELEASE: Set next development version (#6345) 2017-09-19 14:52:53 +03:00
Roman Iuvshyn 2850a74a11 RELEASE: Set next development version (#6067) 2017-08-23 11:11:34 +03:00
Anatoliy Bazko 3c9df76538 Add selenium tests (#5759)
* Add selenium tests
2017-08-22 11:24:25 +00:00