phase2/behat-drupal-extension

Login is not working

Opened this issue · 1 comments

I have step definition like 'Given I am logged in as a user with the "sys admin" role'. When I run, I am getting below error.

Given I am logged in as a user with the "sys admin" role         # FeatureContext::login()
  Element matching css "#user-login" not found.

My base_url has HTTP authentication. Does drupal extension supports basic_auth method?

Could you please tell me how to use login method?