Skip to content

Commit

Permalink
MDL-72428 lang: Use the fixed strings in the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mudrd8mz committed Sep 3, 2021
1 parent 92cc461 commit 9f8349b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Feature: A teacher can control the subscription to a forum
| forcesubscribe | <initialmode> |
When I am on the "Test forum" "forum activity" page logged in as "teacher"
And I navigate to "Subscription mode > <updatedmode>" in current page administration
And I should see "Are you sure you want to change the subscription mode to \"<updatedmode>\"" in the "Confirmation" "dialogue"
And I should see "Are you sure you want to change the subscription mode to <updatedmode>" in the "Confirmation" "dialogue"
And I click on "Yes" "button" in the "Confirmation" "dialogue"
Then I should see "<updatedmodeconfirmed>"
Examples:
Expand Down
2 changes: 1 addition & 1 deletion mod/forum/tests/behat/inpage_reply.feature
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ Feature: Students can reply to a discussion in page.
| post | Discussion contents 1, third message |
| privatereply | 1 |
Then I should see "Discussion contents 1, third message"
Then I should see "This is a private reply. It is not visible to other participants."
Then I should see "This is a private reply. It is only visible to you and anyone with the capability to view private replies, such as teachers or managers."
When I reload the page
Then I should see "Discussion contents 1, third message"

0 comments on commit 9f8349b

Please sign in to comment.