-
Bug
-
Resolution: Fixed
-
Minor
-
4.2
-
MOODLE_402_STABLE
-
MOODLE_402_STABLE
-
MDL-76942-master-2 -
This seems related to lang string change in MDL-76739.
001 Scenario: Activities can not be added when the admin restricts the permissions # /var/www/html/course/tests/behat/restrict_available_activities.feature:32
|
And I press "Add an activity or resource" # /var/www/html/course/tests/behat/restrict_available_activities.feature:42
|
The "(//html/.//input
|
[translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'submit' or translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'image' or translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'button' or translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'reset'][((./@id = 'Add an activity or resource' or ./@name = 'Add an activity or resource') or contains(./@value, 'Add an activity or resource') or contains(./@title, 'Add an activity or resource') or contains(./@aria-label, 'Add an activity or resource'))] | //html/.//input
|
[translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'image'][contains(./@alt, 'Add an activity or resource')] | //html/.//button
|
[((./@id = 'Add an activity or resource' or ./@name = 'Add an activity or resource') or contains(./@value, 'Add an activity or resource') or contains(./@title, 'Add an activity or resource') or contains(./@aria-label, 'Add an activity or resource') or contains(normalize-space(string(.)), 'Add an activity or resource'))] | //html/.//*
|
[translate(./@role, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'button'][((./@id = 'Add an activity or resource' or ./@name = 'Add an activity or resource') or contains(./@value, 'Add an activity or resource') or contains(./@title, 'Add an activity or resource') or contains(./@aria-label, 'Add an activity or resource') or contains(normalize-space(string(.)), 'Add an activity or resource'))])[1]" xpath node is not visible and it should be visible (Behat\Mink\Exception\ExpectationException)
|
- has a non-specific relationship to
-
MDL-77053 Make the new "Insert an activity or resource before X" more accessible
- Open
-
MDL-76739 Import fixed English strings (en_fix) into the main English language pack for 4.1.1
- Closed
-
MDL-75596 Adding new activities should be possible anywhere in a section
- Closed