Merge lp:~ubuntu-calendar-dev/ubuntu-calendar-app/add-tests-for-future-and-past-events into lp:ubuntu-calendar-app
Status: | Work in progress |
---|---|
Proposed branch: | lp:~ubuntu-calendar-dev/ubuntu-calendar-app/add-tests-for-future-and-past-events |
Merge into: | lp:ubuntu-calendar-app |
Diff against target: |
55 lines (+36/-3) 1 file modified
tests/autopilot/calendar_app/tests/test_new_event.py (+36/-3) |
To merge this branch: | bzr merge lp:~ubuntu-calendar-dev/ubuntu-calendar-app/add-tests-for-future-and-past-events |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mihir Soni | Needs Information | ||
Ubuntu Phone Apps Jenkins Bot | continuous-integration | Needs Fixing | |
Review via email: mp+232150@code.launchpad.net |
Commit message
Add tests for creating past and future events.
Description of the change
The changes in this branch add two autopilot tests to test adding events on dates in the past, and events in the future. Each test follows the following pattern:
1) Go to the DayView
2) Go forward* a day.
3) Add an event and assert that the add succeeded.
4) Go backward* a day, and then return to the day containing the added event.
5) Assert that the added event is still present. (This is mainly just a sanity check)
*The description shown is for adding future events. For the test responsible for exercising past-events, replace each occurrence of "forward" with "backward" and each occurrence of "backward" with "forward".
FAILED: Continuous integration, rev:417 91.189. 93.70:8080/ job/ubuntu- calendar- app-ci/ 714/ 91.189. 93.70:8080/ job/generic- mediumtests- utopic/ 1690 91.189. 93.70:8080/ job/generic- mediumtests- utopic/ 1690/artifact/ work/output/ *zip*/output. zip 91.189. 93.70:8080/ job/ubuntu- calendar- app-utopic- amd64-ci/ 272
http://
Executed test runs:
UNSTABLE: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: 91.189. 93.70:8080/ job/ubuntu- calendar- app-ci/ 714/rebuild
http://