MDL-83238 lang: Fix the changed strings in the tests, too
This commit is contained in:
@@ -25,7 +25,7 @@ Feature: Confirm that we can open multiple browser tabs
|
||||
And I open a tab named "CourseViewer4" on the "My courses" page
|
||||
|
||||
# Switch between all the tabs and confirm their different contents.
|
||||
Then I should see "You're not enrolled in any course"
|
||||
Then I should see "You're not enrolled in any courses."
|
||||
And I switch to "CourseViewer2" tab
|
||||
And "Course 3" "heading" should exist
|
||||
And I switch to "CourseViewer1" tab
|
||||
|
||||
@@ -51,7 +51,7 @@ Feature: Add badges to the system
|
||||
And I should see "Math"
|
||||
And I should see "Physics"
|
||||
And I navigate to "Badges > Manage badges" in site administration
|
||||
And I should not see "There are no matching badges available for users to earn"
|
||||
And I should not see "There are no matching badges available for users to earn."
|
||||
|
||||
@javascript @_file_upload
|
||||
Scenario: Add a badge related
|
||||
@@ -163,7 +163,7 @@ Feature: Add badges to the system
|
||||
And I should see "Alignments (0)"
|
||||
And I should not see "Create badge"
|
||||
And I navigate to "Badges > Manage badges" in site administration
|
||||
And I should not see "There are no matching badges available for users to earn"
|
||||
And I should not see "There are no matching badges available for users to earn."
|
||||
# See buttons from the "Site badges" page.
|
||||
And I am on homepage
|
||||
When I click on "Site pages" "list_item" in the "Navigation" "block"
|
||||
|
||||
@@ -43,7 +43,7 @@ Feature: Manage badges
|
||||
And I navigate to "Badges > Manage badges" in site administration
|
||||
And I press "Delete" action in the "Badge #1" report row
|
||||
And I press "Delete and remove existing issued badges"
|
||||
Then I should see "There are no matching badges available for users to earn"
|
||||
Then I should see "There are no matching badges available for users to earn."
|
||||
|
||||
Scenario: Enable and disable access to a badge
|
||||
Given I log in as "admin"
|
||||
|
||||
@@ -4,7 +4,7 @@ Feature: Manage badges is not shown when there are no existing badges.
|
||||
Scenario: Check navigation at site level with no badges
|
||||
Given I log in as "admin"
|
||||
When I navigate to "Badges > Manage badges" in site administration
|
||||
And I should see "There are no matching badges available for users to earn"
|
||||
And I should see "There are no matching badges available for users to earn."
|
||||
Then "Manage badges" "button" should not exist
|
||||
|
||||
Scenario: Check navigation at course level with no badges
|
||||
|
||||
@@ -35,7 +35,7 @@ Feature: My overview block pagination
|
||||
|
||||
Scenario: The pagination controls should be hidden if I am not enrolled in any courses
|
||||
When I am on the "My courses" page logged in as "student1"
|
||||
Then I should see "You're not enrolled in any course" in the "Course overview" "block"
|
||||
Then I should see "You're not enrolled in any courses." in the "Course overview" "block"
|
||||
And I should not see "Show" in the "Course overview" "block"
|
||||
And ".block_myoverview .dropdown-menu.show" "css_element" should not be visible
|
||||
And ".block_myoverview [data-control='next']" "css_element" should not be visible
|
||||
|
||||
@@ -40,7 +40,7 @@ Feature: My overview block searching
|
||||
|
||||
Scenario: There is no search if I am not enrolled in any course
|
||||
When I am on the "My courses" page logged in as "student2"
|
||||
Then I should see "You're not enrolled in any course" in the "Course overview" "block"
|
||||
Then I should see "You're not enrolled in any courses." in the "Course overview" "block"
|
||||
And "Search courses" "field" should not exist in the "Course overview" "block"
|
||||
And I log out
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ Feature: Zero state on my overview block
|
||||
|
||||
Scenario: Users with no permissions don't see any CTA
|
||||
Given I am on the "My courses" page logged in as "user"
|
||||
When I should see "You're not enrolled in any course"
|
||||
When I should see "You're not enrolled in any courses."
|
||||
Then I should see "Once you're enrolled in a course, it will appear here."
|
||||
And I should not see "Create course"
|
||||
And I should not see "Request a course"
|
||||
@@ -46,7 +46,7 @@ Feature: Zero state on my overview block
|
||||
| fullname | Course 1 |
|
||||
| shortname | C1 |
|
||||
When I am on the "My courses" page logged in as "manager"
|
||||
Then I should see "You're not enrolled in any course"
|
||||
Then I should see "You're not enrolled in any courses."
|
||||
Then I should see "Once you're enrolled in a course, it will appear here."
|
||||
And "Manage courses" "button" should exist
|
||||
And "Create course" "button" should exist
|
||||
@@ -64,7 +64,7 @@ Feature: Zero state on my overview block
|
||||
| fullname | Course 1 |
|
||||
| shortname | C1 |
|
||||
When I am on the "My courses" page logged in as "manager"
|
||||
Then I should see "You're not enrolled in any course"
|
||||
Then I should see "You're not enrolled in any courses."
|
||||
Then I should not see "To view all courses on this sie, go to Manage courses"
|
||||
And "Manage courses" "button" should not exist
|
||||
And "Create course" "button" should exist
|
||||
|
||||
Reference in New Issue
Block a user