We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b8a729 commit 0e756fcCopy full SHA for 0e756fc
roles/tests-unit/files/FWO.Test/HtmlToPdfTest.cs
@@ -63,8 +63,12 @@ public async Task GeneratePdf()
63
64
using IBrowser? browser = await Puppeteer.LaunchAsync(new LaunchOptions
65
{
66
- ExecutablePath = installedBrowser.GetExecutablePath(),
67
- Headless = true
+ ExecutablePath = isGitHubActions != null ? "/usr/bin/chromium-browser" : installedBrowser.GetExecutablePath(),
+ Headless = true,
68
+ DumpIO = isGitHubActions != null ? true : false, // Enables debug logs
69
+ Args = isGitHubActions != null ?
70
+ new[] { "--database=/tmp" }
71
+ : [] // No additional arguments locally
72
});
73
74
try
0 commit comments