Nightwatch.js 集成浏览器和移动测试框架
A source-backed ASE skill for Nightwatch.js, the Node.js automation framework for end-to-end, component, API, accessibility, and mobile testing through the W3C WebDriver stack. It fits agent workflows that need repeatable browser control, cross-browser assertions, and CI-friendly test execution.
Prerequisites
Node.js
Installation
Use the upstream install or setup path that matches your environment:
- npm init nightwatch@latest
- npm init nightwatch@latest ./path/to/new/project
Requirements and caveats from upstream:
-
- Nightwatch is an integrated testing framework powered by Node.js and using the W3C Webdriver API. It is a complete testing solution developed at [BrowserStack](https://www.browserst...
- ☑️ Node.js unit, visual regression testing, accessibility testing & API testing
Basic usage or getting-started notes:
- Developer Experience : The entire experience from getting started, to writing and debugging tests, has been redesigned for speed, stability, and consistent non-flaky results.
- One test automation framework: Run all types of tests from unit, component, and E2E to API, visual, and accessibility with a single framework.
- Where do you want to run your e2e tests?
- Source: https://github.com/1991513ccie-png/skills
- Extracted from upstream docs: https://raw.githubusercontent.com/nightwatchjs/nightwatch/HEAD/README.md
Documentation
- https://nightwatchjs.org/guide