You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe your issue
Which is the correct setup to allow Nightwatch tests to run?
I'm on Drupal 10, and trying to run Nightwatch inside D4D environment, but without success.
Don't know if useful: Chromedriver has been removed as a JavaScript dependency (https://www.drupal.org/node/3319135).
So, as suggested in point 3 in previous link, I've separately installed Chromedriver in my system (not as npm dependecy, but downloading it from https://sites.google.com/chromium.org/driver/downloads), and its binary is in /usr/bin/chromedriver.
I tried to play with /core/.env Drupal default settings as per Drupal instructions, but then if I run yarn test:nightwatch --env local in the node container I obtain the following error:
ChromeDriver cannot be found in the current project.
You can either install chromedriver from NPM with: npm install chromedriver --save-dev
Codebase
Mounted codebase
Describe your issue
Which is the correct setup to allow Nightwatch tests to run?
I'm on Drupal 10, and trying to run Nightwatch inside D4D environment, but without success.
Don't know if useful: Chromedriver has been removed as a JavaScript dependency (https://www.drupal.org/node/3319135).
So, as suggested in point 3 in previous link, I've separately installed Chromedriver in my system (not as npm dependecy, but downloading it from https://sites.google.com/chromium.org/driver/downloads), and its binary is in
/usr/bin/chromedriver
.I tried to play with
/core/.env
Drupal default settings as per Drupal instructions, but then if I runyarn test:nightwatch --env local
in the node container I obtain the following error:So I'm trying point 2, but cannot figure out how to do the right settings.
Please help me, a step by step guide would be very appreciated, thank you.
The text was updated successfully, but these errors were encountered: