Frontmatter
| id | 7444 |
| title | Create Component Test form/field/Number.mjs in Playwright |
| state | Closed |
| labels | enhancementhelp wantedhacktoberfestai |
| assignees | erbierc |
| createdAt | Oct 10, 2025, 6:58 PM |
| updatedAt | Nov 2, 2025, 1:29 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7444 |
| author | tobiu |
| commentsCount | 4 |
| parentIssue | 7435 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Nov 2, 2025, 1:29 PM |
Create Component Test form/field/Number.mjs in Playwright
tobiu added parent issue #7435 on Oct 10, 2025, 6:58 PM

erbierc
Oct 12, 2025, 11:09 PM
I'd like to work on this!

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
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
Oct 22, 2025, 3:14 PM
PR added: #7597
tobiu closed this issue on Nov 2, 2025, 1:29 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.mjsfor the Playwright test runner.Acceptance Criteria
test/playwright/component/form/field/Number.spec.mjs.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.