Commit Graph

22 Commits (87f4e4c3c4b073ad88a658d367dff2304e8b0b2d)

Author SHA1 Message Date
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