MDL-43883 Behat: Fix deprecation and move custom matches to the editor field only.