File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
ElectronNET.IntegrationTests/Tests Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ public void OpenDevTools(OpenDevToolsOptions openDevToolsOptions)
139139 /// Get system printers.
140140 /// </summary>
141141 /// <returns>printers</returns>
142- public Task < PrinterInfo [ ] > GetPrintersAsync ( ) => this . InvokeAsyncWithTimeout < PrinterInfo [ ] > ( 10_000 ) ;
142+ public Task < string > GetPrintersAsync ( ) => this . InvokeAsyncWithTimeout < string > ( 10_000 ) ;
143143
144144 /// <summary>
145145 /// Prints window's web page.
Original file line number Diff line number Diff line change @@ -77,6 +77,8 @@ public async Task GetPrintersAsync_check()
7777 {
7878 Skip . If ( Environment . GetEnvironmentVariable ( "GITHUB_TOKEN" ) != null , "Skipping printer test in CI environment." ) ;
7979 var info = await fx . MainWindow . WebContents . GetPrintersAsync ( ) ;
80+
81+ Console . Error . WriteLine ( "GetPrintersAsync_check: " + info ) ;
8082 info . Should ( ) . NotBeNull ( ) ;
8183 }
8284 }
You can’t perform that action at this time.
0 commit comments