Problem/Motivation
Back when Nightwatch was just introduced into Drupal core, it was probably a good idea to have an example test to show some basic commands/assertions, so core/tests/Drupal/Nightwatch/Tests/exampleTest.js was committed.
However, by now we have enough Nightwatch tests available that cover all commands/assertions that are in core/tests/Drupal/Nightwatch/Tests/exampleTest.js and more.
Running core/tests/Drupal/Nightwatch/Tests/exampleTest.js now just costs time and money.
Steps to reproduce
Proposed resolution
Remove core/tests/Drupal/Nightwatch/Tests/exampleTest.js and its resource core/tests/Drupal/Nightwatch/Pages/TestPage.js.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3414760
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3414760-remove-nightwatch-exampletest
changes, plain diff MR !6173
Comments
Comment #3
spokjeComment #4
smustgrave commentedCleanup makes sense.
Comment #7
catchGood spot, I had no idea this was still there.
Committed/pushed to 11.x and cherry-picked to 10.2.x, thanks!