Integration Tests Everywhere! #1
integration-tests.yml
on: pull_request
Matrix: tests
Test Results
19s
Annotations
9 errors and 1 warning
|
Integration Tests (macos-14)
Process completed with exit code 1.
|
|
Integration Tests (ubuntu-24.04)
Process completed with exit code 1.
|
|
Failed Test: NotificationTests - Notification_is_supported_check:
Ubuntu#L28
NotificationTests - Notification_is_supported_check: Expected supported to be True, but found False. - at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.AddPreFormattedFailure(String formattedFailureMessage)
at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
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.NotificationTests.Notification_is_supported_check() in /home/runner/work/Electron.NET/Electron.NET/src/ElectronNET.IntegrationTests/Tests/NotificationTests.cs:line 28
--- End of stack trace from previous location ---
|
|
Failed Test: NotificationTests - Notification_create_check:
Ubuntu#L21
NotificationTests - Notification_create_check: Expected tcs.Task.IsCompletedSuccessfully to be True, but found False. - at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.AddPreFormattedFailure(String formattedFailureMessage)
at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
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.NotificationTests.Notification_create_check() in /home/runner/work/Electron.NET/Electron.NET/src/ElectronNET.IntegrationTests/Tests/NotificationTests.cs:line 21
--- End of stack trace from previous location ---
|
|
Failed Test: NativeThemeTests - ThemeSource_roundtrip:
macOS#L31
NativeThemeTests - ThemeSource_roundtrip: Expected themeSourceSystem to be ThemeSourceMode.System {value: 0}, but found ThemeSourceMode.Dark {value: 2}. - at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.AddPreFormattedFailure(String formattedFailureMessage)
at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
at FluentAssertions.Execution.AssertionChain.FailWith(String message, Object[] args)
at FluentAssertions.Primitives.EnumAssertions`2.Be(TEnum expected, String because, Object[] becauseArgs)
at ElectronNET.IntegrationTests.Tests.NativeThemeTests.ThemeSource_roundtrip() in /Users/runner/work/Electron.NET/Electron.NET/src/ElectronNET.IntegrationTests/Tests/NativeThemeTests.cs:line 31
--- End of stack trace from previous location ---
|
|
Test Results
Github Test Reporter: 3 failed tests found
|
|
Failed Test: Notification_is_supported_check:
Ubuntu#L28
Notification_is_supported_check: Expected supported to be True, but found False. - at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.AddPreFormattedFailure(String formattedFailureMessage)
at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
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.NotificationTests.Notification_is_supported_check() in /home/runner/work/Electron.NET/Electron.NET/src/ElectronNET.IntegrationTests/Tests/NotificationTests.cs:line 28
--- End of stack trace from previous location ---
|
|
Failed Test: Notification_create_check:
Ubuntu#L21
Notification_create_check: Expected tcs.Task.IsCompletedSuccessfully to be True, but found False. - at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.AddPreFormattedFailure(String formattedFailureMessage)
at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
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.NotificationTests.Notification_create_check() in /home/runner/work/Electron.NET/Electron.NET/src/ElectronNET.IntegrationTests/Tests/NotificationTests.cs:line 21
--- End of stack trace from previous location ---
|
|
Failed Test: ThemeSource_roundtrip:
macOS#L31
ThemeSource_roundtrip: Expected themeSourceSystem to be ThemeSourceMode.System {value: 0}, but found ThemeSourceMode.Dark {value: 2}. - at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.AddPreFormattedFailure(String formattedFailureMessage)
at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
at FluentAssertions.Execution.AssertionChain.FailWith(String message, Object[] args)
at FluentAssertions.Primitives.EnumAssertions`2.Be(TEnum expected, String because, Object[] becauseArgs)
at ElectronNET.IntegrationTests.Tests.NativeThemeTests.ThemeSource_roundtrip() in /Users/runner/work/Electron.NET/Electron.NET/src/ElectronNET.IntegrationTests/Tests/NativeThemeTests.cs:line 31
--- End of stack trace from previous location ---
|
|
Test Results
Resource not accessible by integration - https://docs.github.com/rest/issues/comments#create-an-issue-comment
Unable to post PR comment - this is likely a permissions issue.
Required permission: "pull-requests: write" needs to be set in your workflow permissions.
Add this to your workflow file:
jobs:
build:
runs-on: ubuntu-latest
permissions:
pull-requests: write
See documentation: https://docs.github.com/en/actions/security-for-github-actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
For forked PRs, you should use the pull_request_target event instead of pull_request.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
ctrf-report
|
34.8 KB |
sha256:7468c4f60555cebce0345d36e65a4b4c22927267c5a9e8a0ca2e686d6e743f2a
|
|
|
test-results-macos-14
Expired
|
21.7 KB |
sha256:2b60079a7a31bf820fc49074dc9c29e1115dbe4f2095f91d43506f911a651d92
|
|
|
test-results-ubuntu-24.04
Expired
|
23.1 KB |
sha256:915262467dc7a93d2c4f942e08905f69137b392c180ecc78b7981691a9f6248b
|
|
|
test-results-windows-2022
Expired
|
20.5 KB |
sha256:63777519113ef47a19d2b5342d730fae5cf0c64535bb4a46357f1a0f09d6a67e
|
|