Tests: Make test less flaky

This increases the animation length on this test
as it has been failing for me locally.
This commit is contained in:
Psychpsyo 2024-11-29 21:49:57 +01:00 committed by Sam Atkins
parent 6d1fa64f5f
commit 366f15b441
Notes: github-actions[bot] 2024-12-04 17:03:40 +00:00

View file

@ -5,7 +5,7 @@
width: 100px;
height: 100px;
background-color: blue;
animation: anim 1s;
animation: anim 100s;
}
@keyframes anim {
from {
@ -18,5 +18,5 @@
</style>
<div id="foo"></div>
<script>
document.getElementById("foo").getAnimations()[0].currentTime = 500;
document.getElementById("foo").getAnimations()[0].currentTime = 50_000; // 50 seconds
</script>