Integration Tests Everywhere! #4
integration-tests.yml
on: pull_request
Matrix: tests
Test Results
30s
Annotations
9 errors and 1 warning
|
Integration Tests (ubuntu-24.04)
Process completed with exit code 1.
|
|
Integration Tests (macos-14)
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_create_check:
Ubuntu#L24
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 24
--- End of stack trace from previous location ---
|
|
Failed Test: AutoUpdaterTests - ChannelAsync_check:
macOS#L93
AutoUpdaterTests - ChannelAsync_check: Expected test to be "beta" with a length of 4, but "" has a length of 0, differs near "" (index 0). - 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.StringEqualityStrategy.ValidateAgainstLengthDifferences(AssertionChain assertion, String subject, String expected)
at FluentAssertions.Primitives.StringEqualityStrategy.AssertForEquality(AssertionChain assertionChain, String subject, String expected)
at FluentAssertions.Primitives.StringValidator.Validate(String subject, String expected)
at FluentAssertions.Primitives.StringAssertions`1.Be(String expected, String because, Object[] becauseArgs)
at ElectronNET.IntegrationTests.Tests.AutoUpdaterTests.ChannelAsync_check() in /Users/runner/work/Electron.NET/Electron.NET/src/ElectronNET.IntegrationTests/Tests/AutoUpdaterTests.cs:line 93
--- 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_create_check:
Ubuntu#L24
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 24
--- End of stack trace from previous location ---
|
|
Failed Test: ChannelAsync_check:
macOS#L93
ChannelAsync_check: Expected test to be "beta" with a length of 4, but "" has a length of 0, differs near "" (index 0). - 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.StringEqualityStrategy.ValidateAgainstLengthDifferences(AssertionChain assertion, String subject, String expected)
at FluentAssertions.Primitives.StringEqualityStrategy.AssertForEquality(AssertionChain assertionChain, String subject, String expected)
at FluentAssertions.Primitives.StringValidator.Validate(String subject, String expected)
at FluentAssertions.Primitives.StringAssertions`1.Be(String expected, String because, Object[] becauseArgs)
at ElectronNET.IntegrationTests.Tests.AutoUpdaterTests.ChannelAsync_check() in /Users/runner/work/Electron.NET/Electron.NET/src/ElectronNET.IntegrationTests/Tests/AutoUpdaterTests.cs:line 93
--- 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
|
35.1 KB |
sha256:490a6dc400d815a7c1ef5a115168dfba8c5f632df551e2b92c170b3b0e1280c9
|
|
|
test-results-macos-14
Expired
|
22.2 KB |
sha256:97a02cbe0c237f45cea628cc735c4fad8c0c05fd39c1fcceaaf23612baf0597e
|
|
|
test-results-ubuntu-24.04
Expired
|
23.4 KB |
sha256:ca19d6e378184739e4a91b016bf7c5e0d3cb80a4032b25627a50aecba5e78f20
|
|
|
test-results-windows-2022
Expired
|
20.6 KB |
sha256:d315b3816690cda457fe2270e50e74800f0a98a53dd1397ce06d4459ebe99ec7
|
|