nva-test-e2e

raw JSON →
0.6.21 verified Mon Apr 27 auth: no javascript

A frontend end-to-end test toolkit used within the nva ecosystem. Version 0.6.21 is the latest stable release, with sporadic updates and no clear release cadence. It provides a CLI to run e2e tests via configuration file. Differentiators include simplicity and integration with nva project structure, but it lacks documentation and community adoption.

error Error: Cannot find module 'nva-test-e2e'
cause Package not installed or not found in node_modules when using require().
fix
Use npx or install globally: npm install -g nva-test-e2e
error TypeError: nva_test_e2e is not a function
cause Attempting to import the package as a JavaScript function.
fix
Do not import the package; use the CLI command directly.
gotcha Package is a CLI tool, not a library. Do not attempt to import it as a module.
fix Use 'nva-test-e2e' command via CLI or npx.
gotcha Version 0.x indicates unstable API. Breaking changes may occur in minor releases.
fix Pin to a specific version and test upgrades carefully.
gotcha Configuration file must be a CommonJS module; ES module exports may not be supported.
fix Use module.exports in config file.
deprecated Global installation is discouraged; use npx to avoid version conflicts.
fix Run 'npx nva-test-e2e -c test/e2e/config.js' instead of global install.
npm install nva-test-e2e
yarn add nva-test-e2e
pnpm add nva-test-e2e

Global install and run e2e test using a config file.

npm install -g nva-test-e2e
nva-test-e2e -c test/e2e/config.js