- Issue created by @murz
- 🇪🇸Spain fjgarlin
Fix it right would be to work on the core issue mentioned in these two lines: https://git.drupalcode.org/project/gitlab_templates/-/blob/main/includes...
🐛 Impossible to run only Nightwatch tests in a given directory (f.e. for contrib modules) Needs work
But we know that could take long.
Given that it wasn't used before 🐛 BROWSERTEST_OUTPUT_VERBOSE is not passed to run-tests.sh when running with it Active , we can probably change the variable in the base job
.
Can you try the following on your project/pipeline and see what happens?.nightwatch-base: variables: DRUPAL_NIGHTWATCH_SEARCH_DIRECTORY: ./
or
.nightwatch-base: variables: DRUPAL_NIGHTWATCH_SEARCH_DIRECTORY: modules/custom/
or
.nightwatch-base: variables: DRUPAL_NIGHTWATCH_SEARCH_DIRECTORY: ''
We can then create an MR based on that.
- 🇦🇲Armenia murz Yerevan, Armenia
Thanks!
.nightwatch-base: variables: DRUPAL_NIGHTWATCH_SEARCH_DIRECTORY: ./
works, others - nope, see https://git.drupalcode.org/project/test_helpers/-/merge_requests/128/pip...
- 🇪🇸Spain fjgarlin
In that case, the MR is ready to be tested (https://project.pages.drupalcode.org/gitlab_templates/info/testing-mrs/).
Note that you would not need the above override if you are testing the MR.
- 🇦🇲Armenia murz Yerevan, Armenia
Works well now, thanks! Tested pipeline: https://git.drupalcode.org/project/test_helpers/-/pipelines/352738
-
fjgarlin →
committed 2f778677 on main
Issue #3490191 by fjgarlin, murz: Nightwatch pipeline started to fail if...
-
fjgarlin →
committed 2f778677 on main
Automatically closed - issue fixed for 2 weeks with no activity.