From cf618c5fb976bc6a073946b72f7bf60ab371cf89 Mon Sep 17 00:00:00 2001 From: NicoDucou Date: Mon, 26 Jul 2021 16:35:52 +0200 Subject: [PATCH] Announcement: Complementing test with notification verification in inbox to be completed once feature available --- tests/behat/features/toolAnnouncement.feature | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/behat/features/toolAnnouncement.feature b/tests/behat/features/toolAnnouncement.feature index b1f964feda..5d7f05b096 100644 --- a/tests/behat/features/toolAnnouncement.feature +++ b/tests/behat/features/toolAnnouncement.feature @@ -20,6 +20,12 @@ Feature: Announcement tool Then I press "submit" And wait for the page to be loaded Then I should see "Announcement has been added" +# this is not finalising at the moment so we can not test the rest of this scenario +# I create it but without testing so it need to be verified before uncommenting +# Then I follow "inbox" +# Then I should see "Inbox" +# And I should see "Your received a annoucement \"Announcement test\"" + Scenario: Create an announcement for all users Given I am on "/main/announcements/announcements.php?action=add&cid=1"