Skip to content

Commit

Permalink
replace deprecated behat steps
Browse files Browse the repository at this point in the history
  • Loading branch information
irinahpe committed Jun 3, 2024
1 parent 101db5f commit d91a1b7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/behat/mod_form.feature
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Feature: Creating a new rating allocation, where new choices need to
| student1 | C1 | student |
And I log in as "teacher1"
And I am on "Course 1" course homepage with editing mode on
And I add a "Fair Allocation" to section "0" and I fill the form with:
And I add a "Fair Allocation" activity to course "Course 1" section "0" and I fill the form with:
| id_name | My Fair Allocation |
And I am on the "My Fair Allocation" "ratingallocate activity" page
And I press "Edit Choices"
Expand Down
2 changes: 1 addition & 1 deletion tests/behat/select_strategy.feature
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Feature: When a teacher selects a strategy the appropriate options are displayed
| teacher1 | C1 | editingteacher |
And I log in as "teacher1"
And I am on "Course 1" course homepage with editing mode on
And I add a "Fair Allocation" to section "1"
And I add a "Fair Allocation" activity to course "Course 1" section "1"

@javascript
Scenario: The correct options are displayed for the default strategy (Yes-No)
Expand Down
2 changes: 1 addition & 1 deletion tests/behat/validate_rating.feature
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Feature: When a student attempts to rate choices it should be validated prior to
| student1 | C1 | student |
And I log in as "teacher1"
And I am on "Course 1" course homepage with editing mode on
And I add a "Fair Allocation" to section "1" and I fill the form with:
And I add a "Fair Allocation" activity to course "Course 1" section "1" and I fill the form with:
| id_name | Validated Rating |
| strategy | strategy_points |
| Rating begins at | ##2 days ago## |
Expand Down

0 comments on commit d91a1b7

Please sign in to comment.