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
ccd8a102
Commit
ccd8a102
authored
Oct 23, 2018
by
David Monllaó
Browse files
Merge branch 'MDL-62139-master-fix3' of
git://github.com/damyon/moodle
parents
a3d57af8
3ed1cec0
Changes
2
Hide whitespace changes
Inline
Side-by-side
admin/tool/policy/tests/behat/consent.feature
View file @
ccd8a102
...
...
@@ -420,7 +420,7 @@ Feature: User must accept policy managed by this plugin when logging in and sign
# Create new version of the policy document.
And
I log in as
"admin"
And
I navigate to
"Users > Privacy and policies > Manage policies"
in site administration
When
I follow
"Actions"
# Menu is already open because javascript is disabled.
Then
I should see
"View"
And
I should see
"Edit"
And
I should see
"Set status to \"
Inactive\""
...
...
theme/boost/tests/behat/behat_theme_boost_behat_action_menu.php
View file @
ccd8a102
...
...
@@ -39,7 +39,7 @@ class behat_theme_boost_behat_action_menu extends behat_action_menu {
public
function
i_open_the_action_menu_in
(
$element
,
$selectortype
)
{
// Gets the node based on the requested selector type and locator.
$node
=
$this
->
get_node_in_container
(
"css_element"
,
"[role=
menuitem
][aria-haspopup=true]"
,
$selectortype
,
$element
);
$node
=
$this
->
get_node_in_container
(
"css_element"
,
"[role=
button
][aria-haspopup=true]"
,
$selectortype
,
$element
);
// Check if it is not already opened.
if
(
$node
->
getAttribute
(
'aria-expanded'
)
===
'true'
)
{
...
...
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