ext-apps/tests/e2e
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Olivier Chafik 4f4dd8b6f0
test(e2e): poll for initial shrink-to-fit zoom before asserting (#607)
The initial fit-to-width in the pdf viewer measures container.clientWidth
immediately after showViewer() flips display:flex. Under CI load the reflow
can lag a tick, leaving widthFit >= 1.0 and zoom at 100% when first read,
which intermittently fails the toBeLessThan(100) assertion (~6 failures in
the 30 runs since #583).

Swap the single-shot read for expect.poll, matching the pattern already used
for the post-fullscreen assertion below, then capture inlineZoom for the
subsequent comparison.
2026-04-09 13:51:40 +01:00
..
servers.spec.ts-snapshots chore: bump ext-apps to 1.4.0 (#582) 2026-04-02 04:33:13 +01:00
generate-grid-screenshots.spec.ts examples: remove arcade (#414) 2026-01-30 22:06:50 +02:00
pdf-annotations-api.spec.ts pdf-server: annotations, interact tool, page extraction & prompt engineering (#506) 2026-03-19 17:41:55 +00:00
pdf-annotations.spec.ts feat(pdf-server): get_viewer_state interact action (#590) 2026-04-02 08:47:48 +01:00
pdf-viewer-zoom.spec.ts test(e2e): poll for initial shrink-to-fit zoom before asserting (#607) 2026-04-09 13:51:40 +01:00
security.spec.ts test(e2e): fix no-op security injection test via frames[] traversal (#540) 2026-03-10 17:36:15 +00:00
servers.spec.ts examples: remove arcade (#414) 2026-01-30 22:06:50 +02:00