MDL-86383 lang: Use the fixed strings in tests, too
This commit is contained in:
@@ -79,7 +79,7 @@ Feature: An administrator can browse user accounts
|
||||
Scenario: Delete a user account
|
||||
Given I navigate to "Users > Accounts > Browse list of users" in site administration
|
||||
And I press "Delete" action in the "User One" report row
|
||||
And I should see "Are you absolutely sure you want to completely delete the user User One" in the "Delete user" "dialogue"
|
||||
And I should see "Are you sure you want to delete user User One" in the "Delete user" "dialogue"
|
||||
And I click on "Delete" "button" in the "Delete user" "dialogue"
|
||||
Then I should see "Deleted user User One"
|
||||
And I should not see "User One" in the "reportbuilder-table" "table"
|
||||
|
||||
@@ -98,7 +98,7 @@ Feature: Toggle activities visibility from the course page
|
||||
And "Test forum name" activity should be hidden
|
||||
And I click on "Test forum name" "link" in the "Recent activity" "block"
|
||||
And I should see "Test forum name"
|
||||
And I should see "There are no discussion topics yet in this forum"
|
||||
And I should see "There are no discussion topics yet in this forum."
|
||||
|
||||
@javascript
|
||||
Scenario: Activities can be made available but not visible on a course page
|
||||
|
||||
@@ -71,7 +71,7 @@ Feature: Delete activity tags during course reset
|
||||
And I press "Continue"
|
||||
And I am on the "Test Forum" "forum activity" page
|
||||
# Confirm discussion is deleted when `Delete all posts` was checked.
|
||||
And I <forumview> see "There are no discussion topics yet in this forum"
|
||||
And I <forumview> see "There are no discussion topics yet in this forum."
|
||||
# Confirm all discussion tags are deleted.
|
||||
And I should not see "SampleTag"
|
||||
And I should not see "DiscussionTag"
|
||||
|
||||
@@ -21,7 +21,7 @@ Feature: A teacher or admin can view subscriptions tab
|
||||
When I navigate to "Subscriptions" in current page administration
|
||||
Then I should see "View subscribers" in the "//div[@class='urlselect']//option[@selected]" "xpath_element"
|
||||
And I should see "Subscribers"
|
||||
And I should see "There are no subscribers yet for this forum"
|
||||
And I should see "There are no subscribers yet for this forum."
|
||||
|
||||
Scenario: A teacher selects forced subscription and subscribers selector is not visible
|
||||
Given I am on the "Test forum name" "forum activity" page logged in as teacher
|
||||
@@ -49,7 +49,7 @@ Feature: A teacher or admin can view subscriptions tab
|
||||
|
||||
Scenario: A teacher selects reports tab and verify the heading
|
||||
Given I am on the "Test forum name" "forum activity" page logged in as teacher
|
||||
And I should see "There are no discussion topics yet in this forum" in the "//div[contains(@class, 'alert-info')]" "xpath_element"
|
||||
And I should see "There are no discussion topics yet in this forum." in the "//div[contains(@class, 'alert-info')]" "xpath_element"
|
||||
And I navigate to "Reports" in current page administration
|
||||
And I should see "Forum summary report"
|
||||
And I should see "Nothing to display" in the "//div[contains(@class, 'alert-info')]" "xpath_element"
|
||||
|
||||
@@ -27,7 +27,7 @@ Feature: Changes to the subscription mode of a forum can change subcribers of a
|
||||
Given I am on the "Test forum name" "forum activity" page logged in as teacher
|
||||
And I navigate to "Subscriptions" in current page administration
|
||||
When I select "Auto subscription" from the "Subscription mode" singleselect
|
||||
Then I should not see "There are no subscribers yet for this forum"
|
||||
Then I should not see "There are no subscribers yet for this forum."
|
||||
And I navigate to "Subscriptions" in current page administration
|
||||
And the following should exist in the "subscribers-table" table:
|
||||
| Full name | Email address |
|
||||
|
||||
@@ -32,7 +32,7 @@ Feature: Deleting users
|
||||
And I press "Add to selection"
|
||||
And I set the field "id_action" to "Delete"
|
||||
And I press "Go"
|
||||
And I should see "Are you absolutely sure you want to completely delete the user User Four, including their enrolments, activity and other user data?"
|
||||
And I should see "Are you sure you want to delete user User Four, including data such as profile details, enrolments, group and cohort membership and some user activity data?"
|
||||
And I press "Yes"
|
||||
And I should see "Changes saved"
|
||||
And I press "Continue"
|
||||
@@ -49,7 +49,7 @@ Feature: Deleting users
|
||||
And I press "Add to selection"
|
||||
And I set the field "id_action" to "Delete"
|
||||
And I press "Go"
|
||||
And I should see "Are you absolutely sure you want to completely delete the user User Four, User Three, including their enrolments, activity and other user data?"
|
||||
And I should see "Are you sure you want to delete user User Four, User Three, including data such as profile details, enrolments, group and cohort membership and some user activity data?"
|
||||
And I press "Yes"
|
||||
And I should see "Changes saved"
|
||||
And I press "Continue"
|
||||
@@ -64,7 +64,7 @@ Feature: Deleting users
|
||||
And I click on "User Four" "checkbox"
|
||||
And I click on "User Three" "checkbox"
|
||||
And I set the field "Bulk user actions" to "Delete"
|
||||
And I should see "Are you absolutely sure you want to completely delete the user User Four, User Three, including their enrolments, activity and other user data?"
|
||||
And I should see "Are you sure you want to delete user User Four, User Three, including data such as profile details, enrolments, group and cohort membership and some user activity data?"
|
||||
And I press "Yes"
|
||||
And I should see "Changes saved"
|
||||
And I press "Continue"
|
||||
|
||||
Reference in New Issue
Block a user