Repository navigation
test(journeys): Interactive Video, as its script runs it (#314) - #322
Open
alekswebnet wants to merge 2 commits into
Open
alekswebnet wants to merge 2 commits into
alekswebnet wants to merge 2 commits into
Conversation
Twelve cases on the demo's clip: the sum reported only on Submit, again on each, the screen at the end, an answer never checked, adaptivity, a question that must be right, both kinds of navigation off, the author's overrides, the summary task, and resume. Not run where H.264 is not decoded.
- a question shown as a button, and a video with no question - no row of the submit screen pressed: from a paused video it moves the picture alone - Submit pressed once the screen is in place, as it moves up 100 ms after it opens - the waits on the video patient, and adaptivity's Show solution checked - on CI's Chromium lane the file fails, not skips, where the clip cannot play
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #314: Interactive Video 1.28's learner journeys, written after reading its script (
src/scripts/interactive-video.js,interaction.jsandendscreen.jsat 1.28.38, the pack's).What the script does, and the case for each
The video is the demo's ten-second clip, with a Multiple Choice at 0:01 and a True/False at 0:03, each stopping the video.
success. Until then each question sends its ownanswered, with the video as its parent and the second it came at (PT1S). The screen lists each answered question with its time and score.startVideoAt).answeredis sent on Submit.requireCompletion) has no Continue until it is, and a press beside it says why.preventSkippingMode:forwardlets the learner back, but forward only as far as they have watched;bothlets no one move.retryButtonandshowSolutionButtonoff) leave a wrong answer only the way on.finished.What the runs showed
endedis set, so no case asks whether it ended once the screen is up.Tests
canPlayType), except on CI's Chromium lane, where Chrome is installed: there the file fails, so a lost Chrome cannot pass as fourteen skips. Whether Linux's Firefox and WebKit builds decode it is unknown until the weekly run; where they don't, the cases are not run there.design/testing.md: the clip and the waits, the row Interactive Video gets wrong, one more thing only the script said, and Interactive Video in the covered list.Not covered: bookmarks, Go To Question and hotspots, a video from YouTube, Vimeo or Panopto (measured in #318), and the phone layout.
Release: none.