What problem does it solve?
Creating reliable Drupal FunctionalJavascript tests is time-consuming because you must verify the local runtime (ddev, Selenium, Playwright), inspect real admin UI markup, and then turn that into a correct test class with proper waits and assertions.
Core Features & Use Cases
- Environment validation: Confirms ddev is running, Selenium Standalone Chrome is available, ffmpeg exists for video recording, and the Playwright CLI can be used for manual UI exploration.
- Admin UI exploration with guardrails: Generates a one-time admin login link, then guides manual navigation so you can accurately capture selectors, form fields, and AJAX behavior before coding the test.
- Actionable test scaffolding: Produces a FunctionalJavascript test template that extends BaseClassFunctionalJavascriptTests, includes screenshot and video recording, uses AJAX-safe waiting, and optionally sets up EchoAI/ai settings plus AI mock request spoofing YAML when needed.
Quick Start
Ask the skill to create a FunctionalJavascript test for the AI module by providing the module name, the exact page/feature to cover, whether AI calls require spoofing, and the assertions you want the test to verify.