Skip to content

Commit

Permalink
MDL-47065 behat: improve verificaton of lack of note
Browse files Browse the repository at this point in the history
  • Loading branch information
junpataleta authored and danpoltawski committed Nov 12, 2015
1 parent 142099e commit 2a4c236
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions notes/tests/behat/participants_notes.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 2a4c236

Please sign in to comment.