mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 19:50:14 +01:00
MDL-55316 core_completion: Expand fields for Behat
This only happens if you create the course with one user and then try to enable completion with another user.
This commit is contained in:
parent
90a8bdbfc0
commit
2b509dbc01
@ -102,6 +102,9 @@ class behat_completion extends behat_base {
|
||||
// Go to course editing.
|
||||
$this->execute("behat_general::click_link", get_string('editsettings'));
|
||||
|
||||
// Expand all the form fields.
|
||||
$this->execute("behat_forms::i_expand_all_fieldsets");
|
||||
|
||||
// Enable completion.
|
||||
$this->execute("behat_forms::i_set_the_field_to",
|
||||
array(get_string('enablecompletion', 'completion'), $toggle));
|
||||
|
Loading…
x
Reference in New Issue
Block a user