Andrew Nicols
9d47a69094
MDL-67687 behat: Add axe web accessibility tool integration
2020-08-04 18:56:06 +08:00
Tom Dickman
68049ac848
MDL-65923 core grades: Add a new event for when a grade item is deleted
2020-07-30 08:18:59 +10:00
Andrew Nicols
b284293402
MDL-69138 behat: Update session->visit() to use visit step
2020-07-22 16:43:08 +08:00
Andrew Nicols
d61fa24239
MDL-69138 behat: Add "I visit :localurl" step
2020-07-22 16:43:08 +08:00
Eloy Lafuente (stronk7)
8e44da5653
Merge branch 'MDL-69160-master' of git://github.com/andrewnicols/moodle
2020-07-21 23:29:29 +02:00
Adrian Greeve
17e99314a2
Merge branch 'MDL-67657-master' of git://github.com/andrewnicols/moodle
2020-07-21 14:47:14 +08:00
Eloy Lafuente (stronk7)
a16ab5697d
Merge branch 'MDL-69278-master' of git://github.com/andrewnicols/moodle
2020-07-18 11:55:48 +02:00
Jake Dallimore
988d0d4c50
Merge branch 'MDL-69215-master-2' of git://github.com/andrewnicols/moodle
2020-07-16 16:25:55 +02:00
Andrew Nicols
083604ea09
MDL-67657 behat: Open course with editing using URL
...
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.
2020-07-16 11:06:43 +08:00
Andrew Nicols
cd6eadd407
MDL-67657 behat: Convert existing uses of executeScript
2020-07-16 11:06:31 +08:00
Andrew Nicols
05f23d5a2b
MDL-69278 behat: Correct variable name
2020-07-16 08:29:22 +08:00
Andrew Nicols
0d751c196b
MDL-69278 behat: Mark tests as failed when unable to start Session
2020-07-16 08:29:22 +08:00
Andrew Nicols
6f5f08a846
MDL-69215 output: Correct use of icon_system::instance
2020-07-16 07:29:22 +08:00
Andrew Nicols
4a4a367251
MDL-69215 output: Correct font awesome for themes
2020-07-16 07:29:22 +08:00
Andrew Nicols
b49cb92e82
MDL-69068 behat: New step to support singular generators
2020-07-15 15:27:31 +08:00
Andrew Nicols
2c37677635
MDL-69160 behat: Add form field setter step
2020-07-13 14:22:31 +08:00
Jake Dallimore
0ad85f4148
Merge branch 'MDL-69232-master' of git://github.com/andrewnicols/moodle
2020-07-10 15:12:44 +08:00
Andrew Nicols
4df5ee039a
MDL-69232 behat: Simplify hooks
...
The behat hooks were needlessly complicated which made them much harder
to read, and understand, leading to bugs during development.
These have been significantly simplified to favour clarity over
overloading.
2020-07-10 08:40:30 +08:00
Andrew Nicols
5306f2f2b9
MDL-69232 behat: Make selenium start more fault tolerant
...
The session was previously only started once, but has now been moved to
restart between each test. Because of this the `$session->start()` is
now called more frequently which exposes a pre-existing issue whereby
Selenium will periodically fail to start.
When the session was only started at the beginning of the test, and at
occasional other times, it made sense to always stop the test runner
because it signified an issue with obtaining the session at all.
Since the session is restarted more frequently, and now between every
test, it no longer makes sense to do this. The test should only be
_stopped_ if the first attempt to obtain the Session fails. Once a
Session has been retrieved at least once it no longer makes sense to
assume that the failure was a configuration failure, but a connection
failure. Therefore subsequent tests should be attempted.
2020-07-10 08:40:30 +08:00
Andrew Nicols
5e99058860
MDL-69232 behat: Add debugging information to Selenium fails
2020-07-09 09:30:15 +08:00
Andrew Nicols
41426e0aa4
MDL-69232 behat: Move suite tests to BeforeSuite hook
2020-07-09 09:27:11 +08:00
Eloy Lafuente (stronk7)
3303daf3bf
Merge branch 'm40_MDL-68588_Hide_Backuptempdir_From_Message_And_Debuginfo' of https://github.com/scara/moodle
2020-07-07 19:09:59 +02:00
Jake Dallimore
3d7a8a09ba
Merge branch 'MDL-63966' of https://github.com/Chocolate-lightning/moodle
2020-07-07 13:54:27 +08:00
Andrew Nicols
3bf4744303
Merge branch 'MDL-67594-master-2' of git://github.com/mihailges/moodle
2020-07-07 09:32:20 +08:00
Mihail Geshoski
41bc63dbf3
MDL-67594 core_lock: Remove supports_recursion() usages
2020-07-06 13:01:20 +08:00
Jake Dallimore
68e240284c
Merge branch 'MDL-63004' of https://github.com/Chocolate-lightning/moodle
2020-07-06 11:55:12 +08:00
Mathew May
d0ba284421
MDL-63966 core: Remove tests covering removed functions
2020-07-06 11:44:04 +08:00
Mathew May
f87f23777f
MDL-63004 behat: Final removal of i_navigate_to_node_in
2020-07-06 11:39:13 +08:00
Jake Dallimore
6ceba9e0e8
Merge branch 'MDL-69136-master' of git://github.com/andrewnicols/moodle
2020-07-06 10:44:10 +08:00
Matteo Scaramuccia
82850a0418
MDL-68588 Backup: Hide ->backuptempdir in exception info
2020-07-03 21:17:42 +02:00
Andrew Nicols
d128bf726e
MDL-69136 behat: Improve reliability of navigation steps
2020-06-29 11:36:36 +08:00
Andrew Nicols
aacfff0bc8
MDL-69072 behat: Remove restart_browser_after feature
...
This is no longer required as the Mink session is restarted after every
test regardless.
2020-06-29 11:05:53 +08:00
Andrew Nicols
675e981004
MDL-69072 behat: Relaunch browser session between scenarios
2020-06-26 21:17:22 +08:00
Andrew Nicols
c7fb9fe55a
MDL-66568 behat: Reset theme CSS between scenarios
2020-06-17 07:46:23 +08:00
Shamim Rezaie
ce80716a8e
MDL-68991 core: delete core_get_userfeedback_url webservice
2020-06-10 16:12:03 +10:00
Shamim Rezaie
292a67aede
MDL-68991 core: Prevent popup blockers blocking feedback window
...
Some browsers like Firefox are very inflexible with window.open()
and block it if it is not instantly invoked after the user click.
Also according to https://stackoverflow.com/a/6807615 it is best
practice to replace self:: with static::
2020-06-10 16:10:53 +10:00
Shamim Rezaie
4cdcd23fb2
MDL-68931 core: No feedback link on footer if the feature is disabled
2020-06-10 16:10:53 +10:00
Adrian Greeve
ac69c0eb96
Merge branch 'MDL-68826-master' of git://github.com/ferranrecio/moodle
2020-06-05 13:35:03 +08:00
Shamim Rezaie
363aaf6eaa
MDL-68076 core: log user's click on feedback links
2020-06-04 11:57:26 +10:00
Shamim Rezaie
6872c96569
MDL-68076 core: webservice to get the feedback url
2020-06-04 11:38:46 +10:00
Shamim Rezaie
1a4c8e0275
MDL-68076 core: webservice to record feedback actions users take
2020-06-03 17:43:52 +10:00
Ferran Recio
709cab79ed
MDL-68826 behat: new step I close all opened windows
2020-05-29 13:34:13 +02:00
Víctor Déniz Falcón
db1fb23ce2
Merge branch 'MDL-67813-master-1' of git://github.com/mihailges/moodle
2020-05-28 13:00:16 +01:00
Victor Deniz Falcon
7a82ee7ed6
MDL-67813 core: Add a manual 'enter' key press behat action step
2020-05-28 12:06:32 +08:00
Eloy Lafuente (stronk7)
08c6eca7e9
Merge branch 'MDL-68789-master' of git://github.com/crazyserver/moodle
2020-05-26 23:43:05 +02:00
Eloy Lafuente (stronk7)
60fe1f8c9d
MDL-68388 core_grades: Tweak unit test assertion to make Oracle happy
...
Also modify some comments and get rid of some void return types.
2020-05-26 19:00:24 +02:00
Jun Pataleta
8aa0f2c4d8
Merge branch 'MDL-45184-master' of git://github.com/junpataleta/moodle
2020-05-26 12:39:24 +08:00
Adrian Greeve
b2978c1787
Merge branch 'MDL-68757' of https://github.com/timhunt/moodle
2020-05-26 10:33:03 +08:00
Andrew Nicols
17238ab079
MDL-68388 grade: Tidy comments and whitespace
2020-05-26 10:15:52 +08:00
Andrew Nicols
a7aaf91855
Merge branch 'MDL-68388' of https://github.com/marcusboon/moodle
2020-05-26 10:11:08 +08:00