SuccessChanges

Summary

  1. Solves several problems with the tests (details)
Commit 4703fbc188e60dbf452e43255138c3958963c5fd by Miguel Reboiro-Jato
Solves several problems with the tests
The event creation form includes a calendar component for selecting the
event date that was causing test execution blocks. This commit hides
this component by using a little trick (clicking in a previous component
and waiting a few milliseconds).
In addition, the usage of beans.xml and TestPrincipal in
JoinEventControllerTest was causing an unexpected behaviour, as the
Principal didn't returned "anonymous" when no user where logged. This
test case also had several implementation errors and the LoginPage
class, on which this test case depends, where inconsistent with the HTML
content of the login.xhtml page.
Finally, the EventsDatset has been refactorized to remove several unused
methods and to add the id to the events.
Despite this changes, there are several elements of this classes that
can be improved.
The file was removedjsf/src/test/java/es/uvigo/esei/dgss/letta/jsf/pages/IndexUiRepeat.java
The file was modifiedjsf/src/test/java/es/uvigo/esei/dgss/letta/jsf/ConfirmUserControllerTest.java
The file was modifieddomain/src/main/java/es/uvigo/esei/dgss/letta/domain/entities/Event.java
The file was addedjsf/src/test/java/es/uvigo/esei/dgss/letta/jsf/pages/EventsList.java
The file was modifiedjsf/src/test/java/es/uvigo/esei/dgss/letta/jsf/pages/IndexPage.java
The file was modifiedjsf/src/test/java/es/uvigo/esei/dgss/letta/jsf/JoinEventControllerTest.java
The file was modifiedjsf/src/test/java/es/uvigo/esei/dgss/letta/jsf/CreateEventControllerTest.java
The file was modifiedjsf/src/main/webapp/index.xhtml
The file was modifiedtests/src/main/java/es/uvigo/esei/dgss/letta/domain/entities/EventsDataset.java
The file was addedtests/src/main/resources/datasets/anne-joins-event-10.xml
The file was modifiedjsf/src/main/java/es/uvigo/esei/dgss/letta/jsf/CreateEventController.java
The file was modifiedjsf/src/test/java/es/uvigo/esei/dgss/letta/jsf/pages/CreateEventForm.java
The file was modifiedjsf/src/test/java/es/uvigo/esei/dgss/letta/jsf/LoginUserControllerTest.java