@skip_chrome_zerosize or $CFG->behat_window_size_modifier

@skip_chrome_zerosize or $CFG->behat_window_size_modifier

by Renaat Debleu -
Number of replies: 0
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

What is the best solution now so my Behat tests do not throw errors like "element not interactable: element has zero" size in Chrome?

One option is to add the @skip_chrome_zerosize tag (MDL-77108) so the tests are skipped in Chrome.

But adding the line '$CFG->behat_window_size_modifier = 2;'  (MDL-72874) to my configuration file also works.

 
Average of ratings: -