wg-build-test-release icon indicating copy to clipboard operation
wg-build-test-release copied to clipboard

[Test failure] <TC_LEARNER_REDWOOD_17>: The learner cannot return to the other sections if he chooses the locked unit in the sidebar

Open mariiamoskalenko opened this issue 1 year ago • 12 comments

Release

Redwood

Expected behavior

As a user, I want to be able to navigate between sections if I'm on the locked unit so that I can easily return to the section with the prerequisite and finish the assignment

Actual behavior

As a user, I CANNOT navigate between sections if I'm on the locked unit so that I have to return to the outline and spend additional time trying to figure out what is going on

Steps to reproduce

  1. Enrol into the course with subsections with prerequisites (I created this one for test).
  2. Start with any subsection.
  3. Go to the "locked unit" - with the pre-requisite on the subsection.
  4. There are no sections and subsections, just a "course outline".

https://github.com/openedx/wg-build-test-release/assets/91068576/bf0a97f4-d90d-4e29-8d33-198147cb24b9

Additional information

I'm testing it with the staff user, through Audit mode (maybe it affects smth).

mariiamoskalenko avatar May 23 '24 15:05 mariiamoskalenko

@mariiamoskalenko: thanks for the report! Please, could you test with the student user as well? Here are the credentials: username: [email protected] password: student

mariajgrimaldi avatar May 24 '24 12:05 mariajgrimaldi

For the learner, it's even more strange. Here is the video - the learner receives an error "There was an error loading this course.".

Here is the video

https://github.com/openedx/wg-build-test-release/assets/91068576/ef35846a-1b7f-436e-ab24-b462d15a853e

mariiamoskalenko avatar May 24 '24 15:05 mariiamoskalenko

Should I report it separately for the instructor and for the learner?

mariiamoskalenko avatar May 24 '24 15:05 mariiamoskalenko

As an Admin now I see that the prerequisite section is locked (but it's not supposed to be locked).

image

mariiamoskalenko avatar May 24 '24 15:05 mariiamoskalenko

@mariiamoskalenko and @mariajgrimaldi - I tested this as a student and got the same error message. I went into the course in studio as staff and published and scheduled everything that had not been published or scheduled for the course (most of the locked and prerequisite units). Once everything in the course was published and scheduled, this weird behavior did not appear for either the learner account or the staff/admin account. This behavior only appears when there are locked or prerequisite units that haven't been scheduled in the course.

crathbun428 avatar May 24 '24 15:05 crathbun428

@mariiamoskalenko and @mariajgrimaldi - I suppose the one question I have is that when staff views a course as "live," shouldn't I see the locked icons on subsections/units locked behind an incomplete pre-requisite? Or is this counter to how things behave today?

(Another weird note about this screenshot is that subsections appear as complete when the units don't appear as complete I can create a minor bug ticket for this, but I suspect this might have to do with how completions are handled, and not have to do with the left-sidebar nav, but I'll document this regardless). Screenshot 2024-05-24 at 11 58 07 AM

crathbun428 avatar May 24 '24 15:05 crathbun428

@crathbun428: thanks for figuring this out!

I suppose the one question I have is that when staff views a course as "live," shouldn't I see the locked icons on subsections/units locked behind an incomplete pre-requisite? Or is this counter to how things behave today?

We don't have the sidebar in quince, so we can't compare the two. But in quince, we can access the locked content without any sign, as in Redwood:

Screencast from 24-05-24 17:39:08.webm

Without any indication that that's the locked content, as it's currently happening.

(Another weird note about this screenshot is that subsections appear as complete when the units don't appear as complete I can create a minor bug ticket for this, but I suspect this might have to do with how completions are handled, and not have to do with the left-sidebar nav, but I'll document this regardless).

Is this the same behavior as in this bug report?

Thanks!

mariajgrimaldi avatar May 24 '24 21:05 mariajgrimaldi

@mariajgrimaldi yes, it looks like the same bug.

@mariajgrimaldi should I create a separate bug report for a student? Because I described this one about the Instructor experience.

Also, there is an additional issue: units of the section without the prerequisite are also shown with locked units on the navigation sidebar. Should it be reported as a separate issue?

mariiamoskalenko avatar May 28 '24 11:05 mariiamoskalenko

@mariiamoskalenko: if all the inconsistent behavior you found is related to the same scenario but with different roles, then we can use the same report. But be sure to include all the info in the issue description. I'll use that info to replicate the behavior and report it to the corresponding repos for maintainers to review.

Now, I think we should open a new report for the other issue you mentioned:

units of the section without the prerequisite are also shown with locked units on the navigation sidebar.

So it's easier to track.

mariajgrimaldi avatar May 28 '24 13:05 mariajgrimaldi

@mariiamoskalenko: as @crathbun428 mentioned here:

Once everything in the course was published and scheduled, this weird behavior did not appear for either the learner account or the staff/admin account. This behavior only appears when there are locked or prerequisite units that haven't been scheduled in the course.

I can't either reproduce the error. Could you try again, considering those conditions? You can test with this course.

mariajgrimaldi avatar May 28 '24 13:05 mariajgrimaldi

Yes, I confirm that I cannot reproduce it now.

mariiamoskalenko avatar May 28 '24 14:05 mariiamoskalenko

@mariiamoskalenko: thank you! In the meantime, I'll open an issue for the weird behavior when the subsections/units are not published so the maintainers know.

mariajgrimaldi avatar Jun 02 '24 15:06 mariajgrimaldi

We couldn't reproduce this issue under circumstances other than when the course wasn't completely live/scheduled. An issue was opened to address that specific case so I'll close this as is. Thank you.

mariajgrimaldi avatar Oct 07 '24 11:10 mariajgrimaldi