openedx / wg-build-test-release

Open edX Build / Test / Release Working Group
25 stars 15 forks source link

[Test failure] <TC_AUTHOR_74>: Navigation in Gated Units #414

Open HeliaEnayati opened 2 weeks ago

HeliaEnayati commented 2 weeks ago

Release

sumac

Expected behavior

As a learner, upon navigating to a gated unit, you should see a message about completing the prerequisite, and both the "Previous" and "Next" buttons should function correctly.

Actual behavior

As a learner, when you navigate to a gated unit, you see the message prompting you to complete the prerequisite, but the "Previous" and "Next" buttons do not work. https://jam.dev/c/4f02a831-969b-4c18-beab-378b45a09e9e

Steps to reproduce

  1. Log in as a learner and navigate to a unit that is gated by the prerequisite.
  2. Observe the message about completing the prerequisite and attempt to use the "Previous" and "Next" buttons.

Additional information

No response

mariajgrimaldi commented 2 days ago

Thank you so much for the report! I could reproduce this after doing the following:

  1. Configuring a subsection as a prerequisite
  2. Making that subsection the prerequisite of another subsection
  3. Go to the prerequisite subsection and navigate to the gated subsection
  4. If I try to go to the previous unit right before the gated subsection, the sequence buttons stop working for some reason
  5. If from the sidebar I try entering one of the units in the gated subsection, and the previous button works

Here's a video:

Screencast from 02-12-24 18:53:14.webm

I'll report this in the learning MFE repo.