Repository navigation
test(journeys): Course Presentation, as its script runs it (#314) - #321
Merged
Merged
Conversation
The sum of every slide's tasks, reported each time the summary slide is drawn and never where the author hid it; Show solutions, Retry, the confirmation with reporting on, the author's overrides, and resume at the slide reached. 8 cases, in all three engines.
…ve checked (#314) A self-review of the Course Presentation journeys: - a deck with no task has no summary slide and reports no result, the commonest deck of all - the overrides case looks at each of the three questions, not the last alone - Cancel on the reporting dialog reports nothing - the resume case waits for the save that holds its last click - the summary's rows are read from its list items
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: Course Presentation 1.27's learner journeys, written after reading its script (
src/scripts/cp.js,summary-slide.jsandnavigation-line.jsat 1.27.28, the pack's).What the script does, and the case for each
A four-slide deck: a text, then Multiple Choice (1 point), True/False (1) and Fill in the Blanks (2).
completedfrom the summary slide, with nosuccess. The summary lists each slide with a task and its score. Each question sends its ownansweredwith the deck as its parent and its slide number, and the progress bar marks each slide whose task has an answer.reportingon, moving to the summary first asks "Submit your answers". Cancel stays on the last slide and reports nothing; Confirm shows the summary and reports.hideSummarySlide), the deck reports no total at all: only each question'sanswered, so the element raises nofinished.progressed, with the slide reached.retryButtonandshowSolutionButtonoff, both summary buttons off) leave no Retry or Show solution on any question, each looked at once it is checked, and no button on the summary.Moving between slides waits until the slide is on screen and still, since the deck ignores a press while a slide moves (250 ms). The resume case waits for the save that holds its last click, as H5P saves three seconds after a slide move.
Tests
design/testing.md: one more thing only the script said, and Course Presentation in the covered list.Release: none.