Tests: Add the hidden-img hack to a couple of flaky tests

Editing a WPT import feels wrong because fixing the bug would be better,
but flaky CI helps nobody.
This commit is contained in:
Sam Atkins 2025-09-25 09:56:40 +01:00
parent c3fd21b0ba
commit d9ed784f92
Notes: github-actions[bot] 2025-09-25 13:11:23 +00:00
2 changed files with 6 additions and 0 deletions

View file

@ -17,3 +17,6 @@
<feimage xlink:href="support/color-palette.png"/>
</filter>
</svg>
<!-- HACK: Force the document to wait for the image to load -->
<img src="support/color-palette.png" style="opacity: 0"/>

View file

@ -13,6 +13,9 @@
</head>
<body>
<div id="background"></div>
<!-- HACK: Force the document to wait for the image to load -->
<img src="../data/smiley.png" style="opacity: 0"/>
<script>
fetch("../data/smiley.png")