Skip to content

Instructions are incorrect #4400

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

Open
rramsey opened this issue Apr 1, 2025 · 0 comments
Open

Instructions are incorrect #4400

rramsey opened this issue Apr 1, 2025 · 0 comments

Comments

@rramsey
Copy link

rramsey commented Apr 1, 2025

Description of the bug/issue

When I follow the instructions on https://nightwatchjs.org/guide/quickstarts/create-and-run-a-nightwatch-test.html#postdoc-setup-nightwatch, I expect the instructions to reflect what I see on the screen.

Steps to reproduce

  1. Go to https://nightwatchjs.org/guide/quickstarts/create-and-run-a-nightwatch-test.html#postdoc-setup-nightwatch
  2. Follow the instructions for a new project
  • Instructions say ? Enter source folder where test files are stored (tests)
  • Actual text ? Enter source folder where test files are stored (test) so tests are not where you expect them to be.

Errors during install:

npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
  1. In an existing project, npm init nightwatch
  • no errors during install
  • on screen instructions are different from web instructions. Following the web instructions, npx nightwatch ./nightwatch/examples results in

┌───────────────────────────────────────────────────────────────────────────────────────────────┐
│                                                                                               │
│   An error occurred while trying to start the test runner:                                    │
│   [ENOENT] Cannot read source: stat .\nightwatch\examples.   │
│                                                                                               │
│                                                                                               │
└───────────────────────────────────────────────────────────────────────────────────────────────┘
  • following the screen instructions works, but they have errors.

Sample test

Command to run

Verbose Output


Nightwatch Configuration

Nightwatch.js Version

3.12.1

Node Version

No response

Browser

No response

Operating System

No response

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants