MDL-57281 behat: deprecated step definition I navigate to node in

Definition step deprecated and affected tests modified.
This commit is contained in:
Víctor Déniz Falcón
2018-08-20 12:53:26 +01:00
parent a9428fab11
commit 02fda279ed
233 changed files with 711 additions and 581 deletions
+2 -2
View File
@@ -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);
}