Skip to content

Additional APIs for WebContents #73

Additional APIs for WebContents

Additional APIs for WebContents #73

Triggered via pull request December 4, 2025 18:09
Status Failure
Total duration 5m 57s
Artifacts 15

integration-tests.yml

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

Annotations

24 errors
Integration Tests (macos-14 / 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 (macos-14 / Electron 30.4.0)
Process completed with exit code 1.
Integration Tests (ubuntu-24.04 / Electron 30.4.0)
Process completed with exit code 1.
Integration Tests (ubuntu-24.04 / Electron 38.2.2)
Process completed with exit code 1.
Integration Tests (ubuntu-22.04 / Electron 30.4.0)
Process completed with exit code 1.
Integration Tests (ubuntu-22.04 / Electron 38.2.2)
Process completed with exit code 1.
Integration Tests (macos-15-intel / Electron 30.4.0)
Process completed with exit code 1.
Integration Tests (macos-15-intel / Electron 38.2.2)
Process completed with exit code 1.
Integration Tests (windows-2022 / Electron 38.2.2)
Process completed with exit code 1.
Integration Tests (windows-2025 / Electron 38.2.2)
Process completed with exit code 1.
Integration Tests (windows-2025 / 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 (windows-2022 / Electron 30.4.0)
Process completed with exit code 1.
Failed Test: GetSetZoomFactor_check: ubuntu-24.04|Electron 38.2.2#L88
GetSetZoomFactor_check: Expected ok to be 1.0, but found 1.44 (difference of 0.43999999999999995). - 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.Numeric.NumericAssertionsBase`3.Be(T expected, String because, Object[] becauseArgs) at ElectronNET.IntegrationTests.Tests.WebContentsTests.GetSetZoomFactor_check() in /home/runner/work/Electron.NET/Electron.NET/src/ElectronNET.IntegrationTests/Tests/WebContentsTests.cs:line 88 --- End of stack trace from previous location ---
Failed Test: GetSetZoomLevel_check: ubuntu-24.04|Electron 38.2.2#L112
GetSetZoomLevel_check: Expected ok to be 2, but found 0 (difference of -2). - 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.Numeric.NumericAssertionsBase`3.Be(T expected, String because, Object[] becauseArgs) at ElectronNET.IntegrationTests.Tests.WebContentsTests.GetSetZoomLevel_check() in /home/runner/work/Electron.NET/Electron.NET/src/ElectronNET.IntegrationTests/Tests/WebContentsTests.cs:line 112 --- End of stack trace from previous location ---
Failed Test: GetSetZoomFactor_check: windows-2022|Electron 30.4.0#L88
GetSetZoomFactor_check: Expected ok to be 1.0, but found 1.44 (difference of 0.43999999999999995). - 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.Numeric.NumericAssertionsBase`3.Be(T expected, String because, Object[] becauseArgs) at ElectronNET.IntegrationTests.Tests.WebContentsTests.GetSetZoomFactor_check() in D:\a\Electron.NET\Electron.NET\src\ElectronNET.IntegrationTests\Tests\WebContentsTests.cs:line 88 --- End of stack trace from previous location ---
Failed Test: GetSetUserAgent_check: windows-2022|Electron 30.4.0#L167
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 167 --- End of stack trace from previous location ---
Failed Test: AudioMutedProperty_check: windows-2022|Electron 30.4.0#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 161 --- End of stack trace from previous location --- ----- Inner Stack Trace -----
Failed Test: GetSetZoomFactor_check: windows-2022|Electron 38.2.2#L88
GetSetZoomFactor_check: Expected ok to be 1.0, but found 1.44 (difference of 0.43999999999999995). - 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.Numeric.NumericAssertionsBase`3.Be(T expected, String because, Object[] becauseArgs) at ElectronNET.IntegrationTests.Tests.WebContentsTests.GetSetZoomFactor_check() in D:\a\Electron.NET\Electron.NET\src\ElectronNET.IntegrationTests\Tests\WebContentsTests.cs:line 88 --- End of stack trace from previous location ---
Failed Test: AllowDowngrade_check: windows-2025|Electron 30.4.0#L94
AllowDowngrade_check: System.AggregateException : One or more errors occurred. (No response after 1000ms trying to retrieve value autoUpdater.AllowDowngrade()) ---- System.TimeoutException : No response after 1000ms trying to retrieve value autoUpdater.AllowDowngrade() - at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at ElectronNET.API.AutoUpdater.get_AllowDowngrade() in D:\a\Electron.NET\Electron.NET\src\ElectronNET.API\API\AutoUpdater.cs:line 94 at ElectronNET.IntegrationTests.Tests.AutoUpdaterTests.AllowDowngrade_check() in D:\a\Electron.NET\Electron.NET\src\ElectronNET.IntegrationTests\Tests\AutoUpdaterTests.cs:line 64 --- End of stack trace from previous location --- ----- Inner Stack Trace -----
Failed Test: GetSetZoomFactor_check: windows-2025|Electron 30.4.0#L88
GetSetZoomFactor_check: Expected ok to be 1.0, but found 1.44 (difference of 0.43999999999999995). - 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.Numeric.NumericAssertionsBase`3.Be(T expected, String because, Object[] becauseArgs) at ElectronNET.IntegrationTests.Tests.WebContentsTests.GetSetZoomFactor_check() in D:\a\Electron.NET\Electron.NET\src\ElectronNET.IntegrationTests\Tests\WebContentsTests.cs:line 88 --- End of stack trace from previous location ---
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 159 --- End of stack trace from previous location --- ----- Inner Stack Trace -----
Failed Test: GetSetZoomFactor_check: windows-2025|Electron 38.2.2#L88
GetSetZoomFactor_check: Expected ok to be 1.0, but found 1.44 (difference of 0.43999999999999995). - 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.Numeric.NumericAssertionsBase`3.Be(T expected, String because, Object[] becauseArgs) at ElectronNET.IntegrationTests.Tests.WebContentsTests.GetSetZoomFactor_check() in D:\a\Electron.NET\Electron.NET\src\ElectronNET.IntegrationTests\Tests\WebContentsTests.cs:line 88 --- End of stack trace from previous location ---

Artifacts

Produced during runtime
Name Size Digest
ctrf-report
177 KB
sha256:be3b550f467560938e831f19af176a27b7c3c1b833df14cad2e2a61760e6deb9
test-results-macos-14-electron-30.4.0 Expired
25.3 KB
sha256:bb2f427be72a7527bbb46ac3ed33bc6e3be04488d6e6dfb14ee34961734664e8
test-results-macos-14-electron-38.2.2 Expired
24.6 KB
sha256:a9c4998e1c61f86797dec76db5223cc04e8566c0f81eed417f65972131b89975
test-results-macos-15-intel-electron-30.4.0 Expired
24.5 KB
sha256:285ccb61aaa5197f8f70a4f5c28fbfa780dc1ccf4943adbc141b95a58725a35e
test-results-macos-15-intel-electron-38.2.2 Expired
25.2 KB
sha256:2776e1d33b6441efd06c58ffe6acc90c3c48f64b0418f1385d7189557dad78a1
test-results-macos-26-electron-30.4.0 Expired
25.5 KB
sha256:17784d4c2edaf3c9fb132fd091edf91bd66c2a54dc78ccd36fac08f30dc63d88
test-results-macos-26-electron-38.2.2 Expired
24.4 KB
sha256:fcdd1d7e19b07e56c0b22a0aa6ce33b03fff020406a8050beb89b57c7de7adc9
test-results-ubuntu-22.04-electron-30.4.0 Expired
25.3 KB
sha256:7eeb15d4d0bf9cdbea9c982a002aa72647d912a5450985a5a547b47bc9a3ce81
test-results-ubuntu-22.04-electron-38.2.2 Expired
24.9 KB
sha256:548cfbc097efcffb59cd1acc2411a0efa22e01a95e7db5fbf869fdabf84f3245
test-results-ubuntu-24.04-electron-30.4.0 Expired
25.1 KB
sha256:3505de195d84327d7811906f25673c5078345395185d62025040c2209f39b469
test-results-ubuntu-24.04-electron-38.2.2 Expired
25.4 KB
sha256:0b83f5bce530ae05d7b6c2b4ca30ef4adeb7a1aa390b60c417cd1d2f36e47a89
test-results-windows-2022-electron-30.4.0 Expired
24.1 KB
sha256:11523a208509e7bddd9b4566ca1522e73db175fa16bc75f1240de5d33d677113
test-results-windows-2022-electron-38.2.2 Expired
23.7 KB
sha256:0e9eec29728617a524a45bd7eefae163b00b3ec80e5ab94de04fa6906d6b3dcb
test-results-windows-2025-electron-30.4.0 Expired
24.1 KB
sha256:2fc76f1600f39dea52e20a8a702a826b99cea32db4828ff40eeb690228d476ae
test-results-windows-2025-electron-38.2.2 Expired
24.4 KB
sha256:fbf2df31a1e295d67c64110428cd0fadb96675abcb2021020f2ec651f0098217