Skip to content

Commit 001e485

Browse files
committed
fix: skip flaky coverage per-function test in headless mode on Linux
ShouldReportRightRangesForPerFunctionScope intermittently fails in headless mode on Linux CI, same as the existing headful SKIP.
1 parent a6f931b commit 001e485

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

lib/PuppeteerSharp.Nunit/TestExpectations/TestExpectations.local.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,13 @@
188188
"parameters": ["chrome", "headful"],
189189
"expectations": ["SKIP"]
190190
},
191+
{
192+
"comment": "Flaky on headless Linux CI: coverage data differs intermittently in headless mode",
193+
"testIdPattern": "[coverage.spec] Coverage specs JSCoverage should report right ranges for \"per function\" scope",
194+
"platforms": ["linux"],
195+
"parameters": ["chrome", "headless"],
196+
"expectations": ["SKIP"]
197+
},
191198
{
192199
"comment": "Flaky on headful Linux CI: BFCache restore causes GoBack to return null response",
193200
"testIdPattern": "[navigation.spec] navigation Page.goBack should work",

0 commit comments

Comments
 (0)