MDL-47397 editor_atto: Properly close confirm dialogue in Behat test
authorFrederic Massart <fred@moodle.com>
Thu, 23 Oct 2014 07:15:34 +0000 (15:15 +0800)
committerDan Poltawski <dan@moodle.com>
Fri, 24 Oct 2014 14:09:06 +0000 (15:09 +0100)
lib/editor/atto/plugins/accessibilitychecker/tests/behat/accessibilitychecker.feature

index 9378dfe..3090b0d 100644 (file)
@@ -18,6 +18,7 @@ Feature: Atto accessibility checker
     And I press "Save image"
     And I press "Accessibility checker"
     And I should see "Congratulations, no accessibility problems found!"
+    And I click on ".moodle-dialogue-focused .closebutton" "css_element"
     And I select the text in the "Description" Atto editor
     And I click on "Image" "button"
     And I set the field "Describe this image" to ""