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
1=== modified file 'tests/autopilot/ubuntu_weather_app/tests/test_settings.py'
2--- tests/autopilot/ubuntu_weather_app/tests/test_settings.py 2013-07-06 13:58:58 +0000
3+++ tests/autopilot/ubuntu_weather_app/tests/test_settings.py 2013-07-16 19:46:26 +0000
4@@ -37,11 +37,11 @@
5
6 def _click_confirm(self):
7 """Clicks the confirm button"""
8- self.pointing_device.click_object(self.main_window.app.select_many('Button')[2])
9+ self.pointing_device.click_object(self.main_window.app.select_many('Button')[1])
10
11 def _click_cancel(self):
12 """Clicks the cancel button"""
13- self.pointing_device.click_object(self.main_window.app.select_many('Button')[1])
14+ self.pointing_device.click_object(self.main_window.app.select_many('Button')[0])
15
16 def _check_units(self, units):
17 """Checks selected units by values from the first location tab"""

Subscribers

People subscribed via source and target branches