- 23 Jul, 2021 6 commits
-
-
Andrew Nicols authored
-
Andrew Nicols authored
-
Andrew Nicols authored
-
Andrew Nicols authored
The simple pattern matches were conflicting in some situations. To make this backwards compatable we need to convert it to a Regex pattern match instead, and provide the quoted and unquoted variants.
-
Andrew Nicols authored
There were two issues here: * I am on the [categoryname] category page page (duplicated page) * the wrong URL was being used Since an incorrect URL was used I felt it safe to rename the step from 'category page page' to 'category page'.
-
Andrew Nicols authored
This commit makes the following improvements to core page resolverss: * allows for mixed case naming (course, Course, etc.) * allows fields other than the idnumber to be specified: ** course: idnumber, shortname, fullname ** course category: idnumber, name Whilst some of these fields are not unique, they will typically be unique in most test scenarios. Where they are not then the idnumber should be used in preference.
-
- 03 Jun, 2021 1 commit
-
-
Dongsheng Cai authored
- Move aria-* atrributes from <p> to <li> - Move "role" attribute from <p> to <li> - Update behat tests Based on reference implementation from: - https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-2/treeview-2a.html - https://www.w3.org/WAI/GL/wiki/Using_ARIA_trees
-
- 22 Jul, 2020 1 commit
-
-
Andrew Nicols authored
-
- 16 Jul, 2020 2 commits
-
-
Andrew Nicols authored
This is a huge performance improvement for behat. The current set of steps loads the page It then looks for the Classic/Clean version of the settings menu If it fails to find it looks for the Boost Cog Then it clicks the "Turn editing on" button This can take a substantial period. We do not actually need to run these steps as we are able to jump straight to the URL. We already have access to the sesskey value required to do this. There is not loss in testing functionality because the actual testing of the Turn editing functionality is tested in other places sufficiently.
-
Andrew Nicols authored
-
- 29 Jun, 2020 1 commit
-
-
Andrew Nicols authored
-
- 01 May, 2020 1 commit
-
-
Also moving it from behat_forms to behat_navigation
-
- 24 Apr, 2020 1 commit
-
-
sam marshall authored
-
- 25 Feb, 2020 1 commit
-
-
David Mudrák authored
The exception class itself adds the "not found" to the error message.
-
- 20 Jan, 2020 1 commit
-
-
Eloy Lafuente authored
Passing parameters to implode() in reverse order is deprecated, use implode($glue, $parts) instead of implode($parts, $glue). This commit corresponds to phpunit and manual detections, core files.
-
- 15 Oct, 2019 1 commit
-
-
Eloy Lafuente authored
resolve_page_instance_helper() already processes the type, returning the correct context that should be processing the navigation URL. With that extra call to parse_page_name() the 2nd call always returns "core", ultimately leading to tons of behat failures because "core" is not aware of those (plugin, quiz for now) pages typology.
-
- 14 Oct, 2019 2 commits
- 20 Mar, 2019 1 commit
-
-
sam marshall authored
-
- 22 Feb, 2019 1 commit
-
-
Mathew May authored
Move behat override steps from boost into their Moodle core locations & Move the effected core behat steps into bootstrapbase as override steps.
-
- 20 Aug, 2018 1 commit
-
-
victor authored
Definition step deprecated and affected tests modified.
-
- 24 May, 2017 1 commit
-
-
gthomas2 authored
-
- 04 Apr, 2017 1 commit
-
-
Part of MDL-55611 epic.
-
- 03 Apr, 2017 2 commits
-
-
This commit also: - Rename i_am_on_course_page to i_am_on_course_homepage. - Pass false to out_as_local_url() Part of MDL-55611 epic.
-
Part of MDL-55611 epic.
-
- 13 Mar, 2017 1 commit
-
-
gthomas2 authored
-
- 03 Mar, 2017 1 commit
-
-
gthomas2 authored
-
- 07 Dec, 2016 1 commit
-
-
Marina Glancy authored
-
- 06 Dec, 2016 1 commit
-
-
Marina Glancy authored
-
- 25 Oct, 2016 1 commit
-
-
Rajesh Taneja authored
-
- 13 May, 2016 1 commit
-
-
Cameron Ball authored
-
- 06 Apr, 2016 2 commits
-
-
Rajesh Taneja authored
xpathLiteral has been depreacted, use Escaper instead
-
Rajesh Taneja authored
Behat 3.x doesn't support chained steps and hence this is first step to get rid of chained steps in core.
-
- 11 Mar, 2016 2 commits
-
-
Rajesh Taneja authored
-
Rajesh Taneja authored
-
- 19 Feb, 2016 1 commit
-
-
Rajesh Taneja authored
If navigation node to expand is a link then first click on it and navigate to next page where it is expanded, and then click on link within. This is needed as some drivers click on link and don't open the navigation node which are links
-
- 29 Jan, 2016 2 commits
-
-
Also: * In behat, ensure nav node exists before checking attribute (Credit to Rajesh Taneja) * Remove some unused JS constants * Fix debugging notice for users without settings block
-
-
- 22 Jan, 2016 1 commit
-
-
- 03 Nov, 2015 1 commit
-
-
Rajesh Taneja authored
-