moodle/admin/tool/behat/tests
Eloy Lafuente (stronk7) 641d75bde6 MDL-58681 behat: Split checkbox and advcheckbox tests
MDL-58267 converted "Display description on course page" to advcheckbox
(see 7f53e8aa22).

Advanced checkboxes cannot be tested without real browser because Goutte
does not support the hidden+checkbox duality (MDL-55386).

So this patch does:

- Convert the NON-JS checks to use the "Force format" field (normal checkbox).
- Move the "Display description on course page" (adv. checkbox) to the JS scenario.
- Complete the 2 groups of checks above so the two ways to tick and untick are covered:
    - I set the field "xxxx" to "yyyy"
    - I set the following fields to these values:
- Complete the 2 groups of checks above so the two ways to verify the values are covered:
    - the field "xxxx" [matches|does not match] value "yyyy"
    - the following fields [match|do not match] these values:

That's all! The scenario is a bit spaghetti but it's way off the scope
of the issue to fix that.
2017-04-23 18:13:02 +02:00
..
behat MDL-58681 behat: Split checkbox and advcheckbox tests 2017-04-23 18:13:02 +02:00
fixtures MDL-56006 behat: Get proper feature and context for default theme 2016-10-25 10:15:20 +08:00
manager_test.php MDL-55986 behat: Fix unit tests to use fixtures 2016-10-03 15:38:24 +08:00
manager_util_test.php MDL-56006 behat: Get proper feature and context for default theme 2016-10-25 10:15:20 +08:00