Merge lp:~martin-borho/ubuntu-weather-app/fixed_settings_test into lp:ubuntu-weather-app/obsolete.trunk

Proposed by Martin Borho
Status: Merged
Approved by: David Planella
Approved revision: 68
Merged at revision: 69
Proposed branch: lp:~martin-borho/ubuntu-weather-app/fixed_settings_test
Merge into: lp:ubuntu-weather-app/obsolete.trunk
Diff against target: 17 lines (+2/-2)
1 file modified
tests/autopilot/ubuntu_weather_app/tests/test_settings.py (+2/-2)
To merge this branch: bzr merge lp:~martin-borho/ubuntu-weather-app/fixed_settings_test
Reviewer Review Type Date Requested Status
David Planella Approve
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Review via email: mp+175111@code.launchpad.net

Commit message

fix for broken settings test

Description of the change

Fix for broken settings sheet test. Order of buttons was changed.

To post a comment you must log in.
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
David Planella (dpm) wrote :

Looks good to me, good catch!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'tests/autopilot/ubuntu_weather_app/tests/test_settings.py'
--- tests/autopilot/ubuntu_weather_app/tests/test_settings.py 2013-07-06 13:58:58 +0000
+++ tests/autopilot/ubuntu_weather_app/tests/test_settings.py 2013-07-16 19:46:26 +0000
@@ -37,11 +37,11 @@
3737
38 def _click_confirm(self):38 def _click_confirm(self):
39 """Clicks the confirm button"""39 """Clicks the confirm button"""
40 self.pointing_device.click_object(self.main_window.app.select_many('Button')[2])40 self.pointing_device.click_object(self.main_window.app.select_many('Button')[1])
4141
42 def _click_cancel(self):42 def _click_cancel(self):
43 """Clicks the cancel button"""43 """Clicks the cancel button"""
44 self.pointing_device.click_object(self.main_window.app.select_many('Button')[1])44 self.pointing_device.click_object(self.main_window.app.select_many('Button')[0])
4545
46 def _check_units(self, units):46 def _check_units(self, units):
47 """Checks selected units by values from the first location tab"""47 """Checks selected units by values from the first location tab"""

Subscribers

People subscribed via source and target branches