Skip to content

Commit 03aab35

Browse files
committed
MOBILE-4796 behat: Update langpacks and fix behats
1 parent b31a872 commit 03aab35

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

src/addons/block/myoverview/lang.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"allincludinghidden": "All (including removed from view)",
44
"aria:card": "Switch to card view",
55
"aria:list": "Switch to list view",
6-
"browseallcourses": "Browse available courses",
6+
"browseallcourses": "Browse all courses",
77
"favourites": "Starred",
88
"future": "Future",
99
"hiddencourses": "Removed from view",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"pluginname": "Main menu"
2+
"pluginname": "Additional activities"
33
}

src/addons/block/sitemainmenu/tests/behat/block_sitemainmenu.feature

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@addon_block_site_main_menu @app @block @block_site_main_menu @javascript @lms_from5.0
2-
Feature: Basic tests of Main menu block
2+
Feature: Basic tests of Additional activities block
33

44
Background:
55
Given the Moodle site is compatible with this feature
@@ -10,18 +10,18 @@ Feature: Basic tests of Main menu block
1010
| blockname | contextlevel | reference | pagetypepattern | defaultregion |
1111
| site_main_menu | System | 1 | site-index | side-pre |
1212

13-
Scenario: View the Main menu block in site home
13+
Scenario: View the Additional activities block in site home
1414
Given the following "activities" exist:
1515
| activity | course | section | name |
1616
| forum | Acceptance test site | 0 | My forum name |
1717
And I entered the app as "student1"
1818
When I press "Site home" in the app
1919
And I press "Open block drawer" in the app
20-
Then I should find "My forum name" within "Main menu" "ion-card" in the app
20+
Then I should find "My forum name" within "Additional activities" "ion-card" in the app
2121
When I press "My forum name" in the app
2222
Then the header should be "My forum name" in the app
2323

24-
Scenario: Activities in main menu block can be made available but not visible on a course page
24+
Scenario: Activities in additional activities block can be made available but not visible on a course page
2525
Given the following config values are set as admin:
2626
| allowstealth | 1 |
2727
And the following "activities" exist:
@@ -36,8 +36,8 @@ Feature: Basic tests of Main menu block
3636
And I entered the app as "student1"
3737
When I press "Site home" in the app
3838
And I press "Open block drawer" in the app
39-
Then I should find "Visible forum" within "Main menu" "ion-card" in the app
40-
Then I should not find "My forum name" within "Main menu" "ion-card" in the app
39+
Then I should find "Visible forum" within "Additional activities" "ion-card" in the app
40+
Then I should not find "My forum name" within "Additional activities" "ion-card" in the app
4141
When I press "Visible forum" in the app
4242
Then the header should be "Visible forum" in the app
4343

@@ -51,4 +51,4 @@ Feature: Basic tests of Main menu block
5151
And I entered the app as "student1"
5252
When I press "Site home" in the app
5353
And I press "Open block drawer" in the app
54-
Then I should not find "Main menu" in the app
54+
Then I should not find "Additional activities" in the app

src/addons/mod/lesson/lang.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"loginfail": "Login failed, please try again...",
3939
"lowscore": "Low score",
4040
"lowtime": "Low time",
41-
"maximumnumberofattemptsreached": "Maximum number of attempts reached - Moving to next page",
41+
"maximumnumberofattemptsreached": "You have reached the maximum number of tries for this question. The lesson will now move to the next page.",
4242
"modattemptsnoteacher": "Student review only works for students.",
4343
"modulenameplural": "Lessons",
4444
"noanswer": "One or more questions have no answer given. Please go back and submit an answer.",
-53 Bytes
Loading
160 Bytes
Loading

0 commit comments

Comments
 (0)