Skip to content

Fixed string conversion bug with global function #2700

Fixed string conversion bug with global function

Fixed string conversion bug with global function #2700

Triggered via pull request October 16, 2023 19:09
Status Failure
Total duration 34m 20s
Artifacts 6

main.yml

on: pull_request
Build all projects without errors
16m 54s
Build all projects without errors
JS unit tests
1m 47s
JS unit tests
Matrix: Build published projects without warnings
Matrix: .NET unit tests
Matrix: UI tests
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 61 warnings
JsTranslator_ConvertNumeric (Convert.ToBoolean(IntProp): src/Tests/Binding/JavascriptCompilationTests.cs#L1012
Assert.AreEqual failed. Expected:<Boolean(IntProp())>. Actual:<window.Boolean(IntProp())>.
JsTranslator_ConvertNumeric (Convert.ToBoolean(DoubleProp): src/Tests/Binding/JavascriptCompilationTests.cs#L1012
Assert.AreEqual failed. Expected:<Boolean(DoubleProp())>. Actual:<window.Boolean(DoubleProp())>.
.NET unit tests (ubuntu-latest)
Process completed with exit code 1.
JsTranslator_ConvertNumeric (Convert.ToBoolean(IntProp): src/Tests/Binding/JavascriptCompilationTests.cs#L1012
Assert.AreEqual failed. Expected:<Boolean(IntProp())>. Actual:<window.Boolean(IntProp())>.
JsTranslator_ConvertNumeric (Convert.ToBoolean(DoubleProp): src/Tests/Binding/JavascriptCompilationTests.cs#L1012
Assert.AreEqual failed. Expected:<Boolean(DoubleProp())>. Actual:<window.Boolean(DoubleProp())>.
.NET unit tests (macOS-latest)
Process completed with exit code 1.
JsTranslator_ConvertNumeric (Convert.ToBoolean(IntProp): src/Tests/Binding/JavascriptCompilationTests.cs#L1012
Assert.AreEqual failed. Expected:<Boolean(IntProp())>. Actual:<window.Boolean(IntProp())>.
JsTranslator_ConvertNumeric (Convert.ToBoolean(DoubleProp): src/Tests/Binding/JavascriptCompilationTests.cs#L1012
Assert.AreEqual failed. Expected:<Boolean(DoubleProp())>. Actual:<window.Boolean(DoubleProp())>.
.NET unit tests (windows-2022)
Process completed with exit code 1.
UI tests (firefox, ubuntu-latest, Production, Default)
Action failed since 1 tests failed.
UI tests (firefox, ubuntu-latest, Production, Default)
Process completed with exit code 1.
JS unit tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
.NET unit tests (ubuntu-latest)
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
.NET unit tests (macOS-latest)
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build published projects without warnings (Debug)
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build published projects without warnings (Release)
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
.NET unit tests (windows-2022)
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests)
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Control/UpdateProgressTests.cs#L235
Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead. (https://xunit.net/xunit.analyzers/rules/xUnit2020)
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Control/CheckBoxTests.cs#L152
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Feature/ValidationSummaryTests.cs#L42
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Feature/ValidationSummaryTests.cs#L50
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Feature/ValidationSummaryTests.cs#L54
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Feature/ValidationSummaryTests.cs#L58
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Feature/ValidationTests.cs#L702
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Feature/ValidationTests.cs#L708
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Feature/ValidationTests.cs#L713
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
Build all projects without errors
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build all projects without errors
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build all projects without errors
Detected Razor language version downgrade. This is typically caused by a reference to the Microsoft.AspNetCore.Razor.Design package. Consider removing this package reference.
UI tests (chrome, ubuntu-latest, Production, Default)
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
UI tests (chrome, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Control/UpdateProgressTests.cs#L235
Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead. (https://xunit.net/xunit.analyzers/rules/xUnit2020)
UI tests (chrome, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Control/CheckBoxTests.cs#L152
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Control/IncludeInPagePropertyTests.cs#L23
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Control/IncludeInPagePropertyTests.cs#L40
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Control/IncludeInPagePropertyTests.cs#L41
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Control/IncludeInPagePropertyTests.cs#L54
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Control/IncludeInPagePropertyTests.cs#L70
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Control/ListBoxTests.cs#L54
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Control/RepeaterTests.cs#L28
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Production, Default)
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
UI tests (firefox, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Control/UpdateProgressTests.cs#L235
Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead. (https://xunit.net/xunit.analyzers/rules/xUnit2020)
UI tests (firefox, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Feature/ValidationSummaryTests.cs#L42
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Feature/ValidationSummaryTests.cs#L50
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Feature/ValidationSummaryTests.cs#L54
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Feature/ValidationSummaryTests.cs#L58
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Feature/ValidationTests.cs#L702
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Feature/ValidationTests.cs#L708
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Feature/ValidationTests.cs#L713
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Feature/ValidationTests.cs#L721
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, Default)
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
UI tests (firefox, ubuntu-latest, Development, Default): src/Samples/Tests/Tests/Feature/ValidationTests.cs#L702
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, Default): src/Samples/Tests/Tests/Feature/ValidationTests.cs#L708
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, Default): src/Samples/Tests/Tests/Feature/ValidationTests.cs#L713
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, Default): src/Samples/Tests/Tests/Feature/ValidationTests.cs#L721
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, Default): src/Samples/Tests/Tests/Feature/ValidationTests.cs#L734
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, Default): src/Samples/Tests/Tests/Feature/ValidationSummaryTests.cs#L42
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, Default): src/Samples/Tests/Tests/Feature/ValidationSummaryTests.cs#L50
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, Default): src/Samples/Tests/Tests/Feature/ValidationSummaryTests.cs#L54
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, Default): src/Samples/Tests/Tests/Feature/ValidationSummaryTests.cs#L58
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, ExperimentalFeaturesTests)
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
UI tests (firefox, ubuntu-latest, Development, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Feature/ValidationTests.cs#L734
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Feature/ValidationTests.cs#L702
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Feature/ValidationTests.cs#L708
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Feature/ValidationTests.cs#L713
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Feature/ValidationTests.cs#L721
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Feature/ValidationSummaryTests.cs#L42
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Feature/ValidationSummaryTests.cs#L50
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Feature/ValidationSummaryTests.cs#L54
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Feature/ValidationSummaryTests.cs#L58
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, windows-2022, Development, Default)
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
UI tests (chrome, windows-2022, Development, Default)
Detected Razor language version downgrade. This is typically caused by a reference to the Microsoft.AspNetCore.Razor.Design package. Consider removing this package reference.

Artifacts

Produced during runtime
Name Size
chrome-tests-Linux-Production-Default Expired
1.56 MB
chrome-tests-Linux-Production-ExperimentalFeaturesTests Expired
680 KB
chrome-tests-Windows-Development-Default Expired
733 KB
firefox-tests-Linux-Development-Default Expired
739 KB
firefox-tests-Linux-Development-ExperimentalFeaturesTests Expired
737 KB
firefox-tests-Linux-Production-Default Expired
677 KB