Angelia Dela Cruz
6385949078
MDL-78684 Behat: Replace gradebook navigation to use page resolvers
...
This commit also does other things such as:
- Replace manual steps to setup gradebook by data generators
- Added support for outcomes and scales page resolvers
- Behat clean up
2023-08-08 11:53:45 +08:00
Paul Holden
2ffda63da8
MDL-75359 reportbuilder: fixes for custom/user profile field elements.
...
Ensures cross-DB compatibility for all types of both custom and user
profile fields, specifically when they're filtered and/or aggregated.
Implement stress testing of both via appropriate report sources.
2023-07-07 14:45:24 +01:00
Angelia Dela Cruz
09d654b3fe
MDL-78158 behat: Behat cleanup and optimisation
2023-07-04 07:01:27 +08:00
Angelia Dela Cruz
9f101a30b2
MDL-78158 Behat: Use data generators to add blocks
2023-07-03 17:41:21 +08:00
Simey Lameze
2367bc9ff6
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:47:27 +08:00
Andrew Nicols
aa2fc4048e
MDL-69231 behat: Update tests to use new generator
2023-06-02 12:47:27 +08:00
Andrew Nicols
8c9282f5d6
MDL-69231 tests: Improve existing role generator
...
Support definition of context levels and permissions.
2023-06-02 12:47:27 +08:00
Ilya Tregubov
8ab87b3fc4
Merge branch 'MDL-78196-master' of https://github.com/jleyva/moodle
2023-06-01 10:39:30 +08:00
Paul Holden
2881840cca
MDL-77723 user: ensure identity refers to a valid custom profile field.
2023-05-15 09:03:28 +01:00
Juan Leyva
e13a2ff501
MDL-78196 user: Fix files used space check
2023-05-10 17:16:18 +02:00
Juan Leyva
964ad9d264
MDL-77893 airnotifier: Allow to set publickey when creating new device
2023-04-17 11:03:15 +02:00
Sara Arjona
9ce4fb65fd
Merge branch 'MDL-77164-master' of https://github.com/marinaglancy/moodle
2023-04-13 14:00:18 +02:00
Marina Glancy
8fc1486d36
MDL-77164 various: fix incorrect phpdocs
2023-04-13 11:35:06 +01:00
Sara Arjona
57589966bc
Merge branch 'MDL-77468-master' of https://github.com/rmady/moodle
2023-04-13 09:19:54 +02:00
Juan Leyva
c0560689fc
MDL-77468 user: Fix invalid check for group belonging
2023-04-11 09:29:58 -03:00
Juan Leyva
e464d2c8a1
MDL-77468 user: Make user profile visibility consistent web and ws
2023-04-11 09:24:40 -03:00
Alex Morris
9bc236d48d
MDL-76722 user: Add new update_user_device_public_key webservice
2023-04-11 08:58:27 +08:00
Sara Arjona
09171a3c3a
Merge branch 'MDL-77726-master' of https://github.com/jleyva/moodle
2023-03-30 16:56:56 +02:00
Juan Leyva
fc97f32010
MDL-73226 files: Add quota checks to core_user_add_user_private_files
2023-03-27 13:11:46 +02:00
Juan Leyva
76807203a3
MDL-77726 user: Fix custom user profiles supporting filtering in WS
2023-03-23 18:08:03 +01:00
Mikel Martín
9191edb72f
MDL-77691 behat: Add step to navigate to profile page directly
2023-03-20 14:18:33 +01:00
Ilya Tregubov
58fb00eb18
Merge branch 'MDL-77308-master' of https://github.com/andrewnicols/moodle
2023-03-09 17:02:07 +08:00
Andrew Nicols
f58a71baab
MDL-77308 core: Remove editor_tiny from core
2023-03-09 15:28:35 +08:00
Mathew May
e5ca7766e7
MDL-52805 core: Remove legacy log calls
2023-03-07 13:08:46 +08:00
Paul Holden
25e8971b3a
MDL-76873 user: method for returning profile field instance of type.
...
Re-factor implementation of profile field access within user fields
class to use that already provided by the fields themselves.
2023-02-20 09:24:05 +00:00
Simey Lameze
64799f9ace
MDL-76542 behat: add step to go to user edit page directly
2023-02-08 12:22:29 +08:00
Simey Lameze
d991b12d15
MDL-76542 behat: create custom profile fields using data generators
...
This commit also adds a new test to verify the custom profile fields
works using the user interface.
2023-02-08 12:12:08 +08:00
Paul Holden
147c31800b
MDL-75345 reportbuilder: improve course/user custom report tests.
...
Ensure column and filters provided by each source have sufficient
coverage. Re-factor individual entity/helper class tests to test
their own specific implementation only.
Remove now-defunct test fixtures.
2023-02-01 15:41:32 +00:00
Paul Holden
1b52486cce
MDL-76973 user: correct testcase reference to external_api class.
2023-01-20 11:30:02 +00:00
Andrew Nicols
a3cc26f8bb
MDL-76583 core: Update uses of external_* classes
2023-01-19 07:34:09 +08:00
Jake Dallimore
230ac291c8
MDL-76862 user: Unit test for setting user home page preferences
2023-01-12 11:35:10 +08:00
Jun Pataleta
5166c729b4
MDL-76739 behat: Replace occurrences of "surname" in Behat tests
...
Replace occurrences of "surname" in Behat tests with "last name"
2023-01-12 09:53:41 +08:00
David Mudrák
50ba9dc72c
MDL-76739 lang: Use the fixed strings in the tests, too
2023-01-12 09:17:27 +08:00
Jun Pataleta
2924075480
MDL-76803 lang: Update usages of reworded email display options
2023-01-10 16:01:18 +08:00
Dani Palou
3923ef9408
MDL-75788 testing: Handle new lines in menu profile field generator
2022-12-02 14:54:46 +08:00
Marina Glancy
064eccd4fc
MDL-75525 reportbuilder: specify initial sorting for datasources
2022-11-07 15:43:45 +01:00
Ilya Tregubov
080e11e35a
MDL-74643 core_user: Fix Behat test.
...
Stop using deprecated steps.
2022-11-01 08:59:51 +03:00
Jun Pataleta
5e84f00acb
Merge branch 'MDL-73141-master' of https://github.com/dravek/moodle
2022-11-01 09:25:34 +08:00
Michael Hawkins
e3b3ba90c8
MDL-74643 core_user: New admin setting for site support availability
...
This allows admins to configure whether contact site support is
available to everyone, authenticated users, or nobody.
The behat testing checks linked and direct access for each setting,
as well as adding testing that the support page override works as
expected.
2022-10-31 18:58:06 +08:00
Michael Hawkins
ddc9a30fa1
MDL-74643 core_user: Added behat page resolver
...
Currently this supports resolving the Contact Site Support page.
2022-10-31 18:55:29 +08:00
David Matamoros
b0802f49a6
MDL-73141 core_cohort: Convert cohort listing to Report Builder
2022-10-29 12:45:50 +02:00
Jake Dallimore
a74c2e66a9
Merge branch 'MDL-75790' of https://github.com/dravek/moodle
2022-09-28 09:24:44 +08:00
Andrew Nicols
98ee21cd3f
Merge branch 'MDL-74284' of https://github.com/paulholden/moodle
2022-09-27 12:47:49 +08:00
Paul Holden
3c3f6abd43
MDL-74284 cohort: set page title on upload tab.
...
Override active URL when viewing system/all cohorts for consistent
breadcrumb navigation.
2022-09-20 13:09:11 +01:00
Mihail Geshoski
3001995be8
MDL-75153 grade: Update behat tests
2022-09-20 00:17:56 +08:00
David Matamoros
e0e7516bfc
MDL-75790 reportbuilder: Fix random error with user name
2022-09-19 16:20:19 +02:00
Paul Holden
b40d438fbf
MDL-75708 reportbuilder: consider stress tests as requiring longtest.
...
We should respect the value of the PHPUNIT_LONGTEST constant in the
report source stress tests, as it was discovered after 165e26fa that
the default configuration of some CIs (GHA) was not sufficient to run
them.
Hence, use the PHPUNIT_LONGTEST to determine whether to execute said
tests. Note this constant is enabled on internal CI.
2022-09-09 11:11:39 +01:00
Jun Pataleta
0f9916e1ec
Merge branch 'MDL-74435-master' of https://github.com/lameze/moodle
2022-09-08 10:08:55 +08:00
Simey Lameze
9efb61d321
MDL-74435 core_user: behat test polish and fixes
2022-09-08 09:32:36 +08:00
Peter Burnett
94aa2c78bd
MDL-74435 user: Trim whitespace from user search fields
2022-09-08 09:12:09 +08:00