MDL-72179 behat: Make use of page resolvers

This commit is contained in:
Andrew Nicols
2021-07-26 15:14:28 +08:00
parent f14dbe0087
commit 776f4bd80c
167 changed files with 1653 additions and 2902 deletions
@@ -87,7 +87,7 @@ class behat_workshopallocation_manual extends behat_base {
* @param TableNode $table should have one column with title 'Reviewer' and another with title 'Participant' (or 'Reviewee')
*/
public function i_allocate_submissions_in_workshop_as($workshopname, TableNode $table) {
$this->execute('behat_general::i_click_on', [$workshopname, 'link']);
$this->execute("behat_general::i_click_on_in_the", [$this->escape($workshopname), 'link', 'page', 'region']);
$this->execute('behat_navigation::i_navigate_to_in_current_page_administration', get_string('allocate', 'workshop'));
$rows = $table->getRows();
$reviewer = $participant = null;