phaser-test-seam-patterns

Installation
SKILL.md

Phaser Test Seam Patterns

Overview

Test seams (window.__TEST__) are the PRIMARY method for testing Phaser games. DOM-based interactions (text search, keyboard simulation) do not work reliably with canvas-rendered content.

Discovery

Always check for test seam before attempting DOM interactions:

if (window.__TEST__ && window.__TEST__.commands) {
  // Test seam available - use it
} else {
  // Test seam not available - check source code or add it
}
Installs
8
GitHub Stars
2
First Seen
Mar 18, 2026
phaser-test-seam-patterns — pmarashian/cursor-agent-skills