24205 Commits

Author SHA1 Message Date
Andrew Nicols
2fd55eddff
Merge branch 'MDL-78018-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-06-29 11:02:09 +08:00
Ilya Tregubov
76ec26032e
Merge branch 'MDL-77286-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE 2023-06-29 09:44:32 +08:00
Simey Lameze
edf6ad1ee2 MDL-77286 behat: change window size to large to avoid random fails 2023-06-27 17:12:21 +08:00
Andrew Nicols
904e04a14f
Merge branch 'MDL-78172-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-06-24 22:00:12 +08:00
Andrew Nicols
70a0c87fd3 Merge branch 'MDL-78056-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE 2023-06-22 14:37:44 +02:00
Andrew Nicols
0e3c4ad99b Merge branch 'MDL-78435-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-06-22 14:37:43 +02:00
Andrew Nicols
de329f8268 Merge branch 'MDL-75913-401' of https://github.com/davewoloszyn/moodle into MOODLE_401_STABLE 2023-06-22 14:37:43 +02:00
Sara Arjona
97b7c894f3 Merge branch 'MDL-76635-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE 2023-06-21 14:02:22 +02:00
Ilya Tregubov
e34bb395fc
Merge branch 'MDL-77591-401' of https://github.com/justusdieckmann/moodle into MOODLE_401_STABLE 2023-06-21 16:58:44 +08:00
Simey Lameze
8bcadeff35 MDL-76635 behat: improve submission comments test 2023-06-21 12:45:36 +08:00
Justus Dieckmann
049815cd5f MDL-77591 mod_assign: Fix feedback zip import for group submissions
Import now checks whether assignment is an group submission and
matches group ids instead of user ids in that case.

Additionally check for original unchanged files to not import in
group files instead of user files.
2023-06-20 20:19:44 +02:00
David Woloszyn
86a2213223 MDL-75913 behat: Use alternatives to Atto in tests 2023-06-19 16:38:18 +10:00
Andrew Nicols
a6e11f20da MDL-75913 behat: Add support for file uploads in page generators 2023-06-19 16:38:18 +10:00
Laurent David
301f556e41 MDL-78056 mod_h5pactivity: Fix incorrect attempt report
* Fix interpretation of the results on the attempt report whenever case
sensitive option is enabled.
2023-06-19 06:12:05 +02:00
Paul Holden
0f052d1c35
MDL-78435 mod_assign: ensure due date is always after start date. 2023-06-16 18:42:10 +01:00
Simey Lameze
460e2c0c1e
MDL-70152 behat: reply to post using data generator 2023-06-15 12:05:41 +08:00
Andrew Nicols
4997295c38
Merge branch 'MDL-77224-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-06-15 12:02:40 +08:00
Andrew Nicols
196ed7530b
Merge branch 'MDL-69231-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE 2023-06-15 10:56:53 +08:00
Ilya Tregubov
7e523dfff9
Merge branch 'MDL-77542-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-06-15 10:36:34 +08:00
Ilya Tregubov
053ad4a57e
Merge branch 'MDL-76733-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE 2023-06-15 10:23:36 +08:00
Andrew Nicols
1adbb84d07
MDL-76733 mod_assign: Remove JS requirement for time-based tests
Converting these tests to use an onlinetext submission and drop the JS
requirement means that they are much less susceptible to runtime issues,
and not susceptible to those caused by JS at all.
2023-06-15 09:34:06 +08:00
Andrew Nicols
b5fa1ee8dc
MDL-76733 mod_assign: Address random failure
This random failure was happening because of the time required to render
and interact with the file picker which sometimes exceeded 2 seconds,
depending on the speed of the machine running the tests.

Converting these tests to use an onlinetext submission and drop the JS
requirement means that they are much less susceptible to runtime issues,
and not susceptible to those caused by JS at all.
2023-06-15 09:33:42 +08:00
Sara Arjona
86b030d671 Merge branch 'MDL-76733-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE 2023-06-14 16:22:26 +02:00
Sara Arjona
29d1702f82 Merge branch 'MDL-76715-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE 2023-06-14 13:19:03 +02:00
Ilya Tregubov
beb0328060
Merge branch 'MDL-70152-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE 2023-06-14 13:25:03 +08:00
Amaia Anabitarte
789361ae13 MDL-76715 mod_data: Remove data_records when the last field is deleted 2023-06-13 09:35:09 +02:00
Jake Dallimore
f5e4dcf609
Merge branch 'MDL-73052-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE 2023-06-13 14:44:52 +08:00
Paul Holden
d9c8e2561e
MDL-77224 mod_h5pactivity: clean up attempt data on activity deletion. 2023-06-11 18:37:13 +01:00
Paul Holden
3215a7b190
MDL-78018 mod_assign: format group name in grading table. 2023-06-11 15:02:36 +01:00
Paul Holden
afe9d11746
MDL-77542 mod_assign: remove duplicate grade heading from grader.
It's already part of the subsequent rendered form.
2023-06-11 15:01:35 +01:00
Paul Holden
9ed9a010d6
MDL-78172 mod_forum: ensure group names are correctly formatted. 2023-06-11 15:00:28 +01:00
Sara Arjona
c872490dcf Merge branch 'MDL-78415-401-enfix' of https://github.com/vmdef/moodle into MOODLE_401_STABLE 2023-06-08 20:33:14 +02:00
Helen Foster
e518de15f3 MDL-78415 lang: Import fixed English strings (en_fix) 2023-06-08 12:02:34 +01:00
Andrew Nicols
b272406c74
Merge branch 'MDL-75696_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE 2023-06-08 12:31:16 +08:00
Jun Pataleta
2cf0da5dc6 Merge branch 'MDL-75898-41' of https://github.com/matthewhilton/moodle into MOODLE_401_STABLE 2023-06-08 11:43:06 +08:00
Jun Pataleta
bf448de7aa Merge branch 'MDL-78229-401' of https://github.com/lucaboesch/moodle into MOODLE_401_STABLE 2023-06-08 10:30:23 +08:00
Jun Pataleta
79510d5d73 Merge branch 'MDL-78378-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE 2023-06-07 23:25:19 +08:00
Ferran Recio
5f30a47660 MDL-78010 mod_label: improve upgrade performance 2023-06-06 21:33:14 +02:00
Sara Arjona
8caeea5c47 MDL-73052 page: Fix page description when it has only an image
This is as regression of MDL-72413, when description was moved to a
standard module API.
In some cases, when description has only images, it's was not
displayed.
2023-06-02 08:20:38 +02:00
Sara Arjona
b17d91c6f8 MDL-78378 survey: Display default introduction when description is empty
This is a regression when the activity pages were redessigned in Moodle
4.0. The default introduction should be displayed when the activity
description is empty.
2023-06-02 08:19:49 +02:00
Simey Lameze
fc10598d63 MDL-69231 behat: remaining work for role capability generator
This commit does few things:
* Unify data generators usage to role short name.
* Replace remaining manual steps to use the new data generator.
* Also replaced other manual steps to set config to use data generators.
* Tidy up of some tests, aligning pipes and splitting one line steps into multiple lines.
* Fixes tests to have one Given/When/Then per scenario.
2023-06-02 12:42:35 +08:00
Andrew Nicols
b67b10af29 MDL-69231 behat: Update tests to use new generator 2023-06-02 12:42:35 +08:00
Ilya Tregubov
e0dc9aa297
Merge branch 'MDL-75961-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE 2023-06-01 09:08:28 +08:00
Luca Bösch
23ba0d96ef MDL-78314 quiz: style button fieldset in "Manually grade question". 2023-05-29 10:54:27 +02:00
Angelia Dela Cruz
948ac8f62b MDL-70152 behat: Forum behat generators use UI
Behat cleanup and optimisation
2023-05-29 10:28:04 +08:00
Angelia Dela Cruz
d7752f9576 MDL-70152 behat: Forum behat generators use UI
Replace steps that manually add forum and forum post instances
via the UI and use Behat generators. This improves the speed of
Behat test runs.
2023-05-29 10:27:33 +08:00
Andrew Nicols
c38a977f3d MDL-70152 forum: Create behat data generator
* Convert track_read_posts.feature to use activity and discussion
data generators as exmaple.

Co-authored-by: Jun Pataleta <jun@moodle.com>
2023-05-29 10:27:33 +08:00
Jun Pataleta
59596ddedc Merge branch 'MDL-76065-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE 2023-05-25 16:56:14 +02:00
Paul Holden
aaf17fc8b6
MDL-78320 quiz_overview: format group names in overview report. 2023-05-24 16:19:34 +01:00
Simey Lameze
b12f914708 MDL-75961 behat: review and enhance mod_imscp tests
This commit makes the following improvements to mod_imscp tests:
* Removes unnecessary @javascript and @_file_upload tags from non-JS tests.
* Removes user/enrol data generation from tests that can be performed as admin.
* Removes "I log out" and other unnecessary steps.
2023-05-24 10:41:41 +08:00