Skip to content

Commit 1c28511

Browse files
[auto-generated] Update plugin files
Check out the commits that caused these changes: moodlehq/moodleapp@adb5e17...54c9b54
1 parent 1a90371 commit 1c28511

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

tests/behat/behat_app.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -823,6 +823,18 @@ public function i_switch_to_the_browser_tab_opened_by_the_app() {
823823
$this->getSession()->switchToWindow($windowNames[1]);
824824
}
825825

826+
/**
827+
* Switches to the app if the user is in a browser tab.
828+
*
829+
* @Given I switch back to the app
830+
*/
831+
public function i_switch_back_to_the_app() {
832+
$windowNames = $this->getSession()->getWindowNames();
833+
if (count($windowNames) > 1) {
834+
$this->getSession()->switchToWindow($windowNames[0]);
835+
}
836+
}
837+
826838
/**
827839
* Force cron tasks instead of waiting for the next scheduled execution.
828840
*

version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
defined('MOODLE_INTERNAL') || die;
88

9-
$plugin->version = 2022090501;
9+
$plugin->version = 2022091500;
1010
$plugin->requires = 2016052300;
1111
$plugin->maturity = MATURITY_STABLE;
1212
$plugin->release = '4.1.0-dev';

0 commit comments

Comments
 (0)