Skip to content

Commit

Permalink
MDL-66550 forum: Target fields in a fieldset for behat test
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Sep 10, 2019
1 parent 2920155 commit bb6315f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions grade/tests/behat/grade_to_pass.feature
Original file line number Diff line number Diff line change
Expand Up @@ -195,18 +195,18 @@ Feature: We can set the grade to pass value
And I add a "Forum" to section "1" and I fill the form with:
| Forum name | Test Forum 1 |
| Description | Test |
| Aggregate type | Average of ratings |
| Grade to pass | 90 |
| scale[modgrade_point] | 60 |
| Ratings > Aggregate type | Average of ratings |
| Ratings > scale[modgrade_point] | 60 |
| Grade > Grade to pass | 90 |
Then I should see "The grade to pass can not be greater than the maximum possible grade 60"

Scenario: Set a valid grade to pass for forum activity
When I turn editing mode on
And I add a "Forum" to section "1" and I fill the form with:
| Forum name | Test Forum 1 |
| Description | Test |
| Aggregate type | Average of ratings |
| Grade to pass | 90 |
| Ratings > Aggregate type | Average of ratings |
| Grade > Grade to pass | 90 |
And I navigate to "View > Grader report" in the course gradebook
And I turn editing mode on
And I click on "Edit forum Test Forum 1" "link"
Expand Down

0 comments on commit bb6315f

Please sign in to comment.