MDL-48452 Completion: js correction to behat test