mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-56630 behat: Click on link in specificed block/region
This commit is contained in:
parent
1fd6b25579
commit
dc90838aaa
55 changed files with 216 additions and 183 deletions
|
@ -90,7 +90,13 @@ class behat_workshopallocation_manual extends behat_base {
|
|||
public function i_allocate_submissions_in_workshop_as($workshopname, TableNode $table) {
|
||||
|
||||
$this->find_link($workshopname)->click();
|
||||
$this->find_link(get_string('allocate', 'workshop'))->click();
|
||||
$this->execute('behat_general::i_click_on_in_the',
|
||||
array(
|
||||
get_string('allocate', 'workshop'),
|
||||
'link',
|
||||
'Administration',
|
||||
'block'
|
||||
));
|
||||
$rows = $table->getRows();
|
||||
$reviewer = $participant = null;
|
||||
for ($i = 0; $i < count($rows[0]); $i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue