Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DT-581: Added nightwatch support. #3941

Merged
merged 6 commits into from
Dec 9, 2019
Merged

Conversation

danepowell
Copy link
Contributor

Fixes #3673

Changes proposed

  • Add a new command tests:drupal:nightwatch:run to run core Nightwatch tests.

Steps to replicate the issue

Set up a local environment for testing. I was using Lando.

  • You'll need Yarn available globally.
  • You'll either need to install Chrome 75 somehow, or use Yarn to upgrade Drupal core's version of Chromedriver to match your installed version of Chrome.

In blt.yml, set:

tests:
  drupal:
    test-runner: nightwatch

Run blt tests:drupal:run

@danepowell danepowell added 11.x Affects or applies to 11.x Enhancement A feature or feature request labels Dec 5, 2019
@danepowell
Copy link
Contributor Author

@greylabel would you like to review this, since you originally requested the feature?

@danepowell danepowell merged commit 8c81c18 into acquia:11.x Dec 9, 2019
@greylabel
Copy link
Contributor

Thanks @danepowell

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
11.x Affects or applies to 11.x Enhancement A feature or feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DT-581: Drupal JavaScript testing using Nightwatch
4 participants