Commit 904e510e authored by Aaron Wells's avatar Aaron Wells
Browse files

Adding a wait step to "I delete link resource menu item"

Need to give the browser a chance to proceed, in case the
popup makes the page reload.

Change-Id: I271a00e38be3cb65f236f6aa46f20a14105ca230
parent 62645f0a
......@@ -1085,8 +1085,9 @@ class BehatGeneral extends BehatBase {
public function i_delete_link_resource_menu_item($item) {
$this->getSession()->executeScript('jQuery("div#menuitemlist tr:contains(\'' . $item . '\') button:contains(\'Delete\')")[0].click();');
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment