From e697076d92ba2fd68b74e1e2b03fa7d44bcdc1f8 Mon Sep 17 00:00:00 2001 From: Maxime Rainville Date: Sun, 15 Nov 2020 23:53:13 +1300 Subject: [PATCH] Add some behat test to cover the toast success notification --- tests/behat/features/populate-campaigns.feature | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/tests/behat/features/populate-campaigns.feature b/tests/behat/features/populate-campaigns.feature index abfdce54..12eeb307 100644 --- a/tests/behat/features/populate-campaigns.feature +++ b/tests/behat/features/populate-campaigns.feature @@ -79,12 +79,6 @@ Feature: Populate campaigns And I press the "Remove" button, confirming the dialog Then I should not see the "About Us" campaign item When I press the "Publish campaign" button, confirming the dialog - And I press the "Campaigns" button + Then I should see a "Published "Full Campaign" successfully." success toast + When I press the "Campaigns" button Then I should see "Published" in column 3 of the "Full Campaign" campaign - - - - - - -