LearnNewsExamplesServices
Frontmatter
id7258
titleRefactor Playwright Setup and Convert VdomHelper Test
stateClosed
labels
enhancement
assigneestobiu
createdAtSep 26, 2025, 3:10 PM
updatedAtSep 26, 2025, 3:43 PM
githubUrlhttps://github.com/neomjs/neo/issues/7258
authortobiu
commentsCount1
parentIssue7262
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtSep 26, 2025, 3:43 PM

Refactor Playwright Setup and Convert VdomHelper Test

Closed v11.0.0 enhancement
tobiu
tobiu commented on Sep 26, 2025, 3:10 PM

Description

This ticket covers the initial refactoring of the Playwright test environment and the conversion of the VdomHelper unit test from Siesta.

Work Completed:

  1. Folder Structure Refactored:

    • Created test/playwright/unit and test/playwright/integration directories.
    • Moved the initial button.spec.mjs to the unit directory.
    • Updated playwright.config.mjs to point to the new unit directory.
  2. VdomHelper Test Converted:

    • Converted test/siesta/tests/VdomHelper.mjs to test/playwright/unit/VdomHelper.spec.mjs.
    • Refactored the test setup (test/playwright/setup.mjs) to ensure the Neo environment is initialized correctly.

Current Status:

The conversion of the VdomHelper test is complete. After a thorough review, all missing test logic from the original Siesta test has been added to test/playwright/unit/VdomHelper.spec.mjs.

All 14 unit tests in the Playwright suite are now passing.

tobiu assigned to @tobiu on Sep 26, 2025, 3:10 PM
tobiu added the enhancement label on Sep 26, 2025, 3:10 PM
tobiu referenced in commit 6b0aa06 - "Refactor Playwright Setup and Convert VdomHelper Test #7258" on Sep 26, 2025, 3:12 PM
tobiu closed this issue on Sep 26, 2025, 3:12 PM
tobiu
tobiu Sep 26, 2025, 3:42 PM

reopening, since some tests were not migrated properly.

tobiu reopened this issue on Sep 26, 2025, 3:42 PM
tobiu referenced in commit e527632 - "Refactor Playwright Setup and Convert VdomHelper Test #7258" on Sep 26, 2025, 3:42 PM
tobiu closed this issue on Sep 26, 2025, 3:43 PM
tobiu added parent issue #7262 on Sep 27, 2025, 1:17 PM