mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-08-17 01:10:28 +03:00
LibWeb: Try to fix a flaky animation test
Not sure if this'll fix it fully, as the flake has only ever been observed on CI.
This commit is contained in:
parent
73aadddbc1
commit
0acf89234c
Notes:
sideshowbarker
2024-07-17 02:29:45 +09:00
Author: https://github.com/mattco98 Commit: https://github.com/SerenityOS/serenity/commit/0acf89234c Pull-request: https://github.com/SerenityOS/serenity/pull/24514
@ -16,6 +16,10 @@
|
||||
println(`Animation's replaceState is not removed after creating new animation: ${animation1.replaceState === "active"}`);
|
||||
|
||||
await animation2.finished;
|
||||
|
||||
// This shouldn't be necessary, but this test has been a bit flaky on CI, so this should hopefully make the test more reliable
|
||||
await animationFrame();
|
||||
|
||||
println(`Animation's replaceState is removed after new animation finishes: ${animation1.replaceState === "removed"}`);
|
||||
});
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user