Skip to content

Additional APIs for WebContents #75

Additional APIs for WebContents

Additional APIs for WebContents #75

Triggered via pull request December 4, 2025 19:07
@agracioagracio
synchronize #958
agracio:apis
Status Failure
Total duration 3m 6s
Artifacts 15

integration-tests.yml

on: pull_request
Matrix: tests
Test Results
30s
Test Results
Fit to window
Zoom out
Zoom in

Annotations

13 errors
Integration Tests (macos-14 / Electron 30.4.0)
Process completed with exit code 1.
Integration Tests (macos-26 / Electron 38.2.2)
Process completed with exit code 1.
Integration Tests (macos-26 / Electron 30.4.0)
Process completed with exit code 1.
Integration Tests (windows-2025 / Electron 38.2.2)
Process completed with exit code 1.
Test Results
Github Test Reporter: 8 failed tests found
Failed Test: GetSetAudioMuted_check: macos-14|Electron 30.4.0#L153
GetSetAudioMuted_check: Expected ok to be False, but found True. - at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message) at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message) at FluentAssertions.Execution.AssertionScope.AddPreFormattedFailure(String formattedFailureMessage) at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason) at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason) at FluentAssertions.Execution.AssertionChain.FailWith(String message, Object[] args) at FluentAssertions.Primitives.BooleanAssertions`1.BeFalse(String because, Object[] becauseArgs) at ElectronNET.IntegrationTests.Tests.WebContentsTests.GetSetAudioMuted_check() in /Users/runner/work/Electron.NET/Electron.NET/src/ElectronNET.IntegrationTests/Tests/WebContentsTests.cs:line 153 --- End of stack trace from previous location ---
Failed Test: DevTools_check: macos-26|Electron 30.4.0#L136
DevTools_check: Expected fx.MainWindow.WebContents.IsDevToolsOpened() to be True, but found False. - at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message) at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message) at FluentAssertions.Execution.AssertionScope.AddPreFormattedFailure(String formattedFailureMessage) at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason) at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason) at FluentAssertions.Execution.AssertionChain.FailWith(String message, Object[] args) at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs) at ElectronNET.IntegrationTests.Tests.WebContentsTests.DevTools_check() in /Users/runner/work/Electron.NET/Electron.NET/src/ElectronNET.IntegrationTests/Tests/WebContentsTests.cs:line 136 --- End of stack trace from previous location ---
Failed Test: GetSetAudioMuted_check: macos-26|Electron 38.2.2#L153
GetSetAudioMuted_check: Expected ok to be False, but found True. - at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message) at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message) at FluentAssertions.Execution.AssertionScope.AddPreFormattedFailure(String formattedFailureMessage) at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason) at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason) at FluentAssertions.Execution.AssertionChain.FailWith(String message, Object[] args) at FluentAssertions.Primitives.BooleanAssertions`1.BeFalse(String because, Object[] becauseArgs) at ElectronNET.IntegrationTests.Tests.WebContentsTests.GetSetAudioMuted_check() in /Users/runner/work/Electron.NET/Electron.NET/src/ElectronNET.IntegrationTests/Tests/WebContentsTests.cs:line 153 --- End of stack trace from previous location ---
Failed Test: GetPrintersAsync_check: windows-2025|Electron 38.2.2#L81
GetPrintersAsync_check: System.TimeoutException : No response after 5000ms trying to retrieve value webContents.GetPrintersAsync() - at ElectronNET.IntegrationTests.Tests.WebContentsTests.GetPrintersAsync_check() in D:\a\Electron.NET\Electron.NET\src\ElectronNET.IntegrationTests\Tests\WebContentsTests.cs:line 81 --- End of stack trace from previous location ---
Failed Test: GetSetZoomLevel_check: windows-2025|Electron 38.2.2#L110
GetSetZoomLevel_check: System.TimeoutException : No response after 1000ms trying to retrieve value webContents.GetZoomLevelAsync() - at ElectronNET.IntegrationTests.Tests.WebContentsTests.GetSetZoomLevel_check() in D:\a\Electron.NET\Electron.NET\src\ElectronNET.IntegrationTests\Tests\WebContentsTests.cs:line 110 --- End of stack trace from previous location ---
Failed Test: GetSetUserAgent_check: windows-2025|Electron 38.2.2#L173
GetSetUserAgent_check: System.TimeoutException : No response after 1000ms trying to retrieve value webContents.GetUserAgentAsync() - at ElectronNET.IntegrationTests.Tests.WebContentsTests.GetSetUserAgent_check() in D:\a\Electron.NET\Electron.NET\src\ElectronNET.IntegrationTests\Tests\WebContentsTests.cs:line 173 --- End of stack trace from previous location ---
Failed Test: UserAgentProperty_check: windows-2025|Electron 38.2.2#L442
UserAgentProperty_check: System.AggregateException : One or more errors occurred. (No response after 1000ms trying to retrieve value webContents.UserAgent()) ---- System.TimeoutException : No response after 1000ms trying to retrieve value webContents.UserAgent() - at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at ElectronNET.API.WebContents.get_UserAgent() in D:\a\Electron.NET\Electron.NET\src\ElectronNET.API\API\WebContents.cs:line 442 at ElectronNET.IntegrationTests.Tests.WebContentsTests.UserAgentProperty_check() in D:\a\Electron.NET\Electron.NET\src\ElectronNET.IntegrationTests\Tests\WebContentsTests.cs:line 184 --- End of stack trace from previous location --- ----- Inner Stack Trace -----
Failed Test: AudioMutedProperty_check: windows-2025|Electron 38.2.2#L406
AudioMutedProperty_check: System.AggregateException : One or more errors occurred. (No response after 1000ms trying to retrieve value webContents.AudioMuted()) ---- System.TimeoutException : No response after 1000ms trying to retrieve value webContents.AudioMuted() - at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at ElectronNET.API.WebContents.get_AudioMuted() in D:\a\Electron.NET\Electron.NET\src\ElectronNET.API\API\WebContents.cs:line 406 at ElectronNET.IntegrationTests.Tests.WebContentsTests.AudioMutedProperty_check() in D:\a\Electron.NET\Electron.NET\src\ElectronNET.IntegrationTests\Tests\WebContentsTests.cs:line 167 --- End of stack trace from previous location --- ----- Inner Stack Trace -----

Artifacts

Produced during runtime
Name Size Digest
ctrf-report
163 KB
sha256:9b14c409d6b278847d63a287d0401d6dcd953cf26a4086fe7e8c9233a2678aa4
test-results-macos-14-electron-30.4.0 Expired
23.7 KB
sha256:96265e891290d86e7c23a300314ce192189ae254ee9a1f3fc96dddf1cf207db8
test-results-macos-14-electron-38.2.2 Expired
23.3 KB
sha256:b3f99ae405a1e02374bfb10fa1e5342c989dfc07a737b6e850ccb5546b9bc187
test-results-macos-15-intel-electron-30.4.0 Expired
23.3 KB
sha256:168b36f5e07424d0e5f718a27790deb40bd60bdce4a0dd4871851fe4364751f1
test-results-macos-15-intel-electron-38.2.2 Expired
22.9 KB
sha256:60c6dd2a4f998074c2c910019400221ab96eb7b4dc9929b767735c28fc624527
test-results-macos-26-electron-30.4.0 Expired
24.3 KB
sha256:b71fa12c98a2649fa60a0d50c60bee09228b1295ce5d3d4e18067a4b0a16407f
test-results-macos-26-electron-38.2.2 Expired
24.4 KB
sha256:235697cc5713e5c73b5ad8a55cf02773622bc85710defb1a946a402bcb52b474
test-results-ubuntu-22.04-electron-30.4.0 Expired
24.2 KB
sha256:57ef5d3a2a2e7740e0c7fbf179ef803a0642d317c95af2ea250b9d4d291a208d
test-results-ubuntu-22.04-electron-38.2.2 Expired
24.4 KB
sha256:af48fb33b4657a736b611696d25df3107bc24a40e903e82ccc696933518d2f4c
test-results-ubuntu-24.04-electron-30.4.0 Expired
24.5 KB
sha256:3a51791165ddd2f20926fb7feb2b9b98244dbcc09f796f6680653421ee69d018
test-results-ubuntu-24.04-electron-38.2.2 Expired
24.3 KB
sha256:8a8d32bb24aa940ab42e439710954ac499c37947e01230af014e3f262cea4a68
test-results-windows-2022-electron-30.4.0 Expired
22.9 KB
sha256:8be38a08b839e1474e7bd78540d7fc3d0f6e7a101f984ccf22317e1a55d15ca8
test-results-windows-2022-electron-38.2.2 Expired
23 KB
sha256:5647e2f72b71d170cc7aeeafebf3d5fcc96504066107cc34e0396b844f4673d5
test-results-windows-2025-electron-30.4.0 Expired
22.8 KB
sha256:2d07c79846055165559d88316155c46558619b0efeea95b97b9f416bedb8caf0
test-results-windows-2025-electron-38.2.2 Expired
24.3 KB
sha256:41bf225472b5e9ba2aef70a63593095dbf342dd6e90427ea26a42b8c9587fc16