Merge lp:~fazerlicourice/ubuntu-weather-app/add-test-switch-data-providers into lp:ubuntu-weather-app
| Status: | Needs review |
|---|---|
| Proposed branch: | lp:~fazerlicourice/ubuntu-weather-app/add-test-switch-data-providers |
| Merge into: | lp:ubuntu-weather-app |
| Diff against target: |
333 lines (+173/-10) 6 files modified
AUTHORS (+2/-1) app/components/DayDelegateExtraInfo.qml (+2/-0) app/ui/settings/DataProviderPage.qml (+7/-1) debian/changelog (+3/-0) tests/autopilot/ubuntu_weather_app/__init__.py (+48/-2) tests/autopilot/ubuntu_weather_app/tests/test_settings_page.py (+111/-6) |
| To merge this branch: | bzr merge lp:~fazerlicourice/ubuntu-weather-app/add-test-switch-data-providers |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Andrew Hayzen | 2016-01-24 | Needs Fixing on 2016-03-08 | |
| Jenkins Bot | continuous-integration | Needs Fixing on 2016-02-20 | |
| Nicholas Skaggs | 2016-01-24 | Pending | |
|
Review via email:
|
|||
Commit Message
Added a test that confirms that the app correctly switches data providers.
Keys need to be present while testing for this to work.
Description of the Change
Added a test that confirms that the app correctly switches data providers.
Keys need to be present while testing for this to work.
| Nicholas Skaggs (nskaggs) wrote : | # |
| Andrew Hayzen (ahayzen) wrote : | # |
Looks good so far, I've added quite a few comments let me know if any don't make sense.
- 216. By Vamshi Balanaga <email address hidden> on 2016-01-31
-
made requested changes.
| Vamshi Balanaga (fazerlicourice) wrote : | # |
I'm unable to revert a file. I did bzr revert CMakeLists.txt.user but it didn't work.
- 217. By Vamshi Balanaga <email address hidden> on 2016-01-31
-
merged from ubuntu weather app and fixed conflicts
| Nicholas Skaggs (nskaggs) wrote : | # |
Are we happy with this now?
| Andrew Hayzen (ahayzen) wrote : | # |
Not yet, some issues still stand.
@fazer, try passing -r with the revision to go back to with the bzr revert command, or if that doesn't work I can have a look into other ways to revert it.
FAILED: Continuous integration, rev:217
No commit message was specified in the merge proposal. Click on the following link and set the commit message (if you want a jenkins rebuild you need to trigger it yourself):
https:/
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
| Vamshi Balanaga (fazerlicourice) wrote : | # |
How do I trigger a re-build of Jenkins? Or is that something only you can do?
FAILED: Continuous integration, rev:220
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
| Nicholas Skaggs (nskaggs) wrote : | # |
How is this coming along? Do we feel this test is possible using qmltestrunner instead of autopilot?
- 221. By Vamshi Balanaga <email address hidden> on 2016-02-20
-
merged upstream
FAILED: Continuous integration, rev:220
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
FAILED: Continuous integration, rev:221
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
| Andrew Hayzen (ahayzen) wrote : | # |
Sorry for the very long review time.
This failed with
Traceback (most recent call last):
File "/tmp/adt-
self.
File "/tmp/adt-
self.
AttributeError: 'TestSettingsPage' object has no attribute 'data_provider_
Seems you either need todo the click_back() before the self._check_
Also you might want to merge with trunk as your other MP landed, so there could be conflicts.
| Vamshi Balanaga (fazerlicourice) wrote : | # |
Alright, will get on it as soon as possible, busy time at school.
| Vamshi Balanaga (fazerlicourice) wrote : | # |
Is there an irc channel for the weather app? If I need to run some stuff by someone else?
Also, I keep gettign an error that says I can't find any of List items in the settings page. I'm using this command:
self.wait_
listitem_title is a method parameter.( http://
| Andrew Hayzen (ahayzen) wrote : | # |
It looks like they should be a StandardListItem, check in Autopilot Vis to ensure they aren't another type and check that the test is actually on the correct page when trying to find the listitems.
There is an IRC channel for app development in general for Ubuntu, which is #ubuntu-app-devel, I and many others hang around in there :-) Further channels such as #ubuntu-autopilot #ubuntu-quality and #ubuntu-touch can be useful, for a full list refer to [0].
Let me know if you can't figure out the listitem issue.
Unmerged revisions
- 221. By Vamshi Balanaga <email address hidden> on 2016-02-20
-
merged upstream
- 220. By Vamshi Balanaga <email address hidden> on 2016-02-06
-
still attempting to revert the CMake file
- 219. By Vamshi Balanaga <email address hidden> on 2016-02-06
-
merged from master
- 218. By Vamshi Balanaga <email address hidden> on 2016-02-06
-
attempted to revert CMake.txt.user file
- 217. By Vamshi Balanaga <email address hidden> on 2016-01-31
-
merged from ubuntu weather app and fixed conflicts
- 216. By Vamshi Balanaga <email address hidden> on 2016-01-31
-
made requested changes.
- 215. By Vamshi Balanaga <email address hidden> on 2016-01-24
-
fixed pep8
- 214. By Vamshi Balanaga <email address hidden> on 2016-01-24
-
removed stuff
- 213. By Vamshi Balanaga <email address hidden> on 2016-01-24
-
removed code from seperate branch
- 212. By Vamshi Balanaga <email address hidden> on 2016-01-24
-
Added test to switch between data providers and verify that it executed correctly (LP: #1452489)


I won't probably be able to review this until tomorrow. However, you are correct in that you need a TWC key. The weather devs can explain it better than I.