File tree Expand file tree Collapse file tree 1 file changed +1
-17
lines changed
roles/tests-unit/files/FWO.Test Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -108,26 +108,10 @@ public async Task GeneratePdf()
108108 } ) ;
109109 }
110110 catch ( Exception )
111- {
112- Log . WriteAlert ( "Test Log" , $ "Couldn't start { wantedBrowser } instance! Trying symlink path: { GlobalConst . ChromeBinPathLinux } ") ;
113- //throw new Exception($"Couldn't start {wantedBrowser} instance!");
114- }
115-
116- try
117- {
118- browser = await Puppeteer . LaunchAsync ( new LaunchOptions
119- {
120- ExecutablePath = GlobalConst . ChromeBinPathLinux ,
121- Headless = true ,
122- DumpIO = isGitHubActions ,
123- Args = isGitHubActions ? [ "--database=/tmp" , "--no-sandbox" ] : [ ]
124- } ) ;
125- }
126- catch ( Exception )
127111 {
128112 Log . WriteAlert ( "Test Log" , $ "Couldn't start { wantedBrowser } instance!") ;
129113 throw new Exception ( $ "Couldn't start { wantedBrowser } instance!") ;
130- }
114+ }
131115
132116 await TryCreatePDF ( browser , PuppeteerSharp . Media . PaperFormat . A0 ) ;
133117 await TryCreatePDF ( browser , PuppeteerSharp . Media . PaperFormat . A1 ) ;
You can’t perform that action at this time.
0 commit comments