Skip to content

Commit

Permalink
CTP-3783 sampling tests 3
Browse files Browse the repository at this point in the history
  • Loading branch information
watson8 committed Oct 28, 2024
1 parent 083e639 commit cd8dc32
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions tests/behat/sampling_manual_sampling.feature
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,12 @@ Feature: Manual sampling
And I log out
And I log in as the teacher
And I visit the coursework page
And I expand the coursework grading row 1
# I should be able to grade the user
And I expand the coursework grading row
And I wait "1" seconds
Then I should be able to add the second grade for this student
And I should see "New feedback"
And I click on the only interactable link with title "New feedback"
And I grade the submission as 67 using the ajax form

@javascript
Scenario: Manual sampling should not include student when not selected
Expand All @@ -42,6 +45,10 @@ Feature: Manual sampling
And I log out
And I log in as the teacher
And I visit the coursework page
And I expand the coursework grading row
And I wait "1" seconds
# I should *NOT* be able to grade the user
And I should not see "New feedback"
Then I should not be able to add the second grade for this student

@javascript
Expand Down

0 comments on commit cd8dc32

Please sign in to comment.