Skip to content

Commit

Permalink
use no sandbox in image export tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kMutagene committed Jan 13, 2025
1 parent da9508a commit 787cd5b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/ExtensionLibsTests/ImageExportTests/ImageExport.fs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ let readTestFilePlatformSpecific filePostfix =
File.ReadAllText (__SOURCE_DIRECTORY__ + $"/data/win{filePostfix}")
else
raise (Exception "Running tests on the current OS is not supported :(")

// https://github.com/hardkoded/puppeteer-sharp/issues/2792 maybe
// generation fails on linux CI, workaround like this?
PuppeteerSharpRendererOptions.launchOptions.Args <- Array.concat [PuppeteerSharpRendererOptions.launchOptions.Args; [| "--no-sandbox" |]]

[<Tests>]
let ``Image export base64 strings tests`` =
Expand Down

0 comments on commit 787cd5b

Please sign in to comment.