Autopilot tests should use the object names for the settings values
Bug #1248648 reported by
Leo Arias
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Weather App |
Fix Released
|
Medium
|
Leo Arias |
Bug Description
On the settings screen, there are option selectors for changing the units.
On the autopilot tests, we were previously selecting the values in this selectors by index, and now we are using the text of the label. Both approaches are wrong, we should use object names.
Related branches
lp:~elopio/ubuntu-weather-app/fix1248648-options_object_names
- Martin Borho: Approve
- Chris Gagnon (community): Approve
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
- Ubuntu Weather Developers: Pending requested
-
Diff: 141 lines (+49/-15)2 files modifiedcomponents/SettingsSheet.qml (+38/-6)
tests/autopilot/ubuntu_weather_app/tests/test_settings.py (+11/-9)
Changed in ubuntu-weather-app: | |
importance: | Undecided → Medium |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:ubuntu-weather-app at revision 155, scheduled for release in ubuntu-weather-app, milestone alpha-1