PIM-3266: fix Behat scenarios broken during the merge from stable branch