1,457
edits
Samuelsidler (talk | contribs) |
|||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<small>[[QA/Firefox3.1/TestPlan|« QA/Firefox3.1/TestPlan]]</small> | <small>[[QA/Firefox3.1/TestPlan|« QA/Firefox3.1/TestPlan]]</small> | ||
;Video and Audio Test Plan | |||
; | |||
= Overview = | = Overview = | ||
Line 15: | Line 12: | ||
* What must be done to ensure good coverage of the feature | * What must be done to ensure good coverage of the feature | ||
* What should be done to test around the area of the feature and its interoperability with other HTML content | * What should be done to test around the area of the feature and its interoperability with other HTML content | ||
* What might be done in a wonderful perfect world i.e. less important stuff that might get timeboxed | * What might be done in a wonderful perfect world i.e. less important stuff that might get timeboxed | ||
;Test Legend | ;Test Legend | ||
Line 43: | Line 40: | ||
| ? | | ? | ||
|- | |- | ||
| Test | | Test control toggle to determine if the controls appear and that the controls appear properly | ||
| | | A(M) | ||
| | | Done, test_controls.html | ||
|- | |||
| Test autoplay to ensure proper default and can be set to proper values | |||
| A(M) | |||
| Done, has bug (test_autoplay.html) | |||
|- | |- | ||
| Change the controls to something of our own creation | | Change the controls to something of our own creation | ||
Line 72: | Line 73: | ||
|- | |- | ||
| Test automatically removing controls from javascript - would this be a bug? | | Test automatically removing controls from javascript - would this be a bug? | ||
| | | A(M) | ||
| | | Done(test_bug448534.html) | ||
|- | |- | ||
| Use javascript events to override the volume control set by the user (should not be able to do this, I think, considering how much we hate the ads on tv that do this) | | Use javascript events to override the volume control set by the user (should not be able to do this, I think, considering how much we hate the ads on tv that do this) | ||
Line 105: | Line 106: | ||
| Ensure the poster setting works properly, that seek offsets can be used well. | | Ensure the poster setting works properly, that seek offsets can be used well. | ||
| ? | | ? | ||
| ? | | ? (Not yet implemented - [https://bugzilla.mozilla.org/show_bug.cgi?id=449156 #449156]) | ||
|- | |- | ||
| Ensure that save page as functionality works and downloads the video/audio as well as the HTML | | Ensure that save page as functionality works and downloads the video/audio as well as the HTML | ||
Line 114: | Line 115: | ||
| ? | | ? | ||
| ? | | ? | ||
|- | |||
| Test that currentTime returns currentTime inside the video | |||
| A(M) | |||
| Done, test_currentTime.html (only checks that it starts at 0) | |||
|- | |||
| Test duration of a video that is not buffered | |||
| A(m) | |||
| Done, tst_duration1.html | |||
|- | |||
| Test that ended event gets sent and currentTime set properly | |||
| A(M) | |||
| Done, test_ended1.html | |||
|- | |||
| Test that ended event gets sent and currentTime set properly for buffered video | |||
| A(M) | |||
| Done, test_ended1.html | |||
|- | |||
| Test that playback can be restarted | |||
| A(M) | |||
| Done, test_ended2.html | |||
|- | |||
| Should not be able to set networkState | |||
| A(M) | |||
| Done, test_networkState.html | |||
|- | |||
| Test paused | |||
| A(M) | |||
| Done, test_paused.html | |||
|- | |||
| Test cannot set readyState | |||
| A(M) | |||
| Done, test_readyState.html | |||
|- | |||
| Test that volume setting works | |||
| A(M) | |||
| Done, tst_volume.html | |||
|} | |} | ||
Line 255: | Line 292: | ||
|- | |- | ||
|} | |} | ||
== Manual Testing == | |||
* Litmus tests will be created for the front end controls of audio and video. | |||
** [https://litmus.mozilla.org/show_test.cgi?searchType=by_category&product_id=1&branch_id=26&testgroup_id=105&subgroup_id=1141 FFT section] | |||
** BFT section | |||
== NEEDED for Automated testing == | == NEEDED for Automated testing == | ||
Line 260: | Line 301: | ||
* what tests should be done using the various backend frameworks? How do you test that theora works on all platforms etc | * what tests should be done using the various backend frameworks? How do you test that theora works on all platforms etc | ||
* Ensure that we can automate interacting with the video by doing various JS things and then checking the states and attributes of the video both the constants and the actual attribute states. (in order to play to a certain time, for example) | * Ensure that we can automate interacting with the video by doing various JS things and then checking the states and attributes of the video both the constants and the actual attribute states. (in order to play to a certain time, for example) | ||
= Discovered Bugs = | = Discovered Bugs = | ||
Line 267: | Line 307: | ||
= Schedule Scoping = | = Schedule Scoping = | ||
* Probably 3 weeks to get all these tests written unless we timebox a significant portion of them | |||
= References = | = References = | ||
* [http://www.whatwg.org/specs/web-apps/current-work/#video WHATWG specification] | |||
* Something we should test in Litmus or Gristmill: {{bug|448630}} | |||
* Primary bug (everything else linked from here): {{bug|382267}} | |||
* [[Firefox3.1/Video_Security_Review|Security Review Notes]] |
edits