Behat for publications

#4350