Skip to content

BrowserWindowOptions; Fix default and add more Tests #38

BrowserWindowOptions; Fix default and add more Tests

BrowserWindowOptions; Fix default and add more Tests #38

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

integration-tests.yml

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

Annotations

13 errors
Integration Tests (macos-14)
Process completed with exit code 1.
Integration Tests (ubuntu-24.04)
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: Can_set_and_get_bounds: Windows#L66
Can_set_and_get_bounds: Expected property round.X to be 10, but found -8. Expected property round.Y to be 20, 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: 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: 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: Can_set_and_get_bounds: macOS#L66
Can_set_and_get_bounds: Expected property round.Y to be 20, but found 25. 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 /Users/runner/work/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: 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.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
41 KB
sha256:2d4150b0839d5140f98328db9acd0fc95e410b9b7d986cf270bb5bf69d6db344
test-results-macos-14 Expired
24.7 KB
sha256:d7b2f152f333964e6047a3f5c58b0aa51ecae4772fd54b4a5fdfe09e853cfc61
test-results-ubuntu-24.04 Expired
24.8 KB
sha256:6b9d964a7bc3c3b70b00f876c870e7864c5fc08d04aacb67b86ac40bf835645f
test-results-windows-2022 Expired
24 KB
sha256:c7bd8750ff85d34fa00d2701ad3cc94cf23171262963ad4444eb8f70571f411e