Skip to content

Commit d9ed784

Browse files
committed
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.
1 parent c3fd21b commit d9ed784

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Tests/LibWeb/Ref/input/wpt-import/css/filter-effects/effect-reference-feimage-001.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@
1717
<feimage xlink:href="support/color-palette.png"/>
1818
</filter>
1919
</svg>
20+
21+
<!-- HACK: Force the document to wait for the image to load -->
22+
<img src="support/color-palette.png" style="opacity: 0"/>

Tests/LibWeb/Screenshot/input/css-background-blob-url.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
</head>
1414
<body>
1515
<div id="background"></div>
16+
17+
<!-- HACK: Force the document to wait for the image to load -->
18+
<img src="../data/smiley.png" style="opacity: 0"/>
1619

1720
<script>
1821
fetch("../data/smiley.png")

0 commit comments

Comments
 (0)