Behat test for student using course navigation in 4.0

Behat test for student using course navigation in 4.0

von Charles Fulton -
Anzahl Antworten: 1
Nutzerbild von Core developers Nutzerbild von Plugin developers Nutzerbild von Testers

I maintain a local module that includes some student-accessible reporting functionality and I'm updating it for Moodle 4.0. The module extends the course navigation, and I've verified manually that the student role still sees "Feedback view" under "More". However, I can't figure out how to write a test that captures this behavior. Formerly, I used some variation of "And I navigate to "Feedback viewer" in current page administration", and that now fails: "Link "Feedback viewer" in the current page edit menu" not found".

Als Antwort auf Charles Fulton

Re: Behat test for student using course navigation in 4.0

von Mark Johnson -
Nutzerbild von Core developers Nutzerbild von Particularly helpful Moodlers Nutzerbild von Peer reviewers Nutzerbild von Plugin developers

This is a complete guess, but something like And I navigate to "More > Feedback view" in current page administration might work?