Andrew Nicols
4033f08fa9
MDL-82373 behat: Stop killing the entire Behat run on driver error
...
If there's a driver error, for example from a step taking too long, then
this kills the entire Behat run and we have to start from scratch.
This change instead throws away the original connection and starts a new
one to try and continue the test.
2024-07-17 09:28:34 +08:00
Andrew Nicols
57cabed4bb
MDL-82373 behat: Stop calling ensure_node_is_visible before click
...
W3C WebDriver Element::Click, Element::Clear, and Element::SendKeys all
state that the WebDriver implementation (chromedriver, geckodriver,
edgedriver) should scroll the element into view if it is not already
visible.
It is wrong for us to check if the element is visible or not before
calling these as it may not be but will during the click/clear/type
event.
2024-07-17 09:28:34 +08:00
Andrew Nicols
5fb6e4cba1
MDL-82373 mod_lesson: Fix failing behat tests for Selenium 4
...
Recent versions of Chrome do not re-render the page but return previous
page state from cache. The page state had the Submit button disabled
before navigating away.
Refreshing the page addresses this.
2024-07-17 09:28:33 +08:00
Andrew Nicols
38a1bc022c
MDL-77706 atto_link: Work around Mozilla bug 1906559
...
This upstream bug prevents creation of an anchor with a hyperlink where
the content has a block-like display.
The workaround is to wrap the content in a span, set the display to
inline, call the `createLink` command on the span, move the content out
of the span, and then remove it.
This is only done for Firefox-based browsers.
2024-07-17 09:28:33 +08:00
Huong Nguyen
fd487cd3f2
weekly release 4.5dev
2024-07-12 08:41:58 +07:00
Huong Nguyen
abcac5bc8f
NOBUG: Add upgrade notes
2024-07-12 08:41:57 +07:00
Huong Nguyen
eaca2203a0
NOBUG: Fixed SVG browser compatibility
2024-07-12 08:41:05 +07:00
Sara Arjona
e3431a56ac
Merge branch 'MDL-80489-main-patch' of https://github.com/HuongNV13/moodle
2024-07-11 10:22:25 +02:00
Huong Nguyen
a0394ce78f
MDL-80489 qtype_ddtos: Update Behat to match language string
2024-07-11 15:15:34 +07:00
Huong Nguyen
e28937ccbc
MDL-80489 qtype_ddtos: Update language string
2024-07-11 11:16:44 +07:00
Huong Nguyen
28f62b717a
Merge branch 'MDL-82245' of https://github.com/paulholden/moodle
2024-07-11 11:13:50 +07:00
Jun Pataleta
a91fc78a90
Merge branch 'MDL-81265-main' of https://github.com/junpataleta/moodle
2024-07-11 12:08:58 +08:00
Andrew Nicols
7d693d70c9
Merge branch 'MDL-78936-main' of https://github.com/HuongNV13/moodle
2024-07-11 11:52:52 +08:00
Jun Pataleta
edafd17fc4
MDL-81265 mod_workshop: Verify "Setup phase" heading with "should exist"
2024-07-11 11:49:20 +08:00
Andrew Nicols
5efe90187d
Merge branch 'MDL-82431' of https://github.com/paulholden/moodle
2024-07-11 11:46:04 +08:00
Jun Pataleta
5597a4eb33
Merge branch 'MDL-82168-main' of https://github.com/junpataleta/moodle
2024-07-11 11:21:21 +08:00
Sara Arjona
e559a3c325
MDL-82168 badges: Fix and improve behat tests
2024-07-11 11:19:34 +08:00
Sara Arjona
8c006300e5
MDL-82168 badges: Move enable/disable badges to modal
...
Co-authored-by: Ferran Recio <ferran@moodle.com>
2024-07-11 11:19:34 +08:00
Sara Arjona
814753e558
MDL-82168 badges: Add WS to enable/disable badges
2024-07-11 11:19:34 +08:00
Huong Nguyen
2845d8cbde
Merge branch 'MDL-79717' of https://github.com/paulholden/moodle
2024-07-11 09:34:52 +07:00
Huong Nguyen
0ef2fa73ae
Merge branch 'MDL-80489-master' of https://github.com/danghieu1407/moodle
2024-07-11 09:28:56 +07:00
Huong Nguyen
f8f5d77c3f
Merge branch 'MDL-76654-main' of https://github.com/lameze/moodle
2024-07-11 09:19:26 +07:00
Ilya Tregubov
1432af6a2e
Merge branch 'MDL-81661-main' of https://github.com/sarjona/moodle
2024-07-11 09:54:05 +08:00
Jun Pataleta
4da240f2a2
MDL-66994 upgrade: Move upgrade step after 4.4.0 release upgrade line
2024-07-11 09:22:12 +08:00
Paul Holden
8413f61260
MDL-82431 phpunit: correct unit test filename and classname.
...
Standardise the same test cases, e.g. make final, covers notation,
static data providers, namespaces, etc.
Once the tests run, a couple of them failed. They required changes
to assertions to make them pass.
2024-07-10 19:06:14 +01:00
Sara Arjona
c7a07f2bab
Merge branch 'MDL-82391' of https://github.com/paulholden/moodle
2024-07-10 18:05:46 +02:00
Sara Arjona
82f5cc6829
Merge branch 'MDL-81886-main' of https://github.com/ferranrecio/moodle
2024-07-10 15:20:59 +02:00
Paul Holden
bd0f8a058f
MDL-79717 phpunit: ensure unique data provider keys in tests.
...
Duplicate data provider keys were overwriting and/or duplicating
one another, leading to some cases being skipped.
Other "duplicate array key" errors were picked up by `phpcs` in
this dragnet across all tests, which have also been fixed.
2024-07-10 14:08:49 +01:00
ferranrecio
32e090561b
MDL-81886 tool_generator: allow scenario outlines in testing features
...
The tool_generator creates a testing scenario that can execute
all steps from behat_data_generators (with some limitations).
However, it cannot set any admin settings, which limits the
tool's ability to generate many real test scenarios.
2024-07-10 12:27:08 +02:00
Ilya Tregubov
fece8de140
Merge branch 'MDL-82323-striptags_error' of https://github.com/leonstr/moodle
2024-07-10 12:18:10 +08:00
Huong Nguyen
81b2398cad
Merge branch 'MDL-82057-main' of https://github.com/sarjona/moodle
2024-07-10 10:15:04 +07:00
Huong Nguyen
5f37f860e2
Merge branch 'MDL-81798-main' of https://github.com/ferranrecio/moodle
2024-07-10 09:56:48 +07:00
Huong Nguyen
6d3ee65ce2
Merge branch 'MDL-82324-main' of https://github.com/ferranrecio/moodle
2024-07-10 09:47:28 +07:00
Huong Nguyen
0644eeb752
Merge branch 'MDL-43938-main' of https://github.com/sarjona/moodle
2024-07-10 09:20:44 +07:00
Huong Nguyen
6c6b17187b
Merge branch 'MDL-68211-main' of https://github.com/sarjona/moodle
2024-07-10 09:07:33 +07:00
Huong Nguyen
761df2bebc
Merge branch 'MDL-82236-main' of https://github.com/andelacruz/moodle
2024-07-10 09:04:00 +07:00
Huong Nguyen
cc2bb2bcc5
Merge branch 'MDL-82401' of https://github.com/timhunt/moodle
2024-07-10 08:57:17 +07:00
Sara Arjona
b7685b0e99
Merge branch 'MDL-81349' of https://github.com/paulholden/moodle
2024-07-10 09:17:59 +08:00
Sara Arjona
2b3ff1633f
Merge branch 'MDL-82360' of https://github.com/paulholden/moodle
2024-07-10 09:17:59 +08:00
Sara Arjona
5b064f958d
Merge branch 'MDL-77834' of https://github.com/paulholden/moodle
2024-07-10 09:17:59 +08:00
Sara Arjona
c743676c27
Merge branch 'MDL-82326' of https://github.com/paulholden/moodle
2024-07-10 09:17:59 +08:00
Sara Arjona
4fa7cba998
Merge branch 'MDL-66994-main' of https://github.com/meirzamoodle/moodle
2024-07-10 09:17:57 +08:00
Sara Arjona
6bb0f33be9
Merge branch 'MDL-81991-main-alt' of https://github.com/HuongNV13/moodle
2024-07-10 09:16:57 +08:00
Sara Arjona
41b8cd3f73
Merge branch 'MDL-78388' of https://github.com/djarran/moodle
2024-07-10 09:16:57 +08:00
Sara Arjona
c84050bd0c
Merge branch 'MDL-81765-patch' of https://github.com/ilyatregubov/moodle
2024-07-10 09:16:57 +08:00
Sara Arjona
7f6906de02
Merge branch 'MDL-73284_final-deprecation-message_default_loggedoff-message_default_loggedin' of https://github.com/ziegenberg/moodle
2024-07-10 09:16:57 +08:00
Ilya Tregubov
8b92e969ae
MDL-81765 mod_subsection: Remove undesired index.
2024-07-10 09:16:56 +08:00
Sara Arjona
9d6cd34f8a
Merge branch 'MDL-66251-main' of https://github.com/meirzamoodle/moodle
2024-07-10 09:16:56 +08:00
Sara Arjona
402a0b9877
Merge branch 'MDL-82292-main' of https://github.com/ilyatregubov/moodle
2024-07-10 09:16:56 +08:00
Sara Arjona
48658eb73b
Merge branch 'MDL-82234-main' of https://github.com/durenadev/moodle
2024-07-10 09:16:56 +08:00