Skip to content

Commit

Permalink
Behat improved for moodle 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
raja-lmsace committed Apr 10, 2024
1 parent 558157f commit 70adc8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/behat/behat_pulse.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 70adc8b

Please sign in to comment.