SIGN IN SIGN UP
payloadcms / payload UNCLAIMED

Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.

0 0 16 TypeScript

test: bulk upload button clicks timeout in CI (#15703)

### What

Fixed two flaky bulk upload e2e tests that were timing out in CI when
clicking the "Bulk Upload" button on list views.

<img width="1328" height="573" alt="Screenshot 2026-02-20 at 11 33
57 AM"
src="https://github.com/user-attachments/assets/2c657555-ceb6-43fe-aac8-e7036ff12a0a"
/>

### Why

On list pages, the bulk upload button appears enabled but React hasn't
attached event handlers yet during hydration. In slow CI environments,
clicks fail silently and the drawer never opens, causing timeouts.

### How

Added retry logic using `expect().toPass()` that clicks the button
repeatedly until the dropzone appears
P
Patrik committed
8228a7dc84830213216a185b347b3d6c1f5c4bd4
Parent: 78e8e14
Committed by GitHub <noreply@github.com> on 2/20/2026, 5:13:09 PM