BrowserWindowOptions; Fix default and add more Tests #40
integration-tests.yml
on: pull_request
Matrix: tests
Test Results
29s
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_unmaximize_roundtrip:
Ubuntu#L275
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 275
--- End of stack trace from previous location ---
|
|
Failed Test: Minimize_restore_roundtrip:
Ubuntu#L290
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 290
--- End of stack trace from previous location ---
|
|
Failed Test: Maximize_and_unmaximize_events_fire:
Ubuntu#L333
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 333
--- End of stack trace from previous location ---
|
|
Failed Test: Maximize_and_unmaximize_events_fire:
Windows#L333
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 333
--- 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#L278
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 278
--- End of stack trace from previous location ---
|
|
Failed Test: Minimize_restore_roundtrip:
Windows#L290
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 290
--- End of stack trace from previous location ---
|
|
Failed Test: Minimize_and_restore_events_fire:
Windows#L356
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 356
--- End of stack trace from previous location ---
|
|
Failed Test: Maximize_and_unmaximize_events_fire:
macOS#L333
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 333
--- 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.5 KB |
sha256:57c6fa6be5acd855661f2c0d87e5623741d1ac6e29ec960c243299896f8a5c3f
|
|
|
test-results-macos-14
Expired
|
24.4 KB |
sha256:a19780e2c51fd566dc1475aa412593ecc7f1ae11b5902a13dfbb2b4d55e7812b
|
|
|
test-results-ubuntu-24.04
Expired
|
24.9 KB |
sha256:3ef24f30221a74376cb390c531bed64870cd0158d22b760c808e99ff4e781610
|
|
|
test-results-windows-2022
Expired
|
24.5 KB |
sha256:abbc1edf1fd7030c36b349a28a28fe678ff1cfb87226c10bb98b2ba2828ae9d7
|
|