Skip to content

Commit 787cd5b

Browse files
committed
use no sandbox in image export tests
1 parent da9508a commit 787cd5b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/ExtensionLibsTests/ImageExportTests/ImageExport.fs

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ let readTestFilePlatformSpecific filePostfix =
1616
File.ReadAllText (__SOURCE_DIRECTORY__ + $"/data/win{filePostfix}")
1717
else
1818
raise (Exception "Running tests on the current OS is not supported :(")
19+
20+
// https://github.com/hardkoded/puppeteer-sharp/issues/2792 maybe
21+
// generation fails on linux CI, workaround like this?
22+
PuppeteerSharpRendererOptions.launchOptions.Args <- Array.concat [PuppeteerSharpRendererOptions.launchOptions.Args; [| "--no-sandbox" |]]
1923

2024
[<Tests>]
2125
let ``Image export base64 strings tests`` =

0 commit comments

Comments
 (0)