Skip to content

Enable PowerApps MDA Display controls Control for Custom Pages with Test Engine Support #2576

Enable PowerApps MDA Display controls Control for Custom Pages with Test Engine Support

Enable PowerApps MDA Display controls Control for Custom Pages with Test Engine Support #2576

GitHub Actions / DotNet Tests failed Dec 23, 2024 in 0s

924 passed, 1 failed and 6 skipped

Tests failed

Report Passed Failed Skipped Time
src/TestResults/runneradmin_fv-az731-386_2024-12-23_06_42_15.trx 99✅ 3⚪ 17s
src/TestResults/runneradmin_fv-az731-386_2024-12-23_06_42_17.trx 27✅ 6s
src/TestResults/runneradmin_fv-az731-386_2024-12-23_06_42_17[1].trx 28✅ 14s
src/TestResults/runneradmin_fv-az731-386_2024-12-23_06_42_23.trx 15✅ 4s
src/TestResults/runneradmin_fv-az731-386_2024-12-23_06_42_29.trx 4✅ 6s
src/TestResults/runneradmin_fv-az731-386_2024-12-23_06_42_30.trx 5✅ 6s
src/TestResults/runneradmin_fv-az731-386_2024-12-23_06_42_33.trx 579✅ 1❌ 3⚪ 26s
src/TestResults/runneradmin_fv-az731-386_2024-12-23_06_42_36.trx 5✅ 7s
src/TestResults/runneradmin_fv-az731-386_2024-12-23_06_42_38.trx 5✅ 8s
src/TestResults/runneradmin_fv-az731-386_2024-12-23_06_42_49.trx 8✅ 10s
src/TestResults/runneradmin_fv-az731-386_2024-12-23_06_42_49[1].trx 128✅ 55s
src/TestResults/runneradmin_fv-az731-386_2024-12-23_06_43_42.trx 16✅ 13s
src/TestResults/runneradmin_fv-az731-386_2024-12-23_06_43_55.trx 5✅ 7s

✅ src/TestResults/runneradmin_fv-az731-386_2024-12-23_06_42_15.trx

102 tests were completed in 17s with 99 passed, 0 failed and 3 skipped.

Test suite Passed Failed Skipped Time
Microsoft.PowerApps.TestEngine.Tests.PowerApps.ModelDrivenApplicationProviderCustomPageTests 31✅ 1s
Microsoft.PowerApps.TestEngine.Tests.PowerApps.ModelDrivenApplicationProviderEntityListTests 2✅ 3⚪ 209ms
Microsoft.PowerApps.TestEngine.Tests.PowerApps.ModelDrivenApplicationProviderTests 49✅ 11s
testengine.provider.mda.tests.ModelDrivenApplicationCanvasStateTests 17✅ 310ms

✅ src/TestResults/runneradmin_fv-az731-386_2024-12-23_06_42_17.trx

27 tests were completed in 6s with 27 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
testengine.modules.simulation.tests.SimulateConnectorFunctionTests 20✅ 444ms
testengine.modules.simulation.tests.SimulateDataverseFunctionTests 7✅ 232ms

✅ src/TestResults/runneradmin_fv-az731-386_2024-12-23_06_42_17[1].trx

28 tests were completed in 14s with 28 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
testengine.module.powerapps.portal.tests.CheckConnectionExistsFunctionTests 2✅ 256ms
testengine.module.powerapps.portal.tests.ConnectionHelperTests 7✅ 158ms
testengine.module.powerappsportal.tests.CreateConnectionFunctionTests 14✅ 6s
testengine.module.powerappsportal.tests.ExportConnectionsFunctionTest 1✅ 35ms
testengine.module.powerappsportal.tests.GetConnectionFunctionTests 2✅ 226ms
testengine.module.powerappsportal.tests.PowerAppsPortalModuleTests 1✅ 42ms
testengine.module.powerappsportal.tests.SelectSectionFunctionTests 1✅ 211ms

✅ src/TestResults/runneradmin_fv-az731-386_2024-12-23_06_42_23.trx

15 tests were completed in 4s with 15 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
testengine.module.browserlocale.tests.PlaywrightActionFunctionTests 8✅ 344ms
testengine.module.browserlocale.tests.PlaywrightActionModuleTests 3✅ 262ms
testengine.module.browserlocale.tests.PlaywrightActionValueFunctionTests 4✅ 326ms

✅ src/TestResults/runneradmin_fv-az731-386_2024-12-23_06_42_29.trx

4 tests were completed in 6s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
testengine.module.browserlocale.tests.PlaywrightScriptsFunctionTests 1✅ 2s
testengine.module.browserlocale.tests.PlaywrightScriptsModuleTests 3✅ 285ms

✅ src/TestResults/runneradmin_fv-az731-386_2024-12-23_06_42_30.trx

5 tests were completed in 6s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
testengine.module.browserlocale.tests.PauseFunctionTests 2✅ 324ms
testengine.module.browserlocale.tests.PauseModuleTests 3✅ 333ms

❌ src/TestResults/runneradmin_fv-az731-386_2024-12-23_06_42_33.trx

583 tests were completed in 26s with 579 passed, 1 failed and 3 skipped.

Test suite Passed Failed Skipped Time
Microsoft.PowerApps.TestEngine.Tests.Config.SingleTestInstanceStateTests 10✅ 4ms
Microsoft.PowerApps.TestEngine.Tests.Config.TestStateTests 42✅ 167ms
Microsoft.PowerApps.TestEngine.Tests.Config.YamlTestConfigParserTests 10✅ 115ms
Microsoft.PowerApps.TestEngine.Tests.ConsoleOutputTests 14✅ 37ms
Microsoft.PowerApps.TestEngine.Tests.Helpers.ExceptionHandlingHelperTest 2✅ 7ms
Microsoft.PowerApps.TestEngine.Tests.Helpers.LoggingHelpersTest 5✅ 78ms
Microsoft.PowerApps.TestEngine.Tests.Helpers.PollingHelpersTests 4✅ 2⚪ 2s
Microsoft.PowerApps.TestEngine.Tests.Modules.TestEngineExtensionCheckerTests 56✅ 17s
Microsoft.PowerApps.TestEngine.Tests.Modules.TestEngineModuleMEFLoaderTests 16✅ 1⚪ 47ms
Microsoft.PowerApps.TestEngine.Tests.PowerApps.PowerFXModel.ControlRecordValueTests 30✅ 1❌ 51ms
Microsoft.PowerApps.TestEngine.Tests.PowerApps.PowerFXModel.ControlTableSourceTests 1✅ 1ms
Microsoft.PowerApps.TestEngine.Tests.PowerApps.PowerFXModel.ControlTableValueTests 1✅ 17ms
Microsoft.PowerApps.TestEngine.Tests.PowerApps.PowerFXModel.MDATypeMappingTests 6✅ 20ms
Microsoft.PowerApps.TestEngine.Tests.PowerApps.PowerFXModel.TypeMappingTests 6✅ 6ms
Microsoft.PowerApps.TestEngine.Tests.PowerFx.Functions.AssertFunctionTests 2✅ 115ms
Microsoft.PowerApps.TestEngine.Tests.PowerFx.Functions.AssertWithoutMessageFunctionTests 2✅ 9ms
Microsoft.PowerApps.TestEngine.Tests.PowerFx.Functions.IsMatchFunctionTests 27✅ 53ms
Microsoft.PowerApps.TestEngine.Tests.PowerFx.Functions.ScreenshotFunctionTests 9✅ 23ms
Microsoft.PowerApps.TestEngine.Tests.PowerFx.Functions.SelectFunctionTests 9✅ 146ms
Microsoft.PowerApps.TestEngine.Tests.PowerFx.Functions.SetPropertyFunctionTests 8✅ 64ms
Microsoft.PowerApps.TestEngine.Tests.PowerFx.Functions.WaitFunctionTests 25✅ 11s
Microsoft.PowerApps.TestEngine.Tests.PowerFx.PowerFxEngineTests 23✅ 20s
Microsoft.PowerApps.TestEngine.Tests.PowerFx.PowerFxHelperTests 31✅ 162ms
Microsoft.PowerApps.TestEngine.Tests.Reporting.TestLoggerTests 11✅ 45ms
Microsoft.PowerApps.TestEngine.Tests.Reporting.TestLogTests 1✅ 1ms
Microsoft.PowerApps.TestEngine.Tests.Reporting.TestReporterTests 16✅ 161ms
Microsoft.PowerApps.TestEngine.Tests.SingleTestRunnerTests 18✅ 661ms
Microsoft.PowerApps.TestEngine.Tests.System.FileSystemTests 82✅ 26ms
Microsoft.PowerApps.TestEngine.Tests.TestEngineTests 22✅ 303ms
Microsoft.PowerApps.TestEngine.Tests.TestInfra.MicrosoftEntraNetworkMonitorTests 14✅ 32ms
Microsoft.PowerApps.TestEngine.Tests.TestInfra.PlaywrightTestInfraFunctionTests 38✅ 8s
Microsoft.PowerApps.TestEngine.Tests.TestInfra.TestRecorderTests 38✅ 1s

❌ Microsoft.PowerApps.TestEngine.Tests.PowerApps.PowerFXModel.ControlRecordValueTests

✅ ComponentsControlRecordValueTest
✅ GalleryControlRecordValueTest
❌ GetPrimativeField(formulaType: Blank, json: "{PropertyValue: null}", expected: null)
	System.ArgumentNullException : Value cannot be null. (Parameter 'value')
✅ GetPrimativeField(formulaType: Boolean, json: "{PropertyValue: 'false'}", expected: False)
✅ GetPrimativeField(formulaType: Boolean, json: "{PropertyValue: 'true'}", expected: True)
✅ GetPrimativeField(formulaType: Boolean, json: "{PropertyValue: false}", expected: False)
✅ GetPrimativeField(formulaType: Boolean, json: "{PropertyValue: true}", expected: True)
✅ GetPrimativeField(formulaType: Date, json: "{PropertyValue: 1702166400000}", expected: 2023-12-10T00:00:00.0000000Z)
✅ GetPrimativeField(formulaType: DateTime, json: "{PropertyValue: 1702170123000}", expected: 2023-12-10T01:02:03.0000000Z)
✅ GetPrimativeField(formulaType: Guid, json: "{PropertyValue: '27c6c5cb-4b47-4283-a107-9164feb7d"···, expected: 27c6c5cb-4b47-4283-a107-9164feb7db08)
✅ GetPrimativeField(formulaType: Number, json: "{PropertyValue: 1}", expected: 1)
✅ GetPrimativeField(formulaType: String, json: "{PropertyValue: 'Test'}", expected: "Test")
✅ GetRecord(formulaType: KnownRecordType { FieldNames = [···], TableSymbolName = null, UserVisibleTypeName = null }, json: "{PropertyValue: 'A'}", expected: "{'Test': \"A\"}")
✅ GetRecord(formulaType: KnownRecordType { FieldNames = [···], TableSymbolName = null, UserVisibleTypeName = null }, json: "{PropertyValue: 'false'}", expected: "{'Test': false}")
✅ GetRecord(formulaType: KnownRecordType { FieldNames = [···], TableSymbolName = null, UserVisibleTypeName = null }, json: "{PropertyValue: 'true'}", expected: "{'Test': true}")
✅ GetRecord(formulaType: KnownRecordType { FieldNames = [···], TableSymbolName = null, UserVisibleTypeName = null }, json: "{PropertyValue: 1.1}", expected: "{'Test': 1.1}")
✅ GetRecord(formulaType: KnownRecordType { FieldNames = [···], TableSymbolName = null, UserVisibleTypeName = null }, json: "{PropertyValue: 1}", expected: "{'Test': 1}")
✅ GetRecord(formulaType: KnownRecordType { FieldNames = [···], TableSymbolName = null, UserVisibleTypeName = null }, json: "{PropertyValue: 1702166400000}", expected: "{'Test': \"2023-12-10T00:00:00.0000000Z\"}")
✅ GetRecord(formulaType: KnownRecordType { FieldNames = [···], TableSymbolName = null, UserVisibleTypeName = null }, json: "{PropertyValue: 1702170123000}", expected: "{'Test': \"2023-12-10T01:02:03.0000000Z\"}")
✅ GetRecord(formulaType: KnownRecordType { FieldNames = [···], TableSymbolName = null, UserVisibleTypeName = null }, json: "{PropertyValue: false}", expected: "{'Test': false}")
✅ GetRecord(formulaType: KnownRecordType { FieldNames = [···], TableSymbolName = null, UserVisibleTypeName = null }, json: "{PropertyValue: true}", expected: "{'Test': true}")
✅ GetTable(formulaType: TableType { FieldNames = [···], TableSymbolName = null, UserVisibleTypeName = null }, json: "{PropertyValue: 'A'}", expected: "[{'Test': \"A\"}]")
✅ GetTable(formulaType: TableType { FieldNames = [···], TableSymbolName = null, UserVisibleTypeName = null }, json: "{PropertyValue: 'false'}", expected: "[{'Test': false}]")
✅ GetTable(formulaType: TableType { FieldNames = [···], TableSymbolName = null, UserVisibleTypeName = null }, json: "{PropertyValue: 'true'}", expected: "[{'Test': true}]")
✅ GetTable(formulaType: TableType { FieldNames = [···], TableSymbolName = null, UserVisibleTypeName = null }, json: "{PropertyValue: 1.1}", expected: "[{'Test': 1.1}]")
✅ GetTable(formulaType: TableType { FieldNames = [···], TableSymbolName = null, UserVisibleTypeName = null }, json: "{PropertyValue: 1}", expected: "[{'Test': 1}]")
✅ GetTable(formulaType: TableType { FieldNames = [···], TableSymbolName = null, UserVisibleTypeName = null }, json: "{PropertyValue: 1702166400000}", expected: "[{'Test': \"2023-12-10T00:00:00.0000000Z\"}]")
✅ GetTable(formulaType: TableType { FieldNames = [···], TableSymbolName = null, UserVisibleTypeName = null }, json: "{PropertyValue: 1702170123000}", expected: "[{'Test': \"2023-12-10T01:02:03.0000000Z\"}]")
✅ GetTable(formulaType: TableType { FieldNames = [···], TableSymbolName = null, UserVisibleTypeName = null }, json: "{PropertyValue: false}", expected: "[{'Test': false}]")
✅ GetTable(formulaType: TableType { FieldNames = [···], TableSymbolName = null, UserVisibleTypeName = null }, json: "{PropertyValue: true}", expected: "[{'Test': true}]")
✅ SimpleControlRecordValueTest

✅ src/TestResults/runneradmin_fv-az731-386_2024-12-23_06_42_36.trx

5 tests were completed in 7s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
testengine.module.ConsentDialogFunctionTests 3✅ 1s
testengine.module.ModelDrivenApplicationModuleTests 1✅ 227ms
testengine.module.SelectControlFunctionTests 1✅ 205ms

✅ src/TestResults/runneradmin_fv-az731-386_2024-12-23_06_42_38.trx

5 tests were completed in 8s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
testengine.auth.certificatestore.tests.CertificateStoreProviderTests 5✅ 255ms

✅ src/TestResults/runneradmin_fv-az731-386_2024-12-23_06_42_49.trx

8 tests were completed in 10s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
testengine.user.storagestate.tests.PowerPlatformLoginTests 8✅ 352ms

✅ src/TestResults/runneradmin_fv-az731-386_2024-12-23_06_42_49[1].trx

128 tests were completed in 55s with 128 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Microsoft.PowerApps.TestEngine.Tests.PowerApps.PowerAppFunctionsTest 128✅ 45s

✅ src/TestResults/runneradmin_fv-az731-386_2024-12-23_06_43_42.trx

16 tests were completed in 13s with 16 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
testengine.user.storagestate.tests.StorageStateUserManagerModuleTests 16✅ 5s

✅ src/TestResults/runneradmin_fv-az731-386_2024-12-23_06_43_55.trx

5 tests were completed in 7s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Microsoft.PowerApps.TestEngine.Tests.PowerApps.PowerAppPortalProviderTest 5✅ 74ms

Annotations

Check failure on line 178 in src/Microsoft.PowerApps.TestEngine/Providers/PowerFxModel/ControlRecordValue.cs

See this annotation in the file changed.

@github-actions github-actions / DotNet Tests

Microsoft.PowerApps.TestEngine.Tests.PowerApps.PowerFXModel.ControlRecordValueTests ► GetPrimativeField(formulaType: Blank, json: "{PropertyValue: null}", expected: null)

Failed test found in:
  src/TestResults/runneradmin_fv-az731-386_2024-12-23_06_42_33.trx
Error:
  System.ArgumentNullException : Value cannot be null. (Parameter 'value')
Raw output
System.ArgumentNullException : Value cannot be null. (Parameter 'value')
   at Microsoft.PowerFx.Types.FormulaValue.New(String value)
   at Microsoft.PowerApps.TestEngine.Providers.PowerFxModel.ControlRecordValue.TryGetField(FormulaType fieldType, String fieldName, FormulaValue& result) in D:\a\PowerApps-TestEngine\PowerApps-TestEngine\src\Microsoft.PowerApps.TestEngine\Providers\PowerFxModel\ControlRecordValue.cs:line 178
   at Microsoft.PowerFx.Types.RecordValue.TryGetFieldAsync(FormulaType fieldType, String fieldName, CancellationToken cancellationToken)
   at Microsoft.PowerFx.Types.RecordValue.GetFieldAsync(FormulaType fieldType, String fieldName, CancellationToken cancellationToken)
   at Microsoft.PowerFx.Types.RecordValue.GetFieldAsync(String fieldName, CancellationToken cancellationToken)
   at Microsoft.PowerApps.TestEngine.Tests.PowerApps.PowerFXModel.ControlRecordValueTests.GetPrimativeField(FormulaType formulaType, String json, Object expected) in D:\a\PowerApps-TestEngine\PowerApps-TestEngine\src\Microsoft.PowerApps.TestEngine.Tests\Provider\PowerFXModel\ControlRecordValueTests.cs:line 185
--- End of stack trace from previous location ---