Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 79... Línea 79...
79
                        "[not(./@type = 'submit' or ./@type = 'image' or ./@type = 'hidden')]";
79
                        "[not(./@type = 'submit' or ./@type = 'image' or ./@type = 'hidden')]";
80
            }
80
            }
Línea 81... Línea 81...
81
 
81
 
82
            $this->execute('behat_forms::i_set_the_field_with_xpath_to', [$fieldxpath, $value]);
82
            $this->execute('behat_forms::i_set_the_field_with_xpath_to', [$fieldxpath, $value]);
-
 
83
            $this->execute("behat_general::i_click_on", [get_string('savechanges'), 'button']);
-
 
84
            // Wait for the page to be redirected.
83
            $this->execute("behat_general::i_click_on", [get_string('savechanges'), 'button']);
85
            $this->execute("behat_general::i_wait_to_be_redirected");
84
        }
86
        }
Línea 85... Línea 87...
85
    }
87
    }
86
 
88
 
87
    /**
89
    /**
88
     * Sets the specified site settings. A table with | config | value | (optional)plugin | (optional)encrypted | is expected.
90
     * Sets the specified site settings. A table with | config | value | (optional)plugin | (optional)encrypted | is expected.
89
     *
91
     *
90
     * @Given /^the following config values are set as admin:$/
92
     * @Given /^the following config values are set as admin:$/
-
 
93
     * @param TableNode $table
-
 
94
     */
91
     * @param TableNode $table
95
    #[\core\attribute\example('And the following config values are set as admin:
Línea 92... Línea 96...
92
     */
96
        | sendcoursewelcomemessage | 0 | enrol_manual |')]
93
    public function the_following_config_values_are_set_as_admin(TableNode $table) {
97
    public function the_following_config_values_are_set_as_admin(TableNode $table) {
94
 
98