[tests] add accept popup when removing a weblink

This commit is contained in:
javier gomez 2016-02-01 13:37:11 +01:00
parent 74ce09dda3
commit a26ee4a552
1 changed files with 1 additions and 0 deletions

View File

@ -107,6 +107,7 @@ class AdministratorWeblinksCest
$I->amGoingTo('Delete the just saved weblink');
$I->checkAllResults();
$I->click(['xpath'=> '//div[@id="toolbar-delete"]/button']);
$I->acceptPopup();
$I->waitForText('Web Links','30',['css' => 'h1']);
$I->expectTo('see a success message and the weblink removed from the list');
$I->see('1 web link successfully deleted.',['id' => 'system-message-container']);