Merge lp://qastaging/~nik90/ubuntu-clock-app/use-default-swipe-delete into lp://qastaging/ubuntu-clock-app/saucy
Status: | Merged |
---|---|
Approved by: | Nekhelesh Ramananthan |
Approved revision: | 262 |
Merged at revision: | 262 |
Proposed branch: | lp://qastaging/~nik90/ubuntu-clock-app/use-default-swipe-delete |
Merge into: | lp://qastaging/ubuntu-clock-app/saucy |
Diff against target: |
702 lines (+165/-309) 11 files modified
alarm/AlarmPage.qml (+1/-8) clock/ClockPage.qml (+4/-12) clock/WorldClock.qml (+1/-0) common/SwipeDelete.qml (+0/-67) stopwatch/LapList.qml (+4/-9) tests/autopilot/ubuntu_clock_app/emulators.py (+75/-75) tests/autopilot/ubuntu_clock_app/tests/test_alarm.py (+2/-0) tests/autopilot/ubuntu_clock_app/tests/test_clock.py (+35/-58) tests/autopilot/ubuntu_clock_app/tests/test_stopwatch.py (+2/-7) tests/autopilot/ubuntu_clock_app/tests/test_timer.py (+40/-65) timer/PresetList.qml (+1/-8) |
To merge this branch: | bzr merge lp://qastaging/~nik90/ubuntu-clock-app/use-default-swipe-delete |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Nicholas Skaggs (community) | Approve | ||
Ubuntu Phone Apps Jenkins Bot | continuous-integration | Approve | |
Ubuntu Clock Developers | Pending | ||
Review via email:
|
Commit message
Adds confirm to delete option to clock, alarm, timer and stopwatch. It also removes the custom swipe delete class since it is now provided by the SDK. Autopilot tests have been fixed, cleaned and ported to Autopilot 1.4. They also make more use of upstream UITK emulator functions.
Description of the change
This MP implements the following,
UI Change
- Adds confirm to delete option to clock, alarm, timer and stopwatch.
- It removes the custom swipe delete class since it is now provided by the SDK.
Autopilot Tests
- Ports clock app autopilot tests to 1.4 which results in less assert statements and other improvements.
- Emulator function and test cases clean up
- It also improves the testing logic of the delete_
2 Autopilot tests test_delete_
Another point worth noting is that the alarm test cases have not been ported to 1.4. However the alarm tests are skipped until the Alarm features matures and is more stable. This should happen in the upcoming weeks at which point the alarm test cases will also be updated.
Requesting nskaggs review of autopilot tests. Tests fail due to the upstream confirm_removal() function. Logs shown in http:// paste.ubuntu. com/6318817/. Consistent failure in other places as well.