diff --git a/mod/url/lang/en/url.php b/mod/url/lang/en/url.php index dd2934ff37b..a8ca6fb0ea2 100644 --- a/mod/url/lang/en/url.php +++ b/mod/url/lang/en/url.php @@ -23,7 +23,7 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -$string['clicktoopen'] = 'Click {$a} link to open resource.'; +$string['clicktoopen'] = 'Click on {$a} to open the resource.'; $string['configdisplayoptions'] = 'Select all options that should be available, existing settings are not modified. Hold CTRL key to select multiple fields.'; $string['configframesize'] = 'When a web page or an uploaded file is displayed within a frame, this value is the height (in pixels) of the top frame (which contains the navigation).'; $string['configrolesinparams'] = 'Should customised role names (from the course settings) be available as variables for URL parameters?'; diff --git a/mod/url/tests/behat/url_activity_completion.feature b/mod/url/tests/behat/url_activity_completion.feature index b2da6473ff3..f87c4c816b5 100644 --- a/mod/url/tests/behat/url_activity_completion.feature +++ b/mod/url/tests/behat/url_activity_completion.feature @@ -31,7 +31,9 @@ Feature: View activity completion information in the URL resource | completionview | 1 | | display | 0 | When I am on the "Music history" "url activity" page logged in as teacher1 - Then "Music history" should have the "View" completion condition + Then "Music history" "link" should exist + And I should see "Click on Music history to open the resource." + And "Music history" should have the "View" completion condition Scenario: View automatic completion items in automatic display mode as student Given the following "activity" exists: