Closed Bug 952632 Opened 12 years ago Closed 8 years ago

Media playback play/pause lockscreen widget marionette test orange

Categories

(Testing Graveyard :: JSMarionette, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: gaye, Unassigned)

References

Details

1) media playback tests in lockscreen should play/pause from now playing widget: AssertionError: true == false at /home/travis/build/mozilla-b2g/gaia/apps/system/test/marionette/media_playback_test.js:130:20 at Object.Fakusic.runInApp (/home/travis/build/mozilla-b2g/gaia/apps/system/test/marionette/lib/fake_music.js:63:5) at /home/travis/build/mozilla-b2g/gaia/apps/system/test/marionette/media_playback_test.js:129:17 at Object.MediaPlayback.inLockscreen (/home/travis/build/mozilla-b2g/gaia/apps/system/test/marionette/lib/media_playback.js:178:5) at Context.<anonymous> (/home/travis/build/mozilla-b2g/gaia/apps/system/test/marionette/media_playback_test.js:120:35) at Test.Runnable.run (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runnable.js:211:32) at Runner.runTest (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:372:10) at /home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:448:12 at next (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:297:14) at /home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:307:7 at next (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:245:23) at Object._onImmediate (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:274:5) at processImmediate [as _immediateCallback] (timers.js:330:15)
Blocks: 952611
Flags: needinfo?(squibblyflabbetydoo)
Is this a recent test regression? I'm pretty sure this has always worked for me. Maybe there's a race condition happening though and we need to wait and poll the app instead of just doing: assert.equal(music.isPlaying, false);
Flags: needinfo?(squibblyflabbetydoo)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.