When to Apply: Reference when writing Nightwatch tests with built-in assertion library, creating page objects for Nightwatch, or setting up component testing for React/Vue. Triggers on "Nightwatch", "nightwatch.conf", "browser.assert".
Playbook Deep Dive (10 sections): §1 Production Configuration · §2 Page Objects · §3 Test Patterns · §4 Custom Commands · §5 Custom Assertions · §6 API Testing (Built-in) · §7 Component Testing (React/Vue) · §8 CI/CD Integration · §9 Debugging Table · §10 Best Practices
The agent loads from 3 on-demand reference files (advanced-patterns.md, cloud-integration.md, playbook.md) containing detailed implementation guides, cloud integration patterns, debugging tables, and language-specific best practices.