drupal behat test assert authenticated by role with given fields
You have a typo in your Given condition - you need to have role(s) after administrator.

Given I am logged in as a user with the 'administrator' role(s) and I have the following fields: