Merge branch 'MDL-83238-404-enfix' of https://github.com/mudrd8mz/moodle into MOODLE_404_STABLE
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
|
||||
|
||||
@@ -17,7 +17,7 @@ Feature: Add badges to the system
|
||||
And I add the "Navigation" block if not present
|
||||
And I click on "Site pages" "list_item" in the "Navigation" "block"
|
||||
Given I click on "Site badges" "link" in the "Navigation" "block"
|
||||
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."
|
||||
|
||||
@javascript @_file_upload
|
||||
Scenario: Add a badge
|
||||
@@ -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"
|
||||
|
||||
@@ -104,7 +104,7 @@ Feature: Award badges
|
||||
And I add the "Navigation" block if not present
|
||||
And I click on "Site pages" "list_item" in the "Navigation" "block"
|
||||
And I click on "Site badges" "link" in the "Navigation" "block"
|
||||
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."
|
||||
And I should not see "Manage badges"
|
||||
And I should not see "Add a new badge"
|
||||
|
||||
|
||||
@@ -45,7 +45,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 Outline: Filter managed badges
|
||||
Given the following "core_badges > Badges" exist:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -88,7 +88,7 @@ $string['sortbylastaccessed'] = 'Sort by last accessed';
|
||||
$string['sortbyshortname'] = 'Sort by short name';
|
||||
$string['privacy:request:preference:set'] = 'The value of the setting \'{$a->name}\' was \'{$a->value}\'';
|
||||
$string['viewquickstart'] = 'View Quickstart guide';
|
||||
$string['zero_default_title'] = 'You\'re not enrolled in any course';
|
||||
$string['zero_default_title'] = 'You\'re not enrolled in any courses.';
|
||||
$string['zero_default_intro'] = 'Once you\'re enrolled in a course, it will appear here.';
|
||||
$string['zero_request_title'] = 'Request your first course';
|
||||
$string['zero_request_intro'] = 'Need help getting started? Check out the <a href="{$a->dochref}" title="{$a->doctitle}" target="{$a->doctarget}">Moodle documentation</a> or take your first steps with our <a href="{$a->quickhref}" title="{$a->quicktitle}" target="{$a->quicktarget}">Quickstart guide</a>.';
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -29,7 +29,7 @@ Feature: A course welcome message will be sent to the user when they are enrolle
|
||||
Then I should see "Send course welcome message"
|
||||
And the field "Send course welcome message" matches value "From the course contact"
|
||||
And I should see "Custom welcome message"
|
||||
And the field "Custom welcome message" matches value "Dear {$a->fullname}, you have successfully been enrolled to course {$a->coursename}"
|
||||
And the field "Custom welcome message" matches value "Dear {$a->fullname}, you are enrolled in the course {$a->coursename}."
|
||||
And I should see "Accepted formats: Plain text or Moodle-auto format. HTML tags and multi-lang tags are also accepted, as well as the following placeholders:"
|
||||
And I set the field "Send course welcome message" to "No"
|
||||
And I should not see "Custom welcome message"
|
||||
@@ -71,14 +71,14 @@ Feature: A course welcome message will be sent to the user when they are enrolle
|
||||
And I open the notification popover
|
||||
And I should see "Welcome to Course 1"
|
||||
And I click on "View full notification" "link" in the ".popover-region-notifications" "css_element"
|
||||
And I should see "Dear First User, you have successfully been enrolled to course Course 1"
|
||||
And I should see "Dear First User, you are enrolled in the course Course 1."
|
||||
# Login as second user and check the notification.
|
||||
And I am on the "C1" "course" page logged in as user2
|
||||
And I should see "1" in the "#nav-notification-popover-container [data-region='count-container']" "css_element"
|
||||
And I open the notification popover
|
||||
And I should see "Welcome to Course 2"
|
||||
And I click on "View full notification" "link" in the ".popover-region-notifications" "css_element"
|
||||
And I should see "Dear Second User, you have successfully been enrolled to course Course 2"
|
||||
And I should see "Dear Second User, you are enrolled in the course Course 2."
|
||||
|
||||
@javascript
|
||||
Scenario: Students should receive a welcome message if the setting is enabled - Custom message
|
||||
@@ -87,7 +87,7 @@ Feature: A course welcome message will be sent to the user when they are enrolle
|
||||
And I click on "Edit" "link" in the "Manual enrolments" "table_row"
|
||||
And I set the field "Custom welcome message" to multiline:
|
||||
"""
|
||||
Dear {$a->fullname}, you have successfully been enrolled to course {$a->coursename}.
|
||||
Dear {$a->fullname}, you are enrolled in the course {$a->coursename}.
|
||||
Your email address: {$a->email}
|
||||
Your first name: {$a->firstname}
|
||||
Your last name: {$a->lastname}
|
||||
@@ -105,7 +105,7 @@ Feature: A course welcome message will be sent to the user when they are enrolle
|
||||
And I open the notification popover
|
||||
And I should see "Welcome to Course 1"
|
||||
And I click on "View full notification" "link" in the ".popover-region-notifications" "css_element"
|
||||
And I should see "Dear First User, you have successfully been enrolled to course Course 1"
|
||||
And I should see "Dear First User, you are enrolled in the course Course 1."
|
||||
And I should see "Your email address: first@example.com"
|
||||
And I should see "Your first name: First"
|
||||
And I should see "Your last name: User"
|
||||
@@ -116,7 +116,7 @@ Feature: A course welcome message will be sent to the user when they are enrolle
|
||||
And I open the notification popover
|
||||
And I should see "Welcome to Course 1"
|
||||
And I click on "View full notification" "link" in the ".popover-region-notifications" "css_element"
|
||||
And I should see "Dear Second User, you have successfully been enrolled to course Course 1"
|
||||
And I should see "Dear Second User, you are enrolled in the course Course 1."
|
||||
And I should see "Your email address: second@example.com"
|
||||
And I should see "Your first name: Second"
|
||||
And I should see "Your last name: User"
|
||||
|
||||
@@ -34,7 +34,7 @@ Feature: A course welcome message will be sent to the user when they auto-enrol
|
||||
Then I should see "Send course welcome message"
|
||||
And the field "Send course welcome message" matches value "From the course contact"
|
||||
And I should see "Custom welcome message"
|
||||
And the field "Custom welcome message" matches value "Dear {$a->fullname}, you have successfully been enrolled to course {$a->coursename}"
|
||||
And the field "Custom welcome message" matches value "Dear {$a->fullname}, you are enrolled in the course {$a->coursename}."
|
||||
And I should see "Accepted formats: Plain text or Moodle-auto format. HTML tags and multi-lang tags are also accepted, as well as the following placeholders:"
|
||||
And I set the field "Send course welcome message" to "No"
|
||||
And I should not see "Custom welcome message"
|
||||
@@ -62,7 +62,7 @@ Feature: A course welcome message will be sent to the user when they auto-enrol
|
||||
And I open the notification popover
|
||||
And I should see "Welcome to Course 1"
|
||||
And I click on "View full notification" "link" in the ".popover-region-notifications" "css_element"
|
||||
And I should see "Dear First User, you have successfully been enrolled to course Course 1"
|
||||
And I should see "Dear First User, you are enrolled in the course Course 1."
|
||||
# Login as second user and check the notification.
|
||||
And I log in as "user2"
|
||||
And I am on "Course 2" course homepage
|
||||
@@ -71,7 +71,7 @@ Feature: A course welcome message will be sent to the user when they auto-enrol
|
||||
And I open the notification popover
|
||||
And I should see "Welcome to Course 2"
|
||||
And I click on "View full notification" "link" in the ".popover-region-notifications" "css_element"
|
||||
And I should see "Dear Second User, you have successfully been enrolled to course Course 2"
|
||||
And I should see "Dear Second User, you are enrolled in the course Course 2."
|
||||
|
||||
@javascript
|
||||
Scenario: Students should receive a welcome message if the setting is enabled - Custom message
|
||||
@@ -80,7 +80,7 @@ Feature: A course welcome message will be sent to the user when they auto-enrol
|
||||
And I click on "Edit" "link" in the "Test student enrolment" "table_row"
|
||||
And I set the field "Custom welcome message" to multiline:
|
||||
"""
|
||||
Dear {$a->fullname}, you have successfully been enrolled to course {$a->coursename}.
|
||||
Dear {$a->fullname}, you are enrolled in the course {$a->coursename}.
|
||||
Your email address: {$a->email}
|
||||
Your first name: {$a->firstname}
|
||||
Your last name: {$a->lastname}
|
||||
@@ -95,7 +95,7 @@ Feature: A course welcome message will be sent to the user when they auto-enrol
|
||||
And I open the notification popover
|
||||
And I should see "Welcome to Course 1"
|
||||
And I click on "View full notification" "link" in the ".popover-region-notifications" "css_element"
|
||||
And I should see "Dear First User, you have successfully been enrolled to course Course 1"
|
||||
And I should see "Dear First User, you are enrolled in the course Course 1."
|
||||
And I should see "Your email address: first@example.com"
|
||||
And I should see "Your first name: First"
|
||||
And I should see "Your last name: User"
|
||||
@@ -108,7 +108,7 @@ Feature: A course welcome message will be sent to the user when they auto-enrol
|
||||
And I open the notification popover
|
||||
And I should see "Welcome to Course 1"
|
||||
And I click on "View full notification" "link" in the ".popover-region-notifications" "css_element"
|
||||
And I should see "Dear Second User, you have successfully been enrolled to course Course 1"
|
||||
And I should see "Dear Second User, you are enrolled in the course Course 1."
|
||||
And I should see "Your email address: second@example.com"
|
||||
And I should see "Your first name: Second"
|
||||
And I should see "Your last name: User"
|
||||
|
||||
+2
-2
@@ -424,13 +424,13 @@ $string['newbadge'] = 'Add a new badge';
|
||||
$string['newimage'] = 'New image';
|
||||
$string['noalignment'] = 'This badge does not have any external skills or standards specified.';
|
||||
$string['noawards'] = 'This badge has not been earned yet.';
|
||||
$string['nomatchingawards'] = 'There are no matching recipients who have earned this badge yet';
|
||||
$string['nomatchingawards'] = 'There are no matching recipients who have earned this badge yet.';
|
||||
$string['nobackpack'] = 'There is no backpack service connected to this account.<br/>';
|
||||
$string['nobackpackbadgessummary'] = 'There are no badges in the collections you have selected.';
|
||||
$string['nobackpackcollectionssummary'] = 'No badge collections have been selected.';
|
||||
$string['nobackpacks'] = 'There are no backpacks available';
|
||||
$string['nobadges'] = 'There are currently no badges available for users to earn.';
|
||||
$string['nomatchingbadges'] = 'There are no matching badges available for users to earn';
|
||||
$string['nomatchingbadges'] = 'There are no matching badges available for users to earn.';
|
||||
$string['nocompetencies'] = 'No competencies selected.';
|
||||
$string['nocriteria'] = 'Criteria for this badge have not been set up yet.';
|
||||
$string['noendorsement'] = 'This badge does not have an endorsement.';
|
||||
|
||||
+1
-1
@@ -115,7 +115,7 @@ $string['incorrectblogfilter'] = 'Incorrect blog filter type specified';
|
||||
$string['intro'] = 'This RSS feed was automatically generated from one or more blogs.';
|
||||
$string['invalidgroupid'] = 'Invalid group ID';
|
||||
$string['invalidurl'] = 'This URL is unreachable';
|
||||
$string['linktooriginalentry'] = 'Link to original blog entry';
|
||||
$string['linktooriginalentry'] = 'Original blog entry';
|
||||
$string['maxexternalblogsperuser'] = 'Maximum number of external blogs per user';
|
||||
$string['myprofileuserblogs'] = 'View all blog entries';
|
||||
$string['name'] = 'Name';
|
||||
|
||||
+1
-1
@@ -45,7 +45,7 @@ $string['customwelcomemessage_help'] = 'Accepted formats: Plain text or Moodle-a
|
||||
<li>User last name {$a->lastname}</li>
|
||||
<li>User course role {$a->courserole}</li>
|
||||
</ul>';
|
||||
$string['customwelcomemessageplaceholder'] = 'Dear {$a->fullname}, you have successfully been enrolled to course {$a->coursename}';
|
||||
$string['customwelcomemessageplaceholder'] = 'Dear {$a->fullname}, you are enrolled in the course {$a->coursename}.';
|
||||
$string['defaultenrol'] = 'Add instance to new courses';
|
||||
$string['defaultenrol_desc'] = 'It is possible to add this plugin to all new courses by default.';
|
||||
$string['deleteinstanceconfirm'] = 'You are about to delete the enrolment method "{$a->name}". All {$a->users} users currently enrolled using this method will be unenrolled and any course-related data such as users\' grades, group membership or forum subscriptions will be deleted.
|
||||
|
||||
+1
-1
@@ -474,7 +474,7 @@ $string['letterreal'] = 'Letter (real)';
|
||||
$string['letters'] = 'Letters';
|
||||
$string['linkedactivity'] = 'Linked activity';
|
||||
$string['linkedactivity_help'] = 'This setting specifies an activity to which this outcome item is linked. This may be used to measure student performance on criteria not assessed by the activity grade.';
|
||||
$string['linktoactivity'] = 'Link to {$a->name} activity {$a->title}';
|
||||
$string['linktoactivity'] = '{$a->name} activity {$a->title}';
|
||||
$string['lock'] = 'Lock';
|
||||
$string['locked'] = 'Locked';
|
||||
$string['locked_help'] = 'If ticked, grades can no longer be automatically updated by the related activity.';
|
||||
|
||||
+6
-11
@@ -1520,22 +1520,17 @@ $string['newusernewpasswordtext'] = 'Hi {$a->firstname},
|
||||
A new account has been created for you at \'{$a->sitename}\'
|
||||
and you have been issued with a new temporary password.
|
||||
|
||||
Your current login information is now:
|
||||
Your login information is:
|
||||
username: {$a->username}
|
||||
password: {$a->newpassword}
|
||||
(you will have to change your password
|
||||
when you login for the first time)
|
||||
when you log in for the first time)
|
||||
|
||||
To start using \'{$a->sitename}\', login at
|
||||
To start using \'{$a->sitename}\', log in at
|
||||
{$a->link}
|
||||
|
||||
In most mail programs, this should appear as a blue link
|
||||
which you can just click on. If that doesn\'t work,
|
||||
then cut and paste the address into the address
|
||||
line at the top of your web browser window.
|
||||
|
||||
Cheers from the \'{$a->sitename}\' administrator,
|
||||
{$a->signoff}';
|
||||
If you need help, you can contact the site administrator,
|
||||
{$a->admin}';
|
||||
$string['newusers'] = 'New users';
|
||||
$string['newwindow'] = 'New window';
|
||||
$string['next'] = 'Next';
|
||||
@@ -1708,7 +1703,7 @@ $string['pluginsetup'] = 'Setting up plugin tables';
|
||||
$string['policyaccept'] = 'I understand and agree';
|
||||
$string['policyagree'] = 'You must agree to this policy to continue using this site. Do you agree?';
|
||||
$string['policyagreement'] = 'Site policy agreement';
|
||||
$string['policyagreementclick'] = 'Link to site policy agreement';
|
||||
$string['policyagreementclick'] = 'Site policy agreement';
|
||||
$string['popup'] = 'popup';
|
||||
$string['popupwindow'] = 'Open file in new window';
|
||||
$string['popupwindowname'] = 'Popup window';
|
||||
|
||||
@@ -62,7 +62,7 @@ $string['tiny:black'] = 'Black';
|
||||
$string['tiny:block'] = 'Block';
|
||||
$string['tiny:block_0'] = 'Block {0}';
|
||||
$string['tiny:blockquote'] = 'Blockquote';
|
||||
$string['tiny:blocks'] = 'Blocks';
|
||||
$string['tiny:blocks'] = 'Paragraph styles';
|
||||
$string['tiny:blue'] = 'Blue';
|
||||
$string['tiny:blue_component'] = 'Blue component';
|
||||
$string['tiny:body'] = 'Body';
|
||||
@@ -346,7 +346,7 @@ $string['tiny:select_all'] = 'Select all';
|
||||
$string['tiny:select...'] = 'Select...';
|
||||
$string['tiny:selection'] = 'Selection';
|
||||
$string['tiny:shortcut'] = 'Shortcut';
|
||||
$string['tiny:show_blocks'] = 'Show blocks';
|
||||
$string['tiny:show_blocks'] = 'Show paragraph styles';
|
||||
$string['tiny:show_caption'] = 'Show caption';
|
||||
$string['tiny:show_invisible_characters'] = 'Show invisible characters';
|
||||
$string['tiny:size'] = 'Size';
|
||||
|
||||
@@ -206,10 +206,10 @@ $string['config_voicebridge_description'] = 'These settings enable or disable op
|
||||
$string['config_voicebridge_editable'] = 'Conference voice bridge can be edited';
|
||||
$string['config_voicebridge_editable_description'] = 'A conference voice bridge number can be permanently assigned to a room. When assigned, the number cannot be used for any other room.';
|
||||
|
||||
$string['config_preuploadpresentation'] = 'Pre-upload presentation';
|
||||
$string['config_preuploadpresentation'] = 'Presentation file';
|
||||
$string['config_preuploadpresentation_description'] = 'These settings enable or disable options in the UI and also define default values for these options. The feature works only if the Moodle server is accessible to BigBlueButton.';
|
||||
$string['config_preuploadpresentation_editable'] = 'Pre-uploading presentation editable';
|
||||
$string['config_preuploadpresentation_editable_description'] = 'Preupload presentation feature is editable in the UI when the room or conference is added or updated.';
|
||||
$string['config_preuploadpresentation_editable'] = 'Presentation file on activity page';
|
||||
$string['config_preuploadpresentation_editable_description'] = 'Option in activity settings to upload presentation file to show on activity page.';
|
||||
|
||||
$string['config_presentation_default'] = 'Default presentation file';
|
||||
$string['config_presentation_default_description'] = 'A file may be provided for use in all rooms.';
|
||||
|
||||
@@ -41,7 +41,7 @@ $string['bold'] = 'Bold';
|
||||
$string['calendarend'] = '{$a} closes';
|
||||
$string['calendarstart'] = '{$a} opens';
|
||||
$string['cannotaccess'] = 'You can only access this feedback from a course';
|
||||
$string['cannotcreatepagebreak'] = 'Page breaks cannot be added at the beginning of a feedback, and only one page break can be added at the end';
|
||||
$string['cannotcreatepagebreak'] = 'A page break cannot be added at the beginning, and only one page break can be added at the end.';
|
||||
$string['cannotsavetempl'] = 'Saving templates is not allowed';
|
||||
$string['captcha'] = 'Captcha';
|
||||
$string['captchanotset'] = 'Captcha hasn\'t been set.';
|
||||
|
||||
Reference in New Issue
Block a user