Skip to content

BrowserWindowOptions; Fix default and add more Tests #39

BrowserWindowOptions; Fix default and add more Tests

BrowserWindowOptions; Fix default and add more Tests #39

Triggered via pull request November 20, 2025 02:39
Status Failure
Total duration 3m 34s
Artifacts 4

integration-tests.yml

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

Annotations

13 errors
Integration Tests (ubuntu-24.04)
Process completed with exit code 1.
Integration Tests (macos-14)
Process completed with exit code 1.
Integration Tests (windows-2022)
Process completed with exit code 1.
Failed Test: Minimize_restore_roundtrip: Ubuntu#L317
Minimize_restore_roundtrip: Expected (win.IsMinimizedAsync()) to be True, but found False. - at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message) at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message) at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason) at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs) at ElectronNET.IntegrationTests.Tests.BrowserWindowTests.Minimize_restore_roundtrip() in /home/runner/work/Electron.NET/Electron.NET/src/ElectronNET.IntegrationTests/Tests/BrowserWindowTests.cs:line 317 --- End of stack trace from previous location ---
Failed Test: Maximize_unmaximize_roundtrip: Ubuntu#L302
Maximize_unmaximize_roundtrip: Expected (win.IsMaximizedAsync()) to be True, but found False. - at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message) at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message) at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason) at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs) at ElectronNET.IntegrationTests.Tests.BrowserWindowTests.Maximize_unmaximize_roundtrip() in /home/runner/work/Electron.NET/Electron.NET/src/ElectronNET.IntegrationTests/Tests/BrowserWindowTests.cs:line 302 --- End of stack trace from previous location ---
Failed Test: Minimize_and_restore_events_fire: Ubuntu#L383
Minimize_and_restore_events_fire: Expected minimized to be True, but found False. - at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message) at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message) at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason) at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs) at ElectronNET.IntegrationTests.Tests.BrowserWindowTests.Minimize_and_restore_events_fire() in /home/runner/work/Electron.NET/Electron.NET/src/ElectronNET.IntegrationTests/Tests/BrowserWindowTests.cs:line 383 --- End of stack trace from previous location ---
Failed Test: Maximize_and_unmaximize_events_fire: Ubuntu#L360
Maximize_and_unmaximize_events_fire: Expected maximized to be True, but found False. - at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message) at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message) 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.BrowserWindowTests.Maximize_and_unmaximize_events_fire() in /home/runner/work/Electron.NET/Electron.NET/src/ElectronNET.IntegrationTests/Tests/BrowserWindowTests.cs:line 360 --- End of stack trace from previous location ---
Failed Test: Minimize_restore_roundtrip: Windows#L317
Minimize_restore_roundtrip: Expected (win.IsMinimizedAsync()) to be True, but found False. - at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message) at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message) at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason) at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs) at ElectronNET.IntegrationTests.Tests.BrowserWindowTests.Minimize_restore_roundtrip() in D:\a\Electron.NET\Electron.NET\src\ElectronNET.IntegrationTests\Tests\BrowserWindowTests.cs:line 317 --- End of stack trace from previous location ---
Failed Test: Maximize_unmaximize_roundtrip: Windows#L305
Maximize_unmaximize_roundtrip: Expected (win.IsMaximizedAsync()) to be False, but found True. - at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message) at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message) at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason) at FluentAssertions.Primitives.BooleanAssertions`1.BeFalse(String because, Object[] becauseArgs) at ElectronNET.IntegrationTests.Tests.BrowserWindowTests.Maximize_unmaximize_roundtrip() in D:\a\Electron.NET\Electron.NET\src\ElectronNET.IntegrationTests\Tests\BrowserWindowTests.cs:line 305 --- End of stack trace from previous location ---
Failed Test: Can_set_and_get_bounds: Windows#L66
Can_set_and_get_bounds: Expected property round.X to be 95, but found -8. Expected property round.Y to be 69, but found -8. Expected property round.Width to be 400, but found 1040. Expected property round.Height to be 300, but found 744. With configuration: - Prefer the declared type of the members - Compare enums by value - Compare tuples by their properties - Compare anonymous types by their properties - Compare records by their members - Include non-browsable members - Match (JSON) member by name (or throw) - Be strict about the order of items in byte arrays - Without automatic conversion. - at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message) at FluentAssertions.Execution.CollectingAssertionStrategy.ThrowIfAny(IDictionary`2 context) at FluentAssertions.Execution.AssertionScope.Dispose() at FluentAssertions.Equivalency.EquivalencyValidator.AssertEquality(Comparands comparands, EquivalencyValidationContext context) at FluentAssertions.Equivalency.EquivalencyValidator.AssertEquality(Comparands comparands, EquivalencyValidationContext context) at FluentAssertions.Primitives.ObjectAssertions`2.BeEquivalentTo[TExpectation](TExpectation expectation, Func`2 config, String because, Object[] becauseArgs) at FluentAssertions.Primitives.ObjectAssertions`2.BeEquivalentTo[TExpectation](TExpectation expectation, String because, Object[] becauseArgs) at ElectronNET.IntegrationTests.Tests.BrowserWindowTests.Can_set_and_get_bounds() in D:\a\Electron.NET\Electron.NET\src\ElectronNET.IntegrationTests\Tests\BrowserWindowTests.cs:line 66 --- End of stack trace from previous location ---
Failed Test: Maximize_and_unmaximize_events_fire: Windows#L360
Maximize_and_unmaximize_events_fire: Expected maximized to be True, but found False. - at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message) at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message) 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.BrowserWindowTests.Maximize_and_unmaximize_events_fire() in D:\a\Electron.NET\Electron.NET\src\ElectronNET.IntegrationTests\Tests\BrowserWindowTests.cs:line 360 --- End of stack trace from previous location ---
Failed Test: Minimize_and_restore_events_fire: Windows#L383
Minimize_and_restore_events_fire: Expected minimized to be True, but found False. - at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message) at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message) at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason) at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs) at ElectronNET.IntegrationTests.Tests.BrowserWindowTests.Minimize_and_restore_events_fire() in D:\a\Electron.NET\Electron.NET\src\ElectronNET.IntegrationTests\Tests\BrowserWindowTests.cs:line 383 --- End of stack trace from previous location ---
Failed Test: Maximize_and_unmaximize_events_fire: macOS#L360
Maximize_and_unmaximize_events_fire: Expected maximized to be True, but found False. - at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message) at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message) 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.BrowserWindowTests.Maximize_and_unmaximize_events_fire() in /Users/runner/work/Electron.NET/Electron.NET/src/ElectronNET.IntegrationTests/Tests/BrowserWindowTests.cs:line 360 --- End of stack trace from previous location ---

Artifacts

Produced during runtime
Name Size Digest
ctrf-report
40 KB
sha256:d280a10e6cf32f194624474156e90b796013cabdb1745b1c5afd325310c44dc5
test-results-macos-14 Expired
23.2 KB
sha256:8141d509a943c91de38f3e3ec6c0823fc4012eb9b26e075f126586588ef64c1a
test-results-ubuntu-24.04 Expired
24.7 KB
sha256:b12fea8d599029b2de47082ba5f7aa5d9c97e68ff895c25b87ac5a18fea28803
test-results-windows-2022 Expired
24.1 KB
sha256:7da0c0aa0d1d98b60d9006fdfb7262deabcef7341cde4a6b5c1440d8e73adc6f