Skip to content

Truly independent web browser

Tests/LibWeb: Shorten the fling test’s second burst of momentum

sideshowbarker2e9ae3ea4d5f
diff --git a/Tests/LibWeb/Text/input/async-scrolling/scrollend-of-a-box-flung-during-a-thumb-drag-of-another.html b/Tests/LibWeb/Text/input/async-scrolling/scrollend-of-a-box-flung-during-a-thumb-drag-of-another.html
index 3e245d2428f..3efebdc9ac7 100644
--- a/Tests/LibWeb/Text/input/async-scrolling/scrollend-of-a-box-flung-during-a-thumb-drag-of-another.html
+++ b/Tests/LibWeb/Text/input/async-scrolling/scrollend-of-a-box-flung-during-a-thumb-drag-of-another.html
@@ -77,7 +77,7 @@
await internals.mouseEventThroughUIProcess("mousedown", 147, 40);
await internals.mouseEventThroughUIProcess("mousemove", 147, 70, { buttons: 1 });
await internals.mouseEventThroughUIProcess("mouseup", 147, 70);
- await momentumFor(1000);
+ await momentumFor(100);
report("thumb released while the other box is under momentum");
await internals.wheelThroughUIProcess(250, 50, 0, 0, true, "ended");
await settle();