open-testing-convert-nightwatch

Convert Nightwatch test suites to Selenium, Playwright, Cypress, and WDIO.

13|1|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/AgenticTesting/OpenTestingAI --skill open-testing-convert-nightwatch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: open-testing-convert-nightwatch
Source: https://github.com/AgenticTesting/OpenTestingAI/tree/main/.opentesting-convert/skills/open-testing-convert-nightwatch
Command: npx skills add https://github.com/AgenticTesting/OpenTestingAI --skill open-testing-convert-nightwatch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Nightwatch test suites often lock teams into older toolchains or bespoke patterns, making migration and cross-framework porting costly and error-prone. This Skill provides a structured pathway to migrate Nightwatch tests to modern frameworks (Selenium, Playwright, Cypress, WebDriverIO, Puppeteer, Appium, Cucumber, Eggplant, TestCafe, OpenTest.AI, Testers.AI Recorder, and Testers.AI Dynamic), preserving behavior and test intent.

Core Features & Use Cases

  • Converts Nightwatch 1.x/2.x/3.x tests (legacy module.exports and BDD describe/it) into target frameworks with care to preserve navigation, element interaction, waits, assertions, and page object references.
  • Inlines page objects and custom commands where applicable, and supports multi-environment configurations and data-driven patterns to enable round-trip translation and migration planning.
  • Provides per-target primers, extraction/reference materials, and an emission checklist to guide automated translation workflows.

Quick Start

Start by reading the master orchestrator, review the reference and mappings, and emit per-target conversion artifacts.

Frequently Asked Questions about open-testing-convert-nightwatch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate Nightwatch tests to Playwright?

Migrating Nightwatch tests to Playwright requires converting legacy module.exports and BDD styles while preserving navigation, element interactions, waits, and assertions. This Skill automates that conversion, inlining page objects and custom commands to generate target-specific Playwright emissions.

Can I port Nightwatch page objects and custom commands to Cypress?

Porting Nightwatch page objects and custom commands to Cypress is supported by inlining them during conversion. The process detects legacy patterns and generates Cypress-specific emissions, maintaining test intent and behavior across the migration.

What is the best way to convert Nightwatch test suites to WebDriverIO?

Converting Nightwatch test suites to WebDriverIO is best handled by extracting page-object references and applying multi-environment configurations. This Skill generates emission metadata for round-trip tooling, ensuring portability and accurate translation of waits and assertions.

Does Nightwatch test migration support BDD describe/it styles for Selenium?

Nightwatch test migration to Selenium supports both legacy module.exports and BDD describe/it styles. It carefully preserves element interactions, waits, and page object references to generate accurate Selenium target emissions.

Can I convert Nightwatch tests for multiple target frameworks simultaneously?

Converting Nightwatch tests for multiple target frameworks simultaneously is possible through round-trip translation. The Skill applies per-target primers and an emission checklist to generate framework-specific artifacts across Playwright, Cypress, Selenium, and WDIO.