mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-69588 core: Activity navigation fixes
This commit is contained in:
parent
34f3d43397
commit
b36bdd18d8
3 changed files with 6 additions and 8 deletions
|
@ -52,7 +52,7 @@ class behat_mod_workshop extends behat_base {
|
|||
$xpath = "//*[@class='userplan']/descendant::div[./span[contains(.,$phaseliteral)]]";
|
||||
$continue = $this->escape(get_string('continue'));
|
||||
|
||||
$this->execute("behat_navigation::go_to_breadcrumb_location", $workshopname);
|
||||
$this->execute('behat_navigation::i_am_on_page_instance', [$workshopname, 'workshop activity']);
|
||||
|
||||
$this->execute('behat_general::i_click_on_in_the',
|
||||
array('a.action-icon', "css_element", $this->escape($xpath), "xpath_element")
|
||||
|
@ -116,7 +116,7 @@ class behat_mod_workshop extends behat_base {
|
|||
$assess = $this->escape(get_string('assess', 'workshop'));
|
||||
$saveandclose = $this->escape(get_string('saveandclose', 'workshop'));
|
||||
|
||||
$this->execute("behat_navigation::go_to_breadcrumb_location", $workshopname);
|
||||
$this->execute('behat_navigation::i_am_on_page_instance', [$workshopname, 'workshop activity']);
|
||||
|
||||
$this->execute('behat_general::i_click_on_in_the',
|
||||
array($assess, "button", $xpath, "xpath_element")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue