MDL-57281 behat: deprecated step definition I navigate to node in
Definition step deprecated and affected tests modified.
This commit is contained in:
@@ -82,8 +82,8 @@ class behat_mod_data extends behat_base {
|
||||
public function i_add_an_entry_to_database_with($activityname, TableNode $entrydata) {
|
||||
|
||||
$this->execute("behat_general::click_link", $this->escape($activityname));
|
||||
$this->execute("behat_navigation::i_navigate_to_node_in", array(get_string('add', 'mod_data'),
|
||||
get_string('pluginadministration', 'mod_data')));
|
||||
$this->execute("behat_navigation::i_navigate_to_in_current_page_administration",
|
||||
get_string('add', 'mod_data'));
|
||||
|
||||
$this->execute("behat_forms::i_set_the_following_fields_to_these_values", $entrydata);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user