MDL-59883 behat: Update close button link

This commit is contained in:
Andrew Nicols
2017-10-02 13:05:16 +08:00
parent 1e815600d8
commit bc01fbbd81
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ Feature: Perform basic calendar functionality
And I follow "This month"
And I click on "Really awesome event!" "link"
And "Course 1" "link" should exist in the ".modal-body" "css_element"
And I click on ".close" "css_element"
And I click on "Close" "button"
And I log out
And I log in as "student2"
And I follow "This month"
@@ -23,7 +23,7 @@ Feature: A selected file can be cancelled
And I click on "Recent files" "link" in the ".fp-repo-area" "css_element"
And I click on "//a[contains(concat(' ', normalize-space(@class), ' '), ' fp-file ')][normalize-space(.)='empty.txt']" "xpath_element"
And I click on ".moodle-dialogue-focused .fp-select .fp-select-cancel" "css_element"
And I click on ".moodle-dialogue-focused.filepicker .yui3-button.closebutton" "css_element"
And I click on "Close" "button" in the "File picker" "dialogue"
And I press "Save and display"
Then I should see "upload_users.csv"
And I should not see "empty.txt"