MDL-35981 comments: Remove confirm step from behat delete comments.

This commit is contained in:
Damyon Wiese
2013-08-05 09:50:44 +08:00
parent 38866c905a
commit 25379e44ad
2 changed files with 0 additions and 5 deletions
@@ -103,10 +103,6 @@ class behat_block_comments extends behat_base {
$deleteicon = $this->find('css', '.comment-delete a img', $deleteexception, $commentnode);
$deleteicon->click();
// Yes confirm.
$confirmnode = $this->find('xpath', "//div[@class='comment-delete-confirm']/descendant::a[contains(., '" . get_string('yes') . "')]");
$confirmnode->click();
// Wait for the AJAX request.
$this->getSession()->wait(4 * 1000, false);
}
-1
View File
@@ -55,7 +55,6 @@ Feature: Comment on a blog entry
And I follow "Save comment"
And I wait "4" seconds
When I click on ".comment-delete a" "css_element"
And I click on "Yes" "link"
And I wait "4" seconds
Then I should not see "$My own >nasty< \"string\"!"
And I follow "Blog post from user 1"