Whitebox E2e
Testing & Qualitywhitebox-e2eWhitebox E2e is an Agent Skill for testing & quality published in the neomjs/neo repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Standardized guide and protocol for authoring robust Whitebox End-to-End tests using the Neural Link Playwright fixture. CRITICAL: Neo.mjs uses Playwright in a highly custom way. Standard Playwright patterns will fail. Triggers: Use this skill before writing, modifying, or executing Playwright End-to-End tests, or if the user asks you to write an E2E test, add end-to-end coverage, or test a component holistically.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/neomjs/neo/blob/HEAD/.agents/skills/whitebox-e2e/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/whitebox-e2e, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Whitebox E2E Testing Protocol
If you are tasked with writing new End-to-End tests for Neo.mjs applications, you MUST immediately use the view_file tool to read and strictly adhere to .agents/skills/whitebox-e2e/references/whitebox-e2e-protocol.md before planning your assertions or writing any test code.
This prevents the creation of brittle, visual-only DOM locator tests by ensuring you utilize the deep-state introspection capabilities of the Neural Link fixture.