Skip to content

Commit

Permalink
MDL-84304 mod_scorm: Remove completion failed from behat test
Browse files Browse the repository at this point in the history
* Now that we removed the COMPLETION_COMPLETE_FAIL status for scorm
behat tests needs to be updated
  • Loading branch information
laurentdavid committed Feb 26, 2025
1 parent 127a78f commit 88b5bc8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mod/scorm/tests/behat/scorm_activity_completion.feature
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,9 @@ Feature: View activity completion in the SCORM activity
And I switch to the main frame
When I am on the "Music history" "scorm activity" page
Then the "View" completion condition of "Music history" is displayed as "done"
# Conditions that are not possible to achieve (eg score below requirement but all attempts used) are marked as failed.
And the "Receive a score of 3 or more" completion condition of "Music history" is displayed as "failed"
# Conditions that are not possible to achieve (eg score below requirement but all attempts used) are still marked as todo.
# this is because the SCORM does not return a score and also that the completion is not possible anymore (as all attempts are used).
And the "Receive a score of 3 or more" completion condition of "Music history" is displayed as "todo"
And the "Do all parts of this activity" completion condition of "Music history" is displayed as "done"
And the "Receive a grade" completion condition of "Music history" is displayed as "done"
And the "Complete or pass the activity" completion condition of "Music history" is displayed as "done"
Expand Down

0 comments on commit 88b5bc8

Please sign in to comment.