mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 12:23:15 +00: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
|
@ -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 a new issue