Skip to content

Count queue rows once a row is on the page - #1802

Merged
rubenvdlinde merged 1 commit into
developmentfrom
fix/queue-e2e-waits-for-rows
Sep 4, 2026
Merged

Count queue rows once a row is on the page#1802
rubenvdlinde merged 1 commit into
developmentfrom
fix/queue-e2e-waits-for-rows

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

the queue holds strictly fewer rows than the case index failed against a queue that was completely correct.

The spec counted rows as soon as cn-page became visible, and that happens while the table is still fetching — so it read 0 rows from a page about to render 9, and 4 < 0 is false.

Measured live while diagnosing: /cases renders 9 rows, /queue renders 4. The filter was never in doubt; only the moment the count was taken.

Both counts now wait for the first row to be visible before reading, through one helper so the two pages cannot drift apart in what they wait for.

Verification

Against a throwaway instance carrying merged development, seeded to be discriminating (9 cases: 3 assigned, 2 closed, queue 4):

suite result
spec-coverage/queue.spec.ts 4 passed
spec-coverage/work-navigation.spec.ts 3 passed
navigation.spec.ts 4 passed

Test-only change.

`the queue holds strictly fewer rows than the case index` failed against a queue
that was completely correct. The spec counted rows as soon as `cn-page` became
visible, and that happens while the table is still fetching — so it read 0 rows
from a page about to render 9, and `4 < 0` is false.

Measured live while diagnosing: /cases renders 9 rows, /queue renders 4. The
filter was never in doubt; only the moment the count was taken.

Both counts now wait for the first row to be visible before reading, via one
helper so the two pages cannot drift apart in what they wait for.

Suite now 4 of 4 green, and work-navigation 3 of 3 and navigation 4 of 4 against
the same instance.
@rubenvdlinde
rubenvdlinde merged commit adf60bc into development Sep 4, 2026
34 checks passed
@rubenvdlinde
rubenvdlinde deleted the fix/queue-e2e-waits-for-rows branch September 4, 2026 08:08
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/dossiq @ a3e38f8

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 ✅ 541/541
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-04 09:58 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