Merge lp://qastaging/~om26er/ubuntu-system-settings/add_ringtone_test into lp://qastaging/ubuntu-system-settings
- add_ringtone_test
- Merge into trunk
Status: | Superseded |
---|---|
Proposed branch: | lp://qastaging/~om26er/ubuntu-system-settings/add_ringtone_test |
Merge into: | lp://qastaging/ubuntu-system-settings |
Diff against target: |
419 lines (+252/-8) (has conflicts) 8 files modified
plugins/sound/PageComponent.qml (+1/-0) plugins/sound/SoundsList.qml (+7/-0) src/main.cpp (+2/-1) tests/autopilot/ubuntu_system_settings/__init__.py (+116/-6) tests/autopilot/ubuntu_system_settings/fixture_setup.py (+39/-0) tests/autopilot/ubuntu_system_settings/helpers.py (+37/-0) tests/autopilot/ubuntu_system_settings/tests/__init__.py (+7/-1) tests/autopilot/ubuntu_system_settings/tests/test_sound.py (+43/-0) Text conflict in plugins/sound/SoundsList.qml Text conflict in tests/autopilot/ubuntu_system_settings/__init__.py Text conflict in tests/autopilot/ubuntu_system_settings/tests/__init__.py Text conflict in tests/autopilot/ubuntu_system_settings/tests/test_sound.py |
To merge this branch: | bzr merge lp://qastaging/~om26er/ubuntu-system-settings/add_ringtone_test |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Leo Arias (community) | Needs Fixing | ||
PS Jenkins bot | continuous-integration | Needs Fixing | |
Sebastien Bacher (community) | Needs Fixing | ||
Review via email:
|
This proposal has been superseded by a proposal from 2014-07-25.
Commit message
adds test to ensure the ringtone can be changed
Description of the change
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Christopher Lee (veebers) wrote : | # |
Hi Omer, I'm just being very nosey. Is the sleep on diff line 130 required? Esp. if you're doing a wait_for just after that.
Looks nice and clean :-)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Omer Akram (om26er) wrote : | # |
> Hi Omer, I'm just being very nosey. Is the sleep on diff line 130 required?
> Esp. if you're doing a wait_for just after that.
>
> Looks nice and clean :-)
Thanks for the comment.
That sleep is required. When you open the ringtone settings page, initially the page is not moving but if the current selected ringtone is at the bottom of the list and not visible on screen, it automatically scrolls down. So we try to workaround that.
Ideally it would always show the selected ringtone at the center whenever the list is opened but currently its not doing that.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Omer Akram (om26er) wrote : | # |
> Just please rename this:
>
> + def ringtone_
>
> to:
>
> get_current_value
>
> Nice work, thanks!
Done!
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:713
http://
Executed test runs:
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:714
http://
Executed test runs:
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:715
http://
Executed test runs:
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:715
http://
Executed test runs:
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Sebastien Bacher (seb128) wrote : | # |
Thank you for your work, the approach seems fine, CI is unhappy it seems though, could you have a look to that?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Omer Akram (om26er) wrote : | # |
Not ready, just changed status for CI.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:716
http://
Executed test runs:
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
- 717. By Omer Akram
-
merge trunk
- 718. By Omer Akram
-
use upstart launch on touch devices to start settings app so that accountservice changes take place.
- 719. By Omer Akram
-
change ringtones to select
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:718
http://
Executed test runs:
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:719
http://
Executed test runs:
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
- 720. By Omer Akram
-
use upstart-app-launch to start test application to make app launching consistent and reliable
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:720
http://
Executed test runs:
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
- 721. By Omer Akram
-
revert last commit
- 722. By Omer Akram
-
run rintone tests on phone only, there are a lot of problems with accountsservice in otto
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:722
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
- 723. By Omer Akram
-
change ringtone to reproduce the bug
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:723
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 724. By Omer Akram
-
adapt for trunk
- 725. By Omer Akram
-
merge trunk
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:725
http://
Executed test runs:
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
- 726. By Omer Akram
-
remove repetition of objectName
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:726
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
- 727. By Omer Akram
-
merge trunk
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Sebastien Bacher (seb128) wrote : | # |
Should that be marked "work in progress"? The CI seems still unhappy there...
Note that https:/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:727
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Leo Arias (elopio) wrote : | # |
I've been able to make it work fixing some things.
First, one second is not enough. And then, it's safest if you also wait for the dragging property.
Instead of:
186 + sleep(1)
187 + list_view.
sleep(3)
list_view.
list_view.
Then, you will need this branch to land on the toolkit:
https:/
Please review it.
Now, it's really important to notice that the need for a sleep is a typical case of a UX bug. For some seconds, the page does nothing. Enough time for the user to start an action. And when the user is just about to click an element on the list or swipe it, the list is swiped by itself making the user click the wrong thing, or just wondering what caused the magic swipe.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Leo Arias (elopio) wrote : | # |
I reported that bug here: https:/
Please add a comment on the sleep with a reference to that bug.
- 728. By Omer Akram
-
change ringtone to select, get current ringonte by directly talking to dbus, wait a bit more for automoving list
- 729. By Omer Akram
-
add a fixture to backup ringtone before running the tests
Unmerged revisions
- 729. By Omer Akram
-
add a fixture to backup ringtone before running the tests
- 728. By Omer Akram
-
change ringtone to select, get current ringonte by directly talking to dbus, wait a bit more for automoving list
- 727. By Omer Akram
-
merge trunk
- 726. By Omer Akram
-
remove repetition of objectName
- 725. By Omer Akram
-
merge trunk
- 724. By Omer Akram
-
adapt for trunk
- 723. By Omer Akram
-
change ringtone to reproduce the bug
- 722. By Omer Akram
-
run rintone tests on phone only, there are a lot of problems with accountsservice in otto
- 721. By Omer Akram
-
revert last commit
- 720. By Omer Akram
-
use upstart-app-launch to start test application to make app launching consistent and reliable
Just please rename this:
+ def ringtone_ setting_ button_ current_ value(self) :
to:
get_current_value
Nice work, thanks!