Jun Pataleta
b6715bb1ae
MDL-82553 behat: Run accessibility tests using WCAG 2.2 success criteria
2024-07-22 14:38:19 +08:00
Ilya Tregubov
6b90c69bda
weekly release 4.1.11+
2024-07-19 09:30:44 +08:00
Sara Arjona
ff33f82ac2
Merge branch 'MDL-82353-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2024-07-17 17:08:31 +02:00
Angelia Dela Cruz
df48a73c5c
MDL-82353 gradingform: Behat to verify marking guide can be set to draft
2024-07-16 17:30:44 +08:00
Andrew Nicols
70ab78478f
MDL-66903 core: Check PHPUNIT_TEST defined before using
2024-07-15 13:42:10 +07:00
Huong Nguyen
8a66b2b99a
Merge branch 'MDL-66903-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2024-07-15 13:22:51 +07:00
Andrew Nicols
ee5ac3f1f3
MDL-66903 core: Introduce \core_component::reset to replace hacks
...
Traditionally we have done this using reflection and it would be better
to do this in a 'proper' fashion in case we ever need to change how it
works.
2024-07-15 12:22:20 +08:00
Andrew Nicols
9e71503ab3
MDL-66903 core: Add option to get core in list of components
...
Note: This change is backported from MDL-81063.
2024-07-15 12:22:19 +08:00
Andrew Nicols
651ecb52d9
MDL-66903 core: Add helper to get component name from classname
...
Note: This change is backported from MDL-81063.
2024-07-15 12:22:19 +08:00
Andrew Nicols
85845b13d7
MDL-66903 testing: Helper to load fixture files
2024-07-15 12:22:17 +08:00
Andrew Nicols
7b0946129c
MDL-66903 testing: Add support for a \tests\ namespace during tests
...
This commit:
- introduces a \tests\ sub-namespace for use in unit tests only
- the path to this the tests/classes directory of the owning parent
- files here are excluded from unit test runs
This is agreed per policy in MDL-80855.
2024-07-15 12:21:54 +08:00
Huong Nguyen
6751ba6500
weekly release 4.1.11+
2024-07-12 08:42:21 +07:00
Jun Pataleta
6d387e4b2b
Merge branch 'MDL-81265-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2024-07-11 12:08:30 +08:00
Jun Pataleta
ed3b73d9fc
MDL-81265 mod_workshop: Verify "Setup phase" heading with "should exist"
2024-07-11 11:54:39 +08:00
Laurent David
f95b010ec5
MDL-81265 mod_workshop: Fix accessibility issues
...
* Page title should be h2
* Contrasts in the table headers (for submission, assessment and grading)
should be 4:1 at least
2024-07-11 11:54:39 +08:00
Andrew Nicols
97060da478
Merge branch 'MDL-82431-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2024-07-11 11:47:18 +08:00
Huong Nguyen
9715fd56da
Merge branch 'MDL-79717-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2024-07-11 09:36:07 +07:00
Huong Nguyen
7e3d7fb02d
Merge branch 'MDL-76654-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2024-07-11 09:20:23 +07:00
Paul Holden
a9cc2ebb6e
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:11 +01:00
Paul Holden
1a7ec4cf3d
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:09:00 +01:00
Huong Nguyen
7715c626ad
Merge branch 'MDL-82236-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2024-07-10 09:05:01 +07:00
Angelia Dela Cruz
1c9098aeb8
MDL-82236 mod_data: Behat to display DB activity entry rating
2024-07-09 16:28:28 +08:00
Sara Arjona
5d18431087
Merge branch 'MDL-81296-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2024-07-09 08:50:54 +02:00
Angelia Dela Cruz
0d27c76e34
MDL-81296 mod_data: Behat test for data activity readonly availability
2024-07-09 13:06:35 +08:00
Simey Lameze
8deeed9771
MDL-76654 behat: fixes and improvements to self assessment test
2024-07-08 11:22:39 +08:00
Angelia Dela Cruz
7893a34171
MDL-76654 behat: Coverage for workshop self-assessment
2024-07-08 11:22:39 +08:00
Andrew Nicols
e6966b7ae7
MDL-66903 testing: Fix whitespace
2024-07-05 22:06:09 +08:00
Andrew Nicols
3e81ebecb6
MDL-66903 testing: Reset CFG and component after test
...
This change moves the reset of global test state to the finally section
rather than doing it only if the test passes.
Previously if a test which modifies the `core_component` internals
failed, it would not reset the internal state and impact subsequent
tests.
2024-07-05 22:06:09 +08:00
Ilya Tregubov
f9c5802f4e
weekly release 4.1.11+
2024-07-05 09:02:18 +08:00
Sara Arjona
e6ee7a5b1c
Merge branch 'MDL-80907-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE
2024-07-04 11:19:14 +02:00
Huong Nguyen
17081ee902
MDL-80907 behat: Fix incorrect column selectors
2024-07-04 16:01:53 +07:00
Huong Nguyen
e817dd70db
Merge branch 'MDL-80907-401' of https://github.com/marinaglancy/moodle into MOODLE_401_STABLE
2024-07-04 11:14:56 +07:00
Ilya Tregubov
bc30a904f4
Merge branch 'MDL-63670-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2024-07-04 10:58:57 +08:00
Sara Arjona
b2d9c6ff81
Merge branch 'MDL-82363-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE
2024-07-03 08:24:03 +02:00
Huong Nguyen
18dae18e20
MDL-82363 Calendar: Responsiveness improvement for calendar block
...
Hide the month name if the screen is too small
2024-07-03 11:03:02 +07:00
Sara Arjona
18c7f3cdf3
weekly release 4.1.11+
2024-06-27 16:37:06 +02:00
Sara Arjona
f0b462209a
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2024-06-27 16:37:02 +02:00
Jun Pataleta
974db25816
Merge branch 'MDL-79809-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE
2024-06-27 11:00:52 +08:00
Andrew Nicols
7a02ae5644
MDL-63670 core_message: Tests should not use another testcase as base
2024-06-27 11:00:49 +08:00
Huong Nguyen
a9f24ce125
MDL-79809 environment: Moodle 4.5 requirements
2024-06-24 09:37:38 +07:00
Huong Nguyen
a68fcabc65
MDL-79809 environment: Add missing Moodle 4.4 requirements
2024-06-24 09:37:38 +07:00
Huong Nguyen
2978ffc4a5
MDL-79809 environment: Add recommended custom check
...
Add support for custom environment checks to have a recommended
option in addition to required an optional.
2024-06-24 09:37:38 +07:00
AMOS bot
a694661d5c
Automatically generated installer lang files
2024-06-22 00:13:59 +00:00
Sara Arjona
17124e62a9
weekly release 4.1.11+
2024-06-20 16:31:16 +02:00
Sara Arjona
d9ae012d15
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2024-06-20 16:31:12 +02:00
AMOS bot
c03706fafb
Automatically generated installer lang files
2024-06-20 00:16:13 +00:00
Huong Nguyen
f77aa8c4a7
Merge branch 'MDL-81249-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2024-06-19 09:19:35 +07:00
Angelia Dela Cruz
4044abd156
MDL-81249 gradingform: Behat test that grades are retained
2024-06-18 20:11:33 +08:00
Angelia Dela Cruz
6164556c85
MDL-81249 gradingform: Enhance Behat test for deleting marking guide
2024-06-18 17:47:06 +08:00
Huong Nguyen
69a8f920d4
Merge branch 'MDL-82148_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE
2024-06-18 16:28:34 +07:00