Overview of Nightwatch testing capabilities
mainNightwatch is an integrated testing framework powered by Node.js and the W3C Webdriver API. It supports a wide range of testing types within a single framework:
- End-to-End (E2E) Testing: Testing web applications and websites.
- Component Testing: Testing components in isolation (React, Vue, Angular, or Storybook) by mounting them in the browser.
- Mobile App Testing: Native mobile application testing on Android and iOS via Appium.
- API Testing: Includes request/response assertions, HTML report integration, and mock server support.
- Visual Regression Testing (VRT): An in-house plugin that captures screenshots, compares them against baselines, generates difference reports, and allows for change approval.
- Accessibility Testing: Uses the
aXe-coreplugin to perform ~90 types of accessibility tests for WCAG compliance. - Node.js Unit Testing: Support for testing Node.js logic.