mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-22 19:58:01 +00:00
Two issues made the watermarked share-link spec flaky on Firefox (and silently mis-typed on every browser): 1. test.use inside a for loop leaks the last iteration's value to all tests: both the 'image' and 'video' cases were actually running the video flow. Scope each test.use inside a test.describe block. 2. Selecting the file by clicking the card body raced with the preview area re-rendering (video sprite scrubber hover) and the Radix menu exit animation, which could swallow the click on Firefox. Select via the card checkbox instead, and wait for the menu to fully unmount after Escape before the next interaction. Verified stable: 6/6 on Firefox, 2/2 on Chromium, 2/2 on WebKit.