MDL-75335 mod_data: Zero state for Fields and Templates
This commit is contained in:
@@ -53,7 +53,10 @@ class behat_mod_data extends behat_base {
|
||||
$fieldsstr = get_string('fields', 'mod_data');
|
||||
|
||||
$this->execute("behat_navigation::i_navigate_to_in_current_page_administration", $fieldsstr);
|
||||
$this->execute('behat_forms::i_set_the_field_to', array('newtype', $this->escape($fieldtype)));
|
||||
$this->execute('behat_general::i_click_on', [get_string('newfield', 'mod_data'), "button"]);
|
||||
$this->execute('behat_general::i_click_on_in_the',
|
||||
[$this->escape($fieldtype), "link", "#action_bar", "css_element"]
|
||||
);
|
||||
|
||||
if (!$this->running_javascript()) {
|
||||
$this->execute('behat_general::i_click_on_in_the',
|
||||
|
||||
Reference in New Issue
Block a user