mirror of
https://github.com/moodle/moodle.git
synced 2025-03-18 06:31:22 +01:00
MDL-61252 mod_quiz: Fix ambiguous behat check
This commit is contained in:
parent
f68150ad05
commit
caa9cb7124
@ -85,7 +85,7 @@ Feature: Teachers can override the grade for any question
|
||||
And I set the field "Comment" to "<img src=\"@@PLUGINFILE@@/moodle_logo.jpg\" alt=\"It's the logo\" width=\"48\" height=\"48\" class=\"img-responsive atto_image_button_text-bottom\"><!-- File hash: a8e3ffba4ab315b3fb9187ebbf122fe9 -->"
|
||||
And I press "Save" and switch to main window
|
||||
And I switch to the main window
|
||||
And I should see "It's the logo" in the "3" "table_row"
|
||||
And "//*[contains(@class, 'comment')]//img[contains(@src, 'moodle_logo.jpg')]" "xpath_element" should exist
|
||||
And I should see "Commented: [It's the logo]" in the ".history table" "css_element"
|
||||
And "img[contains(@src, 'moodle_logo.jpg')]" "xpath_element" should exist in the ".comment" "css_element"
|
||||
# This time is same as time the window is open. So wait for it to close before proceeding.
|
||||
And I wait "2" seconds
|
||||
|
Loading…
x
Reference in New Issue
Block a user