Open hkorik opened 7 years ago
I noticed this issue only occurring for me on a FireFox browser. When running the same test with a chromedriver using a chrome browser the authentication passed.
This is probably not a bug in Drupal Extension, it seems to me that you are hitting https://github.com/mozilla/geckodriver/issues/159 - this was finally implemented in the geckodriver two months ago, maybe you can try updating to the latest dev version of your Selenium / Firefox stack?
I have just started to setup behat tests on my local Drupal 8 using MAMP as the local environment. It seems at any attempt to login using a browser with the pre built language for logging in as a user it fails with a
mouseMoveTo
exception error.The error is occurring in any way I attempt to use the login context:
Given I am logged in as a user with the "administrator" role # Drupal\DrupalExtension\Context\DrupalContext::assertAuthenticatedByRole()
or with:
And I press "Log in" # Drupal\DrupalExtension\Context\MinkContext::pressButton()
See below the error output in both the terminal running behat and the terminal running the selenium standalone server.As I am new to this I'm wondering if I'm doing something wrong here or if there is a bug with some of the versions I am running together. I have googled and tried many options with changing the versions of some of the below systems or changing the wording of the feature tests with no luck.
Here is reference to a github issue filed in an angular project with the same exact issue I'm seeing in my drupal project (in case that helps..) - https://github.com/angular/protractor/issues/4177
Any assistance or guidance would be greatly appreciated.
Specs:
Output of
behat features/drupal.feature:17
Output of error in terminal running selenium server:
Behat.yml file details:
.Feature file tests:
Drupal Extension info in composer.lock file: