Closed Bug 1181216 Opened 11 years ago Closed 8 years ago

Move tutorial video load/play testing to an integration test

Categories

(Firefox OS Graveyard :: Gaia::First Time Experience, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: sfoster, Unassigned)

References

Details

(Whiteboard: [systemsfe])

The tutorial_test.js tests the load/error logic in Tutorial by loading an actual HTML page with <video> element. In the context of a unit test, this may be better mocked so we can better isolate the Tutorial logic from the platform and timing-related issues in the test harness. We still want to assert on the tutorial's ability to handle media loading/decoding failure - but via fake error events. I propose a new marionette test that asserts the video(s) are actually loaded and play correctly. tutorial_test was disabled in bug 1181201. This change should also address bug 1108507.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.