Skip to content

Commit

Permalink
tests: exclude score checking and flaky link preload assertion. (#2202)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed May 10, 2017
1 parent d0e0d35 commit f0e0dfa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lighthouse-cli/test/fixtures/dobetterweb/dbw_tester.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
<link rel="stylesheet" href="//localhost:10200/dobetterweb/dbw_tester.css?delay=100"> <!-- FAIL, when run under smokehouse -->
<link rel="stylesheet" href="./unknown404.css?delay=200"> <!-- FAIL -->
<link rel="stylesheet" href="./dbw_tester.css?delay=2200"> <!-- FAIL -->
<link rel="stylesheet" href="./dbw_disabled.css?delay=200" disabled> <!-- PASS -->
<link rel="stylesheet" href="./dbw_disabled.css?delay=200&isdisabled" disabled> <!-- PASS -->
<link rel="import" href="./dbw_partial_a.html?delay=200"> <!-- FAIL -->
<link rel="import" href="./dbw_partial_b.html?delay=200" async> <!-- PASS -->
<link rel="import" href="./dbw_partial_b.html?delay=200&isasync" async> <!-- PASS -->

<!-- PASS: preload that's activated later does not block rendering. -->
<link rel="preload" href="./dbw_tester.css?delay=2000&async=true" as="style" onload="this.rel = 'stylesheet'">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,8 @@ module.exports = [
score: 0,
extendedInfo: {
value: {
results: {
length: 4
}
// TODO: fix flaky test https://github.com/GoogleChrome/lighthouse/issues/2201
// results: 4
}
}
},
Expand Down Expand Up @@ -100,7 +99,8 @@ module.exports = [
score: false
},
'script-blocking-first-paint': {
score: 90,
// TODO: re-enable score assertions when we have more flexible assertions like < 100
// score: 90,
extendedInfo: {
value: {
results: {
Expand Down

0 comments on commit f0e0dfa

Please sign in to comment.