Merge lp:~brendan-donegan/mediaplayer-app/remove_scene_select_test into lp:mediaplayer-app

Proposed by Brendan Donegan
Status: Superseded
Proposed branch: lp:~brendan-donegan/mediaplayer-app/remove_scene_select_test
Merge into: lp:mediaplayer-app
Prerequisite: lp:~barry/mediaplayer-app/py3autopilot
Diff against target: 59 lines (+0/-49) (has conflicts)
1 file modified
tests/autopilot/mediaplayer_app/tests/test_player_with_video.py (+0/-49)
Text conflict in debian/changelog
To merge this branch: bzr merge lp:~brendan-donegan/mediaplayer-app/remove_scene_select_test
Reviewer Review Type Date Requested Status
Jim Hodapp (community) code Approve
PS Jenkins bot continuous-integration Needs Fixing
Leo Arias (community) Approve
Review via email: mp+227071@code.launchpad.net

This proposal supersedes a proposal from 2014-07-15.

This proposal has been superseded by a proposal from 2014-07-18.

Commit message

Remove scene selector tests as they are no longer valid

Description of the change

We remove the two scene selector tests because this feature is dropped.

To post a comment you must log in.
Revision history for this message
Leo Arias (elopio) : Posted in a previous version of this proposal
review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:239
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://code.launchpad.net/~brendan-donegan/mediaplayer-app/remove_scene_select_test/+merge/226863/+edit-commit-message

http://jenkins.qa.ubuntu.com/job/mediaplayer-app-ci/204/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-utopic-touch/2035
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-utopic/1706/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/mediaplayer-app-utopic-amd64-ci/12
    SUCCESS: http://jenkins.qa.ubuntu.com/job/mediaplayer-app-utopic-armhf-ci/12
        deb: http://jenkins.qa.ubuntu.com/job/mediaplayer-app-utopic-armhf-ci/12/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/mediaplayer-app-utopic-i386-ci/12
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-mako/2270
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-utopic-armhf/3163
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-utopic-armhf/3163/artifact/work/output/*zip*/output.zip
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/9890
    FAILURE: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-utopic/1430/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-utopic-amd64/1915
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-utopic-amd64/1915/artifact/work/output/*zip*/output.zip

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/mediaplayer-app-ci/204/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Leo Arias (elopio) wrote : Posted in a previous version of this proposal

crazy jenkins error. Running again.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:239
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://code.launchpad.net/~brendan-donegan/mediaplayer-app/remove_scene_select_test/+merge/226863/+edit-commit-message

http://jenkins.qa.ubuntu.com/job/mediaplayer-app-ci/206/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-utopic-touch/2043
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-utopic/1712
    SUCCESS: http://jenkins.qa.ubuntu.com/job/mediaplayer-app-utopic-amd64-ci/14
    SUCCESS: http://jenkins.qa.ubuntu.com/job/mediaplayer-app-utopic-armhf-ci/14
        deb: http://jenkins.qa.ubuntu.com/job/mediaplayer-app-utopic-armhf-ci/14/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/mediaplayer-app-utopic-i386-ci/14
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-mako/2276
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-utopic-armhf/3171
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-utopic-armhf/3171/artifact/work/output/*zip*/output.zip
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/9897
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-utopic/1435
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-utopic-amd64/1921
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-utopic-amd64/1921/artifact/work/output/*zip*/output.zip

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/mediaplayer-app-ci/206/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Leo Arias (elopio) wrote : Posted in a previous version of this proposal

The only error is the test that's skipped on the prerequisite.
This is good to go.
Brendan, please fill the MP submission checklist:
https://wiki.ubuntu.com/Process/Merges/Checklists/system-apps

review: Approve
Revision history for this message
Brendan Donegan (brendan-donegan) wrote : Posted in a previous version of this proposal

Are there any related MPs required for this MP to build/function as expected? Please list.

lp:~canonical-platform-qa/mediaplayer-app/fix1341956-test_no_video

Is your branch in sync with latest trunk (e.g. bzr pull lp:trunk -> no changes)

yes

Did you perform an exploratory manual test run of your code change and any related functionality on device or emulator?

no application functionality changed

Did you successfully run all tests found in your component's Test Plan (https://wiki.ubuntu.com/Process/Merges/TestPlan/<package-name>) on device or emulator?

no, application not changed

If you changed the UI, was the change specified/approved by design?

ui not changed

If you changed the packaging (debian), did you add a core-dev as a reviewer to this MP?

packaging not changed

Revision history for this message
Jim Hodapp (jhodapp) wrote : Posted in a previous version of this proposal

Looks good.

review: Approve (code)
Revision history for this message
Leo Arias (elopio) wrote :

Just a new resubmit to avoid the conflict with Barry's branch.

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Continuous integration, rev:240
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://code.launchpad.net/~brendan-donegan/mediaplayer-app/remove_scene_select_test/+merge/227071/+edit-commit-message

http://jenkins.qa.ubuntu.com/job/mediaplayer-app-ci/210/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-utopic-touch/2098
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-utopic/1758
    SUCCESS: http://jenkins.qa.ubuntu.com/job/mediaplayer-app-utopic-amd64-ci/18
    SUCCESS: http://jenkins.qa.ubuntu.com/job/mediaplayer-app-utopic-armhf-ci/18
        deb: http://jenkins.qa.ubuntu.com/job/mediaplayer-app-utopic-armhf-ci/18/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/mediaplayer-app-utopic-i386-ci/18
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-mako/2326
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-utopic-armhf/3236
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-utopic-armhf/3236/artifact/work/output/*zip*/output.zip
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/9964
    SUCCESS: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-utopic/1477
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-utopic-amd64/1968
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-utopic-amd64/1968/artifact/work/output/*zip*/output.zip

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/mediaplayer-app-ci/210/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Jim Hodapp (jhodapp) :
review: Approve (code)

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/autopilot/mediaplayer_app/tests/test_player_with_video.py'
2--- tests/autopilot/mediaplayer_app/tests/test_player_with_video.py 2014-07-16 16:52:40 +0000
3+++ tests/autopilot/mediaplayer_app/tests/test_player_with_video.py 2014-07-16 16:52:40 +0000
4@@ -69,55 +69,6 @@
5 self.assertProperty(player, playing=True, paused=False)
6 self.assertProperty(playback_button, icon="pause")
7
8- @skip("New backend work needed. bug 1231147")
9- def test_scene_selector_visibility(self):
10- self.show_controls()
11- self.pause_video()
12-
13- scene_selector = self.main_window.get_scene_selector()
14- slider = self.main_window.get_slider()
15-
16- # Default state is hide
17- self.assertProperty(scene_selector, visible=False)
18-
19- # Scene selector must apper when clicking int the slider handler
20- self.pointing_device.click_object(slider)
21- self.assertProperty(scene_selector, visible=True)
22-
23- # click again must dismiss the scene selector
24- self.pointing_device.click()
25- self.assertProperty(scene_selector, visible=False)
26-
27- @skip("fails on touch and is not reliable on different screen resolutions. bug 1183245")
28- def test_scene_selector_operation(self):
29- self.show_controls()
30- self.pause_video()
31-
32- slider = self.main_window.get_slider()
33- time_line = self.main_window.get_timeline()
34- selector = self.main_window.get_scene_selector()
35- self.assertThat(selector.count, Eventually(GreaterThan(3)))
36-
37- # Show scene selector
38- self.pointing_device.click_object(slider)
39-
40- # Make sure that the scenes are in correct place
41- scene_0 = self.main_window.get_scene_0()
42- selectorRect = selector.globalRect
43- self.pointing_device.drag(
44- selectorRect[0], selectorRect[1] + selectorRect[3] // 2,
45- selectorRect[0] + selectorRect[2],
46- selectorRect[1] + selectorRect[3] // 2)
47- self.assertThat(selector.moving, Eventually(Equals(False)))
48- self.assertThat(scene_0.x, Eventually(Equals(0)))
49-
50- # Click in the second scene
51- scene_2 = self.main_window.get_scene_2()
52- self.assertThat(scene_2.ready, Eventually(Equals(True)))
53- self.pointing_device.click_object(scene_2)
54- self.assertThat(selector.currentIndex, Eventually(Equals(2)))
55- self.assertProperty(time_line, value=1.107)
56-
57 @skipIf(model() in ('Nexus 4', 'Galaxy Nexus'),
58 'Screen width not enough for seekbar')
59 def test_time_display_behavior(self):

Subscribers

People subscribed via source and target branches