Merge lp:~macslow/unity8/fix-object-name-of-notification-ap-test into lp:unity8

Proposed by Mirco Müller
Status: Merged
Approved by: Michał Sawicz
Approved revision: 760
Merged at revision: 771
Proposed branch: lp:~macslow/unity8/fix-object-name-of-notification-ap-test
Merge into: lp:unity8
Diff against target: 12 lines (+1/-1)
1 file modified
tests/autopilot/unity8/shell/tests/test_notifications.py (+1/-1)
To merge this branch: bzr merge lp:~macslow/unity8/fix-object-name-of-notification-ap-test
Reviewer Review Type Date Requested Status
Albert Astals Cid (community) Approve
Michał Sawicz Approve
PS Jenkins bot (community) continuous-integration Needs Fixing
Andrea Cimitan Pending
Review via email: mp+210588@code.launchpad.net

Commit message

The snap-decision AP-test for "incoming call"-case used the wrong objectName "notification0". It has to be "notification1".

Description of the change

The snap-decision AP-test for "incoming call"-case used the wrong objectName "notification0", which ignores the PlaceHolder notification at the first position in the model.

 * Are there any related MPs required for this MP to build/function as expected? Please list.
Yes. lp:~macslow/unity-notifications/dont-ignore-placeholder needs to be merged to lp:unity-notifications first for this to work.

 * Did you perform an exploratory manual test run of your code change and any related functionality?
Yes.

 * If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
Not applicable.

 * If you changed the UI, has there been a design review?
Not applicable.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Continuous integration, rev:760
http://jenkins.qa.ubuntu.com/job/unity8-ci/2473/
Executed test runs:
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/3852
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty-touch/3437/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/1343
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/994
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/998
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/998/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/994
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/3378
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/3876
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/3876/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/3439
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/3439/artifact/work/output/*zip*/output.zip
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/5795/console
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/4713

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2473/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Michał Sawicz (saviq) wrote :

 * Did you perform an exploratory manual test run of the code change and any related functionality?
N/A

 * Did CI run pass? If not, please explain why.
No, needs the unity-notifications branch to land, tested locally.

review: Approve
Revision history for this message
Albert Astals Cid (aacid) wrote :

Looks good

review: Approve
Revision history for this message
Albert Astals Cid (aacid) wrote :

* Did you perform an exploratory manual test run of the code change and any related functionality?
Yes

* Did CI run pass? If not, please explain why.
Yes

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/autopilot/unity8/shell/tests/test_notifications.py'
2--- tests/autopilot/unity8/shell/tests/test_notifications.py 2014-02-23 01:28:40 +0000
3+++ tests/autopilot/unity8/shell/tests/test_notifications.py 2014-03-12 11:40:15 +0000
4@@ -194,7 +194,7 @@
5
6 notify_list = self._get_notifications_list()
7 get_notification = lambda: notify_list.wait_select_single(
8- 'Notification', objectName='notification0')
9+ 'Notification', objectName='notification1')
10 notification = get_notification()
11 self._assert_notification(notification, None, None, True, True, 1.0)
12 initial_height = notification.height

Subscribers

People subscribed via source and target branches