From 2a4c2367045d700de0b83537c844af40356a4009 Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Thu, 12 Nov 2015 09:43:26 +0000 Subject: [PATCH] MDL-47065 behat: improve verificaton of lack of note --- notes/tests/behat/participants_notes.feature | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/notes/tests/behat/participants_notes.feature b/notes/tests/behat/participants_notes.feature index 50e35d9e433..d0e82d119cf 100644 --- a/notes/tests/behat/participants_notes.feature +++ b/notes/tests/behat/participants_notes.feature @@ -37,5 +37,10 @@ Feature: Add notes to course participants And I follow "Participants" And I follow "Student 2" And I follow "Notes" - # Terrible way to verify the absence of a note.. - And I should not see "Teacher" in the "region-main" "region" + And I follow "Course 1" + And I follow "Participants" + And I follow "Notes" + Then I should see "Student 1" + And I should see "Student 1 needs to pick up his game" + # Verify Student 2 does not have a note added. + And I should not see "Student 2" -- 2.43.0