Skip to content

Commit

Permalink
[infra] Correct integration test
Browse files Browse the repository at this point in the history
By default, "single-page tests" must include an explicit call to the
global `done` function. Insert this invocation to signal completion and
avoid a test timeout when the test's expectation is satisfied.
  • Loading branch information
jugglinmike committed May 2, 2018
1 parent 3dc968f commit ff3b802
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions infrastructure/browsers/firefox/prefs.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
<script src="/resources/testharnessreport.js"></script>
<script>
assert_equals(getComputedStyle(document.documentElement).color, "rgb(0, 255, 0)")
done();
</script>
<p>This should be green</p>

0 comments on commit ff3b802

Please sign in to comment.