-
Bug
-
Resolution: Won't Fix
-
Minor
-
None
-
3.6
-
None
-
MOODLE_36_STABLE
While doing some exploratory testing for the linked issue, I noticed 2 problems.
I note this is probably an edge case and unlikely to happen in real use, but it can happen.
Steps to reproduce:
- login as teacher and add a quiz to the 101 course - https://qa.moodle.net/
- in the settings ensure Browser security = 'Full screen pop-up with some JavaScript security' via the Extra restrictions on attempts section
- add some basic true false questions to the quiz, I added 3
- ensure Javascript is enabled in browser and login as a student
- open the quiz and click the attempt quiz button
- there should be a popup full screen window
- close this window
- disable Javascript in the browser but don't refresh the quiz page of the student
- click the attempt quiz button again
Expected:
- the full screen popup should not be opened
Actual:
- the full screen popup is opened until the user refreshes the page then the button is removed
There is also another scenario I discovered which has a similar outcome:
Steps:
- login as teacher and add a quiz to the 101 course - https://qa.moodle.net/
- in the settings ensure Browser security = 'Full screen pop-up with some JavaScript security' via the Extra restrictions on attempts section
- add some basic true false questions to the quiz, I added 3
- ensure Javascript is enabled in browser and login as a student
- open the quiz page but don't click the attempt quiz button
- disable Javascript in the browser
- don't refresh the page of the student viewing the quiz
- click button, full screen popup is not opened as expected
- enable Javascript in the browser
- don't refresh the page of the student viewing the quiz
- click the attempt quiz button again
Expected:
- Javascript is enabled so fullscreen pop up should open
Actual:
- Fullscreen popup does not get opened even with Javascript enabled
- blocks
-
MDLQA-12379 CLONE - A teacher can set a quiz to display in a full-screen popup
-
- Passed
-