MDL-52347 behat: fix random failures on fast computer