MDL-79248 mod_quiz: Behat scenario interacts incorrectly with select
commitc5227b336f84bb4f31f2d9b3ec55dbf266088e70
authorAndrew Nicols <andrew@nicols.co.uk>
Mon, 4 Sep 2023 02:11:07 +0000 (4 10:11 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Mon, 4 Sep 2023 03:57:04 +0000 (4 11:57 +0800)
treeadced47be96d0421588f815d3de640a56a777229
parent206c3a66e77ceb153e5b5c6af22585e819f5d124
MDL-79248 mod_quiz: Behat scenario interacts incorrectly with select

This test was using the click operator to select an option value, rather
than selecting the value with form field steps.

In addition I found that sometimes the way in which a WS is used to
make the change before a refresh leads to a random failure if the page
navigation happens too slowly.
mod/quiz/amd/build/modal_add_random_question.min.js
mod/quiz/amd/build/modal_add_random_question.min.js.map
mod/quiz/amd/src/modal_add_random_question.js
mod/quiz/tests/behat/editing_remove_multiple_questions.feature