Automattic / sensei

Sensei LMS - Online Courses, Quizzes, & Learning
https://senseilms.com
GNU General Public License v2.0
545 stars 198 forks source link

Update "Your Grade" notice in Learning Mode #7102

Closed donnapep closed 1 year ago

donnapep commented 1 year ago

Goal

Update the "Your Grade" notice in Learning Mode.

Scope

Out of Scope

Acceptance Criteria

Scenario: Pass Not Required - Retakes Given a quiz has been added to a lesson And the quiz has Auto Grade enabled And the quiz has Allow Retakes enabled When I complete the quiz as a student (either pass or fail) Then the "Your Grade" notice matches the design

Scenario: Pass Not Required - No Retakes Given a quiz has been added to a lesson And the quiz has Auto Grade enabled And the quiz has Allow Retakes DISABLED When I complete the quiz as a student (either pass or fail) Then the "Your Grade" notice matches the design EXCEPT that there is no Restart quiz link

Scenario: Pass Required - Retakes - Pass Given a quiz has been added to a lesson And the quiz has Auto Grade enabled And the quiz has Allow Retakes enabled And the quiz has Pass Required enabled And the quiz has Passing Grade set to 100% When I complete the quiz as a student and pass Then the "Your Grade" notice matches the design

Scenario: Pass Required - No Retakes - Pass Given a quiz has been added to a lesson And the quiz has Auto Grade enabled And the quiz has Allow Retakes DISABLED And the quiz has Pass Required enabled And the quiz has Passing Grade set to 100% When I complete the quiz as a student and pass Then the "Your Grade" notice matches the design EXCEPT that there is no Restart quiz link

Scenario: Pass Required - Retakes - Fail Given a quiz has been added to a lesson And the quiz has Auto Grade enabled And the quiz has Allow Retakes enabled And the quiz has Pass Required enabled And the quiz has Passing Grade set to 100% When I complete the quiz as a student and FAIL Then the "Your Grade" notice matches the design EXCEPT that there is no Continue to Next Lesson button

Scenario: Pass Required - No Retakes - Fail Given a quiz has been added to a lesson And the quiz has Auto Grade enabled And the quiz has Allow Retakes DISABLED And the quiz has Pass Required enabled And the quiz has Passing Grade set to 100% When I complete the quiz as a student and FAIL Then the "Your Grade" notice displays a Contact Teacher button And there is no Continue to Next Lesson button or Restart quiz link

Resources

8mY8ui4zYK1Ylw2yIFi9Lx-fi-20022458%3A70849

Desktop

Screenshot 2023-08-15 at 2 52 27 PM

Mobile

Screenshot 2023-08-15 at 2 53 01 PM

jinnypark commented 1 year ago

6692204-zen

github-actions[bot] commented 1 year ago

Support References

This comment is automatically generated. Please do not edit it.

donnapep commented 1 year ago

Waiting for #7202 to be merged first as the UI is similar.

donnapep commented 1 year ago

Blocked by https://github.com/Automattic/sensei/pull/7197. Some changes were made to a file that has been removed by the PR for this issue, so I'm thinking it will be easier to resolve conflicts later than try to rebase now.