BrowserWindowOptions; Fix default and add more Tests #42
integration-tests.yml
on: pull_request
Matrix: tests
Test Results
25s
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#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_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_and_restore_events_fire:
Ubuntu#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 /home/runner/work/Electron.NET/Electron.NET/src/ElectronNET.IntegrationTests/Tests/BrowserWindowTests.cs:line 356
--- 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: 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_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.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: 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: 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#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 ---
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
ctrf-report
|
40.4 KB |
sha256:6d25d631168b7598e8d4c288f0d397673a033e7eed75dfbb21d03a4942d883f7
|
|
|
test-results-macos-14
Expired
|
24.3 KB |
sha256:8d76e85a3cffbbe31ddea6f26c31548a84d2ee5735c9063913b818d85aad5d28
|
|
|
test-results-ubuntu-24.04
Expired
|
24.6 KB |
sha256:531c8324a1347c889a24999c0656ee7f766132cd26767acaedce97f56d6ec27a
|
|
|
test-results-windows-2022
Expired
|
24.1 KB |
sha256:c15f6daa88993d576c2797e7a72ad3e2283412f87758d4e09cc5969b6e411944
|
|