Skip to content

BrowserWindowOptions; Fix default and add more Tests #37

BrowserWindowOptions; Fix default and add more Tests

BrowserWindowOptions; Fix default and add more Tests #37

Triggered via pull request November 20, 2025 01:59
Status Failure
Total duration 3m 9s
Artifacts 4

integration-tests.yml

on: pull_request
Matrix: tests
Test Results
18s
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: 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: 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_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_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.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: 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: 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: 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: 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 ---
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 ---

Artifacts

Produced during runtime
Name Size Digest
ctrf-report
40.9 KB
sha256:a1fa956fe7a273f060fb00c91d3e3c8c7959a9f7b27df0c5d7d9574b43713349
test-results-macos-14 Expired
24 KB
sha256:9447ef1889e26984b4122707b95d72730d84d6b15ff1ece269393bc1730caf6d
test-results-ubuntu-24.04 Expired
24.6 KB
sha256:990275edad6c78ba869a8f6ac405502f8b5dc7e5a031a6d8f2c28d32f02cb170
test-results-windows-2022 Expired
24.2 KB
sha256:f08ea0dd459c92a5514a8fec44a78ebc9cd5bbba8689cfa2491794fe78614f59