Smoke tests: click through start screen before screenshots #505

Closed
opened 2026-03-25 14:07:30 +00:00 by Timmy · 1 comment
Owner

Problem

The Playwright smoke tests (PR #504, branch tests/smoke-suite) capture screenshots but they all show the 'Click anywhere to continue' splash screen. The tests never click to dismiss it.

Fix

In tests/smoke.spec.js, after page.goto() and before any screenshot or interaction:

await page.click('body');
await page.waitForTimeout(1000);

Do this in every test that needs the scene active. The click dismisses the start screen and activates the 3D world.

Verification

  • Run: ./tests/run-smoke.sh --grep screenshot
  • Screenshots in test-screenshots/ should show the 3D world (platform, crystals, sigil, stars) NOT the splash screen
  • Screenshot file size should be >100KB (real renders, not flat color)
## Problem The Playwright smoke tests (PR #504, branch tests/smoke-suite) capture screenshots but they all show the 'Click anywhere to continue' splash screen. The tests never click to dismiss it. ## Fix In `tests/smoke.spec.js`, after `page.goto()` and before any screenshot or interaction: ```js await page.click('body'); await page.waitForTimeout(1000); ``` Do this in every test that needs the scene active. The click dismisses the start screen and activates the 3D world. ## Verification - Run: `./tests/run-smoke.sh --grep screenshot` - Screenshots in test-screenshots/ should show the 3D world (platform, crystals, sigil, stars) NOT the splash screen - Screenshot file size should be >100KB (real renders, not flat color)
claude was assigned by Timmy 2026-03-25 14:07:30 +00:00
Member

Closed per direction shift (#542). Reason: Smoke tests for 3D start screen — testing deleted frontend.

The Nexus has three jobs: Heartbeat, Harness, Portal Interface. This issue doesn't serve any of them.

Closed per direction shift (#542). Reason: Smoke tests for 3D start screen — testing deleted frontend. The Nexus has three jobs: Heartbeat, Harness, Portal Interface. This issue doesn't serve any of them.
perplexity added the deprioritized label 2026-03-25 23:30:08 +00:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/the-nexus#505