Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moodle
moodle
Commits
1524c4d6
Commit
1524c4d6
authored
Oct 25, 2018
by
Damyon Wiese
Browse files
Merge branch 'MDL-63755-master' of
git://github.com/andrewnicols/moodle
parents
980ed542
c7120f78
Changes
2
Hide whitespace changes
Inline
Side-by-side
theme/boost/tests/behat/contextmenu.feature
View file @
1524c4d6
...
...
@@ -18,7 +18,7 @@ Feature: Context settings menu
Scenario
:
Teacher can use the context settings menu
And
I log in as
"teacher1"
And
I am on
"Course 1"
course homepage
And
I click on
".context-header-settings-menu [role=
menuitem
]"
"css_element"
And
I click on
".context-header-settings-menu [role=
button
]"
"css_element"
And
I choose
"Edit settings"
in the open action menu
And
I should see
"Edit course settings"
And
I log out
...
...
@@ -26,5 +26,5 @@ Feature: Context settings menu
Scenario
:
Student cannot use the context settings menu
And
I log in as
"student1"
And
I am on
"Course 1"
course homepage
And
".context-header-settings-menu [role=
menuitem
]"
"css_element"
should not exist
And
".context-header-settings-menu [role=
button
]"
"css_element"
should not exist
And
I log out
theme/boost/tests/behat/regionmainsettingsmenu.feature
View file @
1524c4d6
...
...
@@ -21,13 +21,13 @@ Feature: Region main settings menu
Scenario
:
Teacher can use the region main settings menu
And
I log in as
"teacher1"
And
I am on
"Course 1"
course homepage
And
"#region-main-settings-menu [role=
menuitem
]"
"css_element"
should not exist
And
"#region-main-settings-menu [role=
button
]"
"css_element"
should not exist
And
I follow
"Choice name"
And
I click on
"#region-main-settings-menu [role=
menuitem
]"
"css_element"
And
I click on
"#region-main-settings-menu [role=
button
]"
"css_element"
And
I choose
"Edit settings"
in the open action menu
And I should see "Updating
:
Choice"
And
I navigate to course participants
And
I click on
"#region-main-settings-menu [role=
menuitem
]"
"css_element"
And
I click on
"#region-main-settings-menu [role=
button
]"
"css_element"
And
I choose
"Enrolment methods"
in the open action menu
And
I should see
"Enrolment methods"
And
I log out
...
...
@@ -35,7 +35,7 @@ Feature: Region main settings menu
Scenario
:
Student cannot use all options in the region main settings menu
And
I log in as
"student1"
And
I am on
"Course 1"
course homepage
And
"#region-main-settings-menu [role=
menuitem
]"
"css_element"
should not exist
And
"#region-main-settings-menu [role=
button
]"
"css_element"
should not exist
And
I follow
"Choice name"
And
"#region-main-settings-menu [role=
menuitem
]"
"css_element"
should not exist
And
"#region-main-settings-menu [role=
button
]"
"css_element"
should not exist
And
I log out
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment