Tests: Force layout in test to prevent flakiness

This commit is contained in:
Jelle Raaijmakers 2025-06-18 10:06:11 +02:00 committed by Jelle Raaijmakers
parent 3815a7c1eb
commit 3c0b125c1c

View File

@ -3,6 +3,8 @@
😭foobar😭
<script>
test(() => {
document.body.offsetWidth; // force layout
internals.mouseDown(55, 20);
internals.movePointerTo(110, 20);