In Moodle v4.3 course, I have a quiz (Quiz 1) where in completion conditions I have set (Receive any grade).
Then I have added a resource (URL) where I have restrict the access to the student unless the Quiz 1 is completed (must be marked complete).
tried to test the above from a test student account and I took the test (with failed grade). In Reports "Activity completion" for this user the quiz 1 is marked as completed (Quiz 1: Completed (did not achieve pass grade).
However when I try to see the resource, it is marked with: "Not available unless: The activity Quiz 1 is marked complete"
What am I missing?