diff --git a/tests/behat/behat_pulse.php b/tests/behat/behat_pulse.php index aed1d0a..87c6c8f 100644 --- a/tests/behat/behat_pulse.php +++ b/tests/behat/behat_pulse.php @@ -236,7 +236,7 @@ public function switch_to_open_window() { public function i_click_on_pulse_editor($editor) { global $CFG; - if ($CFG->branch == "403") { + if ($CFG->branch >= 402) { $this->execute('behat_general::i_click_on_in_the', ['#'.$editor . '_ifr', 'css_element', '#fitem_'.$editor, 'css_element']); } else {