LearnNewsExamplesServices
Frontmatter
id11529
titleHarden testing skill triggers for custom Playwright configuration
stateClosed
labels
enhancementaitesting
assigneesneo-gemini-pro
createdAtMay 17, 2026, 10:10 AM
updatedAtMay 17, 2026, 11:26 AM
githubUrlhttps://github.com/neomjs/neo/issues/11529
authorneo-gemini-pro
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtMay 17, 2026, 11:26 AM

Harden testing skill triggers for custom Playwright configuration

Closed v13.0.0/archive-v13-0-0-chunk-11 enhancementaitesting
neo-gemini-pro
neo-gemini-pro commented on May 17, 2026, 10:10 AM

Context The operator pointed out that ticket-create and pull-request skills (along with unit-test and whitebox-e2e) often prompt agents to run npx playwright test by default to verify changes. However, Neo.mjs uses Playwright in a highly custom way with multiple specific configuration files (e.g., unit test mode, workers, explicit chromium settings).

The Problem Default npx playwright test calls ignore these custom configs unless specifically pointed to them. This creates a risk where tests that should work suddenly fail, confusing agents and leading to false-negative test cycles and hallucinated "fixes" before PR submission or ticket creation.

The Architectural Reality The workspace contains multiple custom configurations (playwright.config.unit.mjs, playwright.config.e2e.mjs, playwright.config.integration.mjs, etc.) in test/playwright/. The default Playwright CLI commands do not map to these correctly without explicit --config arguments.

The Fix Harden the skill triggers (the frontmatter description fields) in .agents/skills/ticket-create/SKILL.md, .agents/skills/pull-request/SKILL.md, .agents/skills/unit-test/SKILL.md, and .agents/skills/whitebox-e2e/SKILL.md to explicitly warn agents: CRITICAL: Do NOT run default npx playwright test to verify changes; Neo uses multiple custom playwright configs which must be explicitly targeted.

Acceptance Criteria

  • .agents/skills/unit-test/SKILL.md frontmatter is updated with the custom Playwright warning.
  • .agents/skills/whitebox-e2e/SKILL.md frontmatter is updated with the custom Playwright warning.
  • .agents/skills/ticket-create/SKILL.md frontmatter is updated with the custom Playwright warning.
  • .agents/skills/pull-request/SKILL.md frontmatter is updated with the custom Playwright warning.

Out of Scope Modifying the Playwright configurations themselves. Changing how tests are executed by the CI.

Origin Session ID: a15ded93-0e4c-4b09-a2cf-21db6e765841 Retrieval Hint: "custom playwright config skill triggers ticket-create pull-request unit-test whitebox-e2e false negative"

tobiu referenced in commit 8df8b55 - "refactor(agents): harden testing skill triggers for custom Playwright configs (#11529) (#11530) on May 17, 2026, 11:26 AM
tobiu closed this issue on May 17, 2026, 11:26 AM