LearnNewsExamplesServices
Frontmatter
id7469
titleRefactor: Consolidate and Refine Playwright Test Harness
stateClosed
labels
enhancementai
assigneestobiu
createdAtOct 12, 2025, 2:56 PM
updatedAtOct 12, 2025, 2:59 PM
githubUrlhttps://github.com/neomjs/neo/issues/7469
authortobiu
commentsCount1
parentIssue7435
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtOct 12, 2025, 2:59 PM

Refactor: Consolidate and Refine Playwright Test Harness

Closed v11.0.0 enhancementai
tobiu
tobiu commented on Oct 12, 2025, 2:56 PM

This task covers the architectural refactoring and consolidation of the Playwright component test harness. After the initial implementation of the "empty viewport" app, we identified several key improvements to create a more logical and scalable structure for our new testing suite.

Key Changes Implemented:

  1. Consolidated Directory Structure: The test harness application was moved from test/apps/ to a dedicated, co-located home at test/playwright/component/apps/empty-viewport/. This ensures all Playwright-related artifacts reside in a single, intuitive location.
  2. Architectural Simplification: The harness was simplified by removing the unnecessary EmptyViewport.mjs subclass and using the framework's base Neo.container.Viewport directly.
  3. Configuration Cleanup: The neo-config.json for the harness was cleaned up to remove redundant settings and rely on the framework's defaults from src/DefaultConfig.mjs.
  4. Strategy Documentation: The main epic (epic-migrate-component-tests-to-playwright.md) was updated to reflect these structural changes and to formally document the new hybrid testing strategy for complex components.
tobiu assigned to @tobiu on Oct 12, 2025, 2:56 PM
tobiu added parent issue #7435 on Oct 12, 2025, 2:56 PM
tobiu added the enhancement label on Oct 12, 2025, 2:56 PM
tobiu added the ai label on Oct 12, 2025, 2:56 PM
tobiu referenced in commit a48b99b - "Refactor: Consolidate and Refine Playwright Test Harness on Oct 12, 2025, 2:58 PM
tobiu
tobiu Oct 12, 2025, 2:59 PM

FYI @Aki-07. I will create 1-2 PoC tests next. also updated the epic to at least mention the hybrid strategy.

tobiu closed this issue on Oct 12, 2025, 2:59 PM