Merge lp://staging/~canonical-platform-qa/ubuntu-system-tests/system_settings into lp://staging/ubuntu-system-tests

Proposed by Santiago Baldassin
Status: Work in progress
Proposed branch: lp://staging/~canonical-platform-qa/ubuntu-system-tests/system_settings
Merge into: lp://staging/ubuntu-system-tests
Prerequisite: lp://staging/~canonical-platform-qa/ubuntu-system-tests/use_app_helper_phase_one
Diff against target: 797 lines (+218/-176)
22 files modified
ubuntu_system_tests/helpers/application.py (+4/-0)
ubuntu_system_tests/helpers/dialer_app/fixture_setup.py (+10/-7)
ubuntu_system_tests/helpers/messaging/fixture_setup.py (+9/-6)
ubuntu_system_tests/helpers/system_settings/__init__.py (+21/-41)
ubuntu_system_tests/helpers/system_settings/_cpo.py (+2/-1)
ubuntu_system_tests/helpers/system_settings/app.py (+39/-38)
ubuntu_system_tests/helpers/system_settings/fixture_setup.py (+9/-5)
ubuntu_system_tests/helpers/system_settings/gsettings.py (+72/-0)
ubuntu_system_tests/helpers/system_settings/utils.py (+0/-13)
ubuntu_system_tests/helpers/unity8/settings_wizard.py (+0/-11)
ubuntu_system_tests/perftests/app_startup/test_app_startup.py (+2/-2)
ubuntu_system_tests/tests/base_messaging.py (+4/-8)
ubuntu_system_tests/tests/indicators/test_indicator_battery.py (+5/-3)
ubuntu_system_tests/tests/indicators/test_indicator_bluetooth.py (+3/-4)
ubuntu_system_tests/tests/indicators/test_indicator_datetime.py (+3/-4)
ubuntu_system_tests/tests/indicators/test_indicator_network.py (+6/-8)
ubuntu_system_tests/tests/indicators/test_indicator_sound.py (+3/-4)
ubuntu_system_tests/tests/test_about_this_phone.py (+4/-2)
ubuntu_system_tests/tests/test_messaging_sms.py (+3/-4)
ubuntu_system_tests/tests/test_rotation.py (+12/-8)
ubuntu_system_tests/tests/test_settings_wizard.py (+3/-4)
ubuntu_system_tests/tests/test_sim_pin.py (+4/-3)
To merge this branch: bzr merge lp://staging/~canonical-platform-qa/ubuntu-system-tests/system_settings
Reviewer Review Type Date Requested Status
platform-qa-bot continuous-integration Needs Fixing
Sergio Cazzolato Needs Fixing
Richard Huddie (community) Needs Fixing
prod-platform-qa continuous-integration Pending
Review via email: mp+303690@code.staging.launchpad.net

Commit message

Use the application helper for system settings

Description of the change

This mp includes a rewrite of the system settings app to start using the application helper.
Gsettings methods were moved to a separate module and re-written to remove duplicate code and to make it easier to absorb possible changes in the keys or in the schemas
All the tests using the system settings were updated

@run_tests: ubuntu_system_tests.tests.indicators.test_indicator_battery ubuntu_system_tests.tests.indicators.test_indicator_bluetooth ubuntu_system_tests.tests.indicators.test_indicator_datetime ubuntu_system_tests.tests.indicators.test_indicator_network.NetworkIndicatorTestCase ubuntu_system_tests.tests.indicators.test_indicator_sound.SoundIndicatorTestCase ubuntu_system_tests.tests.test_rotation

To post a comment you must log in.
Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Needs Fixing (continuous-integration)
426. By Santiago Baldassin

fixing import error

Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Needs Fixing (continuous-integration)
427. By Santiago Baldassin

restoring scopes.json

Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Needs Fixing (continuous-integration)
428. By Santiago Baldassin

Merge from trunk

Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Sergio Cazzolato (sergio-j-cazzolato) wrote :

I saw this error:

Traceback (most recent call last):
  File "/tmp/adt-run.SsLom4/build.jyX/real-tree/ubuntu_system_tests/tests/indicators/test_indicator_bluetooth.py", line 44, in test_bluetooth_settings_item_open_correct_page
    system_settings.is_settings_page_visible(BLUETOOTH_SETTINGS_PAGE)
AttributeError: 'SystemSettings' object has no attribute 'is_settings_page_visible'
}}}

review: Needs Fixing
429. By Santiago Baldassin

Merge from trunk

430. By Santiago Baldassin

Fixing tests after the merge

Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Sergio Cazzolato (sergio-j-cazzolato) wrote :

Tests passing, minor comments inline

review: Needs Fixing
Revision history for this message
Richard Huddie (rhuddie) wrote :

How does this mp fit with the one we discussed about moving static helpers from the app.py file to the utils.py file? https://code.launchpad.net/~canonical-platform-qa/ubuntu-system-tests/mv-app-helpers-to-utils/+merge/303817

The default sim settings on this mp are also outdated now, as the settings backend has been changed from gsettings to dbus.

review: Needs Fixing
431. By Santiago Baldassin

Merge from trunk

432. By Santiago Baldassin

Refactor after merge from trunk

433. By Santiago Baldassin

Merge from trunk

Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Needs Fixing (continuous-integration)
434. By Santiago Baldassin

More fixes

Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Needs Fixing (continuous-integration)
435. By Santiago Baldassin

restoring scopes.json

Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Sergio Cazzolato (sergio-j-cazzolato) wrote :

minor comments inline

review: Needs Fixing
Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Needs Fixing (continuous-integration)

Unmerged revisions

435. By Santiago Baldassin

restoring scopes.json

434. By Santiago Baldassin

More fixes

433. By Santiago Baldassin

Merge from trunk

432. By Santiago Baldassin

Refactor after merge from trunk

431. By Santiago Baldassin

Merge from trunk

430. By Santiago Baldassin

Fixing tests after the merge

429. By Santiago Baldassin

Merge from trunk

428. By Santiago Baldassin

Merge from trunk

427. By Santiago Baldassin

restoring scopes.json

426. By Santiago Baldassin

fixing import error

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: