Skip to content

Commit

Permalink
[#224] Flaky test assertion on log output
Browse files Browse the repository at this point in the history
[[#224]](#224)
  • Loading branch information
maltoe committed May 1, 2023
1 parent ff3d6ae commit 1ea7afe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/integration/pdf_generation_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,9 @@ defmodule ChromicPDF.PDFGenerationTest do
fn ->
ChromicPDF.print_to_pdf({:html, ""}, params)
end

# Allow some more time for the targetCrashed message to arrive.
Process.sleep(100)
end) =~ "received an 'Inspector.targetCrashed' message"
end
end
Expand Down

0 comments on commit 1ea7afe

Please sign in to comment.