Skip to content

test(e2e): name the prefill test after what it actually asserts - #1734

Merged
rubenvdlinde merged 1 commit into
developmentfrom
fix/e2e-prefill-test-name
Sep 3, 2026
Merged

test(e2e): name the prefill test after what it actually asserts#1734
rubenvdlinde merged 1 commit into
developmentfrom
fix/e2e-prefill-test-name

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Why

The test was called fills the title and assignee the chosen case type already answers and only ever asserted the title.

#1723 has since made the assignee half impossible to write at all. The new-case action's props seeds assignee: "@me", and prefill only fills empty fields, so a case type's defaultAssignee can no longer reach the form.

That is a reasonable product call — the person filing a case usually handles it — but it means the prefill mechanism is exercised through title and status, not through assignee. A name promising an assertion that cannot exist is worse than no name, because the next reader goes looking for coverage that was never there.

Renamed, and the interaction recorded in a comment where someone will actually meet it.

Verification

  • eslint clean, prettier clean, --list still collects 11 tests
  • Behaviour unchanged: this touches a test name and a comment

For context, the e2e gate is green on 886c88a4 (the merge of #1722): 171 passed, 0 failed, E2E Tests (Playwright) success, 35 jobs succeeded.

🤖 Generated with Claude Code

The test was called "fills the title and assignee the chosen case type
already answers" and only ever asserted the title. #1723 has since made
the assignee half impossible to write at all: the new-case action's
`props` seeds `assignee: "@me"`, prefill only fills EMPTY fields, so a
case type's `defaultAssignee` can no longer reach the form.

That is a reasonable product call — the person filing a case usually
handles it — but it means the prefill mechanism is exercised through
`title` and `status` and not through `assignee`. A name promising an
assertion that cannot exist is worse than no name at all, because the
next reader will go looking for the coverage.

Renamed, and the interaction recorded where someone will meet it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@rubenvdlinde
rubenvdlinde merged commit 9990c25 into development Sep 3, 2026
34 checks passed
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/dossiq @ 61a1ea0

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
build
check-manifest
check-vue3-compile
test-l10n
format
check-schema-l10n
check-l10n-js
composer ✅ 106/106
npm ✅ 540/540
app:check-code ⏭️
info.xml
REUSE
PHPUnit
Newman ⏭️
Playwright ⏭️ deferred — runs on the promotion into beta/main, not on a pull request into development
Hydra gates

Quality workflow — 2026-09-03 10:41 UTC

Download the full PDF report from the workflow artifacts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant