Mihail Geshoski
7d821080f0
MDL-72093 navigation: Update behat tests
2021-09-14 12:02:35 +08:00
Andrew Nicols
776f4bd80c
MDL-72179 behat: Make use of page resolvers
2021-07-26 15:14:28 +08:00
Andrew Nicols
c204fe3eeb
MDL-72179 behat: Lowercase all page instance resolvers
2021-07-23 20:43:48 +08:00
Sujith Haridasan
f11be42fae
MDL-68915 core_form: Fix the behat test failure
...
Fix the behat test failure for the forums when
grades exist.
Signed-off-by: Sujith Haridasan <sujith@moodle.com >
2021-06-10 15:05:42 +08:00
Sujith Haridasan
25ea1f8e64
MDL-68915 lesson: Do not allow maxgrade change
...
Do not allow maxgrade change when some of the
users are already graded. As of now this is applicable
to the following activities:
1. Forum
2. Database
3. Lesson
4. Glossary
Signed-off-by: Sujith Haridasan <sujith@moodle.com >
2021-06-10 08:30:39 +05:30
Ilya Tregubov
cf1cf222e7
MDL-66431 core: Fix behat tests.
...
Move activity creation to data generators. Only fixing those
tests failing due to removing usemodchooser preference.
2021-05-01 16:22:03 +02:00
Marina Glancy
72be49c473
MDL-64554 core_form: new API for modal forms
2021-02-17 18:06:49 +01:00
Andrew Nicols
f908e8beef
MDL-69192 mod_assign: Stop clicking OK on non-existent modal
2020-10-08 08:04:10 +08:00
David Mudrák
2615e429f4
MDL-68753 lang: Remove a redundant okay string and use "OK" everywhere
...
The "Ok" (with lower-case "k") string was added in MDL-68409 to keep
backwards compatibility with YUI alerts that had it hard-coded. But we
should not need to explain to translators why we have two OK strings
like this and why they use different wording.
Additionally, there would be inconsistency in Behat tests and everywhere
depending on which "OK" or "Ok" string is used for buttons.
So instead, this patch changes the hard-coded 'Ok' string in the YUI and
we should stick to "OK" from now on everywhere.
2020-05-27 09:59:44 +02:00
Andrew Nicols
8d186121ab
Merge branch 'MDL-57680' of https://github.com/timhunt/moodle
2020-05-01 11:00:19 +08:00
Davo Smith
9da975fe21
MDL-43156 core_form: fix handling of fixture form
...
Also moving it from behat_forms to behat_navigation
2020-04-30 20:39:24 +02:00
Davo Smith
5079271b39
MDL-43156 formslib: newly-created repeat elements get the default values
2020-04-30 20:16:07 +02:00
Tim Hunt
848a29cf51
MDL-57680 form autocomplete: extend Behat tests
2020-04-26 15:11:25 +01:00
Andrew Nicols
92b229c5f4
MDL-66079 mod_forum: Add forum grade support
...
Part of MDL-66074
2019-10-30 10:23:40 +08:00
Paul Holden
d25223a5c4
MDL-63125 forms: Behat test for form autocomplete element.
2019-10-21 23:24:30 +01:00
Ryan Wyllie
858179b024
MDL-64820 forum: fix behat tests
2019-03-22 09:31:21 +08:00
Víctor Déniz Falcón
02fda279ed
MDL-57281 behat: deprecated step definition I navigate to node in
...
Definition step deprecated and affected tests modified.
2018-08-20 12:53:26 +01:00
Eloy Lafuente (stronk7)
b3f41c084d
MDL-60485 modgrade: Change string expectation in related test
2017-10-20 18:57:31 +02:00
Davo Smith
527459a4c7
MDL-53848 mod_assign, formslib: add hideIf to real form and adapt behat tests to use this
2017-08-17 14:52:11 +01:00
Davo Smith
8dff6c78bd
MDL-53848 formslib: peer review fixes
2017-08-17 14:52:11 +01:00
Ankit Agarwal
988879655b
MDL-53848 formslib: make conditional hidden elements properly accessible
2017-08-17 14:52:10 +01:00
Marina Glancy
f3da329da4
MDL-53848 forms: additions to the behat test
2017-08-17 14:52:10 +01:00
Davo Smith
d20498625c
MDL-53848 form: add hideIf functionality
2017-08-17 14:52:10 +01:00
Damyon Wiese
63f4aa20b2
MDL-59698 behat: Remove bad tests
...
These tests are an abuse and should not have been accepted. Behat tests should use real pages.
Adding testing only entry points to Moodle is a bad security practice and is not the purpose of behat.
2017-08-03 10:26:05 +08:00
David Mudrák
1661204a6c
MDL-59544 forms: Implicit validation of the filemanager and filepicker
...
The patch adds an extra validation step against accepted file types.
Even if the repository checks are bypassed (as illustrated in the
Behat), the invalid file is still caught by the element's validation
rules.
It turns out there is no way to test the filepicker element easily via
Behat. Additionally, it provides the renaming features only with
disabled javascript. So the Behat tests are provided for the filemanager
only.
AMOS BEGIN
CPY [err_wrongfileextension,mod_workshop],[err_wrongfileextension,core_form]
AMOS END
2017-07-14 20:38:54 +02:00
David Mudrák
ee7e8fdf8e
MDL-59443 forms: Add behat tests for the field validation
2017-07-06 09:29:04 +02:00
David Mudrák
6b59e4aafb
MDL-59452 forms: Add Behat test for the filetypes form element
...
This is a very basic test for now to illustrate that it is possible now
to specify filetypes fields by the label.
2017-07-06 09:22:14 +02:00
Simey Lameze
fdeeaff954
MDL-58265 core_test: replace I turn editing on steps
...
Also remove few more unnecessary steps that redirects behat to
site home page to actually get to the course.
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Simey Lameze
93be3f730c
MDL-58265 core_test: remove unnecessary steps
...
This commmit removes steps that take behat to site home page
to actually get to a course page.
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Simey Lameze
c987d1b2ef
MDL-58265 core_test: replace all uses of I follow course steps
...
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Andrew Nicols
4b2bcd2376
Merge branch 'wip-mdl-56353' of https://github.com/rajeshtaneja/moodle
2016-12-07 11:53:34 +08:00
Rajesh Taneja
451ae0cabc
MDL-56353 behat: Added test for multi select dependency
2016-12-07 11:30:46 +08:00
Marina Glancy
e5287f9b3b
MDL-56614 behat: navigate without navigation and admin blocks
2016-12-06 11:49:14 +08:00
Rajesh Taneja
e4c98de168
MDL-56630 behat: Click on link in specificed block/region
2016-11-08 18:06:09 +08:00
Rajesh Taneja
dc90838aaa
MDL-56630 behat: Click on link in specificed block/region
2016-11-08 14:45:43 +08:00
Eloy Lafuente (stronk7)
973641fe13
MDL-54666 tests: Verify that any activity keeps the settings
...
This was affecting both to rateable (forum...) and not rateable
(assignment...) activities. So tests have been completed to verify
that now saving is performed and the correct scale values stored.
2016-05-20 23:48:25 +02:00
Damyon Wiese
821ab1bf9b
MDL-52954 assign: Behat fixes because the assign grading ui has changed
2016-04-15 15:57:56 +08:00
Rajesh Taneja
b73e5047af
MDL-46891 core_grade: Steps are not valid as element is disabled
2016-03-11 10:51:16 +08:00
Andrew Nicols
cf633c555e
MDL-30811 form: Remove continue from test.
2016-03-01 12:11:10 +08:00
Mark Nelson
1b8bd51c06
MDL-48634 core_form: added behat test for 'modgrade' validation
2016-02-09 17:46:42 +08:00