- Issue created by @murz
- 🇦🇲Armenia murz Yerevan, Armenia
In the issue #3468854: Add a step to install JavaScript dependencies (npm) of the module in Drupal CI pipeline → a workaround for this issue is provided.
Nightwatch provides a convenient plugin @nightwatch/apitesting
to test API calls, here is the documentation: https://nightwatchjs.org/guide/writing-tests/api-testing.html
But this plugin is not installed by Drupal by default, so we can't use it out of the box.
And we can't add it using Drupal CI, because of the issue #3468854: Add a step to install JavaScript dependencies (npm) of the module in Drupal CI pipeline →
So, would be good to include this plugin by default, maybe?
Try to use the Nightwatch apitesting
plugin in Drupal Nightwatch tests.
See that it is missing, and seems there are no ways to install it manually for Drupal CI pipelines.
Add this dependency to the Drupal Core's package.json
file.
If this is okay, I can prepare an MR with this fix.
Active
11.0 🔥
In the issue #3468854: Add a step to install JavaScript dependencies (npm) of the module in Drupal CI pipeline → a workaround for this issue is provided.