LearnNewsExamplesServices
Frontmatter
id7444
titleCreate Component Test form/field/Number.mjs in Playwright
stateClosed
labels
enhancementhelp wantedhacktoberfestai
assigneeserbierc
createdAtOct 10, 2025, 6:58 PM
updatedAtNov 2, 2025, 1:29 PM
githubUrlhttps://github.com/neomjs/neo/issues/7444
authortobiu
commentsCount4
parentIssue7435
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtNov 2, 2025, 1:29 PM

Create Component Test form/field/Number.mjs in Playwright

Closed v11.0.0 enhancementhelp wantedhacktoberfestai
tobiu
tobiu commented on Oct 10, 2025, 6:58 PM

IMPORTANT: Before starting, please read the parent epic in detail to understand the required architecture and testing patterns: https://github.com/neomjs/neo/issues/7435

This task is part of Phase 2 and is blocked by the completion of Phase 1 (Test Harness Setup).

This task is to creat the component test for form/field/Number.mjs for the Playwright test runner.

Acceptance Criteria

  1. Create a new test file at test/playwright/component/form/field/Number.spec.mjs.
  2. Follow the architectural guide outlined in the parent epic for component test migration.
  3. The new test can be similar to the of the original Siesta test (test/components/files/form/field/Text.mjs) for text fields, but requires new testing criteria: number fields can use triggers, for increasing or decreasing their value.
  4. Ensure the new test runs successfully via the component test runner.
tobiu added the enhancement label on Oct 10, 2025, 6:58 PM
tobiu added parent issue #7435 on Oct 10, 2025, 6:58 PM
tobiu added the help wanted label on Oct 10, 2025, 6:58 PM
tobiu added the hacktoberfest label on Oct 10, 2025, 6:58 PM
tobiu added the ai label on Oct 10, 2025, 6:58 PM
erbierc
erbierc Oct 12, 2025, 11:09 PM

I'd like to work on this!

tobiu
tobiu Oct 13, 2025, 12:09 PM

i just noted that we have 2 tickets for form.field.Text. I will update this one to test form.field.Number instead. super similar, but has no siesta counterpart.

tobiu assigned to @erbierc on Oct 13, 2025, 12:09 PM
tobiu changed title from Convert Component Test form/field/Text.mjs to Playwright to Create Component Test form/field/Number.mjs in Playwright on Oct 13, 2025, 12:09 PM
tobiu
tobiu Oct 13, 2025, 12:16 PM

some ideas: look into src/form/field/Text.mjs and src/form/field/Number.mjs to see how it works (point your agent to it). Use npm run build-all, unless you have already done it for your fork. then use npm run server-start, and you can open examples like examples/form/field/number inside your browser.

as mentioned earlier, we can literally open 100+ additional tickets for component based testing alone.

erbierc cross-referenced by PR #7597 on Oct 21, 2025, 10:00 PM
erbierc
erbierc Oct 22, 2025, 3:14 PM

PR added: #7597

tobiu closed this issue on Nov 2, 2025, 1:29 PM