From a26ee4a552906b3a9ef690c384aa058e9fa968ac Mon Sep 17 00:00:00 2001 From: javier gomez Date: Mon, 1 Feb 2016 13:37:11 +0100 Subject: [PATCH] [tests] add accept popup when removing a weblink --- tests/acceptance/administrator/AdministratorWeblinksCest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/acceptance/administrator/AdministratorWeblinksCest.php b/tests/acceptance/administrator/AdministratorWeblinksCest.php index c1c0908..a44d18f 100644 --- a/tests/acceptance/administrator/AdministratorWeblinksCest.php +++ b/tests/acceptance/administrator/AdministratorWeblinksCest.php @@ -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']);