Integration Tests Everywhere! #2
integration-tests.yml
on: pull_request
Matrix: tests
Test Results
19s
Annotations
8 errors and 1 warning
|
Integration Tests (ubuntu-24.04)
Process completed with exit code 1.
|
|
Failed Test: BrowserWindowTests - MenuBar_auto_hide_and_visibility:
Ubuntu#L106
BrowserWindowTests - MenuBar_auto_hide_and_visibility: Expected (this.fx.MainWindow.IsMenuBarVisibleAsync()) 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.BrowserWindowTests.MenuBar_auto_hide_and_visibility() in /home/runner/work/Electron.NET/Electron.NET/src/ElectronNET.IntegrationTests/Tests/BrowserWindowTests.cs:line 106
--- End of stack trace from previous location ---
|
|
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 ---
|
|
Test Results
Github Test Reporter: 3 failed tests found
|
|
Failed Test: MenuBar_auto_hide_and_visibility:
Ubuntu#L106
MenuBar_auto_hide_and_visibility: Expected (this.fx.MainWindow.IsMenuBarVisibleAsync()) 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.BrowserWindowTests.MenuBar_auto_hide_and_visibility() in /home/runner/work/Electron.NET/Electron.NET/src/ElectronNET.IntegrationTests/Tests/BrowserWindowTests.cs:line 106
--- End of stack trace from previous location ---
|
|
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 ---
|
|
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
|
33.8 KB |
sha256:da467220767a4ae1134f449d9d2f45c2b882aa12e720849b6ceb0e2a93fcfe37
|
|
|
test-results-macos-14
Expired
|
21.2 KB |
sha256:7ffd62c62c7b1085163da93c7986c7d277ba5fb599df8f8d9b061c5710404fca
|
|
|
test-results-ubuntu-24.04
Expired
|
23.3 KB |
sha256:97d509ee460b7bc5f24806592133d2a84a24a51fcaae55f56d2c940170db82ba
|
|
|
test-results-windows-2022
Expired
|
20.3 KB |
sha256:2d0e9b1b298c88b91ed36ad78d5cce554a84625309de46baea5eceb1ffbf9abf
|
|