SuccessChanges

Summary

  1. Solves several problems with the tests (details)
  2. Increases the Graphene waiting times to 10 seconds (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 modifieddomain/src/main/java/es/uvigo/esei/dgss/letta/domain/entities/Event.java (diff)
The file was modifiedjsf/src/test/java/es/uvigo/esei/dgss/letta/jsf/pages/CreateEventForm.java (diff)
The file was modifiedjsf/src/main/webapp/index.xhtml (diff)
The file was modifiedjsf/src/test/java/es/uvigo/esei/dgss/letta/jsf/CreateEventControllerTest.java (diff)
The file was modifiedtests/src/main/java/es/uvigo/esei/dgss/letta/domain/entities/EventsDataset.java (diff)
The file was modifiedjsf/src/test/java/es/uvigo/esei/dgss/letta/jsf/pages/IndexPage.java (diff)
The file was modifiedjsf/src/test/java/es/uvigo/esei/dgss/letta/jsf/JoinEventControllerTest.java (diff)
The file was modifiedjsf/src/test/java/es/uvigo/esei/dgss/letta/jsf/LoginUserControllerTest.java (diff)
The file was removedjsf/src/test/java/es/uvigo/esei/dgss/letta/jsf/pages/IndexUiRepeat.java (diff)
The file was addedjsf/src/test/java/es/uvigo/esei/dgss/letta/jsf/pages/EventsList.java (diff)
The file was modifiedjsf/src/main/java/es/uvigo/esei/dgss/letta/jsf/CreateEventController.java (diff)
The file was addedtests/src/main/resources/datasets/anne-joins-event-10.xml (diff)
The file was modifiedjsf/src/test/java/es/uvigo/esei/dgss/letta/jsf/ConfirmUserControllerTest.java (diff)
Commit 68466c8407987814cbeff366005b1aa538e2a6f8 by Miguel Reboiro-Jato
Increases the Graphene waiting times to 10 seconds
This commit changes the default Arquillian configuration to increase the
waiting times for Graphene up to 10 seconds. Hopefully, this will avoid
false negative test results in slow computers.
The file was modifiedjsf/src/test/resources/arquillian.xml (diff)