diff --git a/docroot/profiles/lagunita/supress/tests/codeception/acceptance/Content/EventsCest.php b/docroot/profiles/lagunita/supress/tests/codeception/acceptance/Content/EventsCest.php index 8a8039ae..0d8fed09 100644 --- a/docroot/profiles/lagunita/supress/tests/codeception/acceptance/Content/EventsCest.php +++ b/docroot/profiles/lagunita/supress/tests/codeception/acceptance/Content/EventsCest.php @@ -202,7 +202,7 @@ public function testEditorPerms(AcceptanceTester $I) { $I->amOnPage("/node/$id/delete"); $I->canSeeResponseCodeIs(200); - $I->canSee('This action cannot be undone'); + $I->canSee('Are you sure you want to delete'); $I->amOnPage("/node/$id/edit"); $new_title = $this->faker->words(3, TRUE); @@ -233,6 +233,8 @@ public function testEditorPerms(AcceptanceTester $I) { /** * Test thing. + * + * @group foobar */ public function testSiteManagerPerms(AcceptanceTester $I) { $I->logInWithRole('site_manager'); @@ -247,7 +249,7 @@ public function testSiteManagerPerms(AcceptanceTester $I) { $I->amOnPage("/node/$id/delete"); $I->canSeeResponseCodeIs(200); - $I->canSee('This action cannot be undone'); + $I->canSee('Are you sure you want to delete'); $I->amOnPage("/node/$id/edit"); $new_title = $this->faker->words(3, TRUE); diff --git a/docroot/profiles/lagunita/supress/tests/codeception/acceptance/Content/EventsSeriesCest.php b/docroot/profiles/lagunita/supress/tests/codeception/acceptance/Content/EventsSeriesCest.php index 136911ff..6956bd72 100644 --- a/docroot/profiles/lagunita/supress/tests/codeception/acceptance/Content/EventsSeriesCest.php +++ b/docroot/profiles/lagunita/supress/tests/codeception/acceptance/Content/EventsSeriesCest.php @@ -98,7 +98,7 @@ public function testEditorPerms(AcceptanceTester $I) { $I->amOnPage("/node/$id/delete"); $I->canSeeResponseCodeIs(200); - $I->canSee('This action cannot be undone'); + $I->canSee('Are you sure you want to delete'); $I->amOnPage("/node/$id/edit"); $new_title = $this->faker->words(3, TRUE); @@ -128,7 +128,7 @@ public function testSiteManagerPerms(AcceptanceTester $I) { $I->amOnPage("/node/$id/delete"); $I->canSeeResponseCodeIs(200); - $I->canSee('This action cannot be undone'); + $I->canSee('Are you sure you want to delete'); $I->amOnPage("/node/$id/edit"); $new_title = $this->faker->words(3, TRUE);