Skip to content

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

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 #2579

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

924 passed, 1 failed and 6 skipped

Tests failed

Report Passed Failed Skipped Time
src/TestResults/runneradmin_fv-az1111-850_2024-12-23_07_11_41.trx 579✅ 1❌ 3⚪ 29s
src/TestResults/runneradmin_fv-az1111-850_2024-12-23_07_11_44.trx 15✅ 7s
src/TestResults/runneradmin_fv-az1111-850_2024-12-23_07_11_51.trx 5✅ 6s
src/TestResults/runneradmin_fv-az1111-850_2024-12-23_07_11_51[1].trx 4✅ 7s
src/TestResults/runneradmin_fv-az1111-850_2024-12-23_07_11_56.trx 5✅ 4s
src/TestResults/runneradmin_fv-az1111-850_2024-12-23_07_12_10.trx 99✅ 3⚪ 16s
src/TestResults/runneradmin_fv-az1111-850_2024-12-23_07_12_32.trx 8✅ 10s
src/TestResults/runneradmin_fv-az1111-850_2024-12-23_07_12_32[1].trx 16✅ 15s
src/TestResults/runneradmin_fv-az1111-850_2024-12-23_07_12_37.trx 28✅ 11s
src/TestResults/runneradmin_fv-az1111-850_2024-12-23_07_12_43.trx 5✅ 5s
src/TestResults/runneradmin_fv-az1111-850_2024-12-23_07_12_51.trx 5✅ 8s
src/TestResults/runneradmin_fv-az1111-850_2024-12-23_07_12_55.trx 27✅ 4s
src/TestResults/runneradmin_fv-az1111-850_2024-12-23_07_13_03.trx 128✅ 53s

❌ src/TestResults/runneradmin_fv-az1111-850_2024-12-23_07_11_41.trx

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

Test suite Passed Failed Skipped Time
Microsoft.PowerApps.TestEngine.Tests.Config.SingleTestInstanceStateTests 10✅ 30ms
Microsoft.PowerApps.TestEngine.Tests.Config.TestStateTests 42✅ 173ms
Microsoft.PowerApps.TestEngine.Tests.Config.YamlTestConfigParserTests 10✅ 112ms
Microsoft.PowerApps.TestEngine.Tests.ConsoleOutputTests 14✅ 36ms
Microsoft.PowerApps.TestEngine.Tests.Helpers.ExceptionHandlingHelperTest 2✅ 6ms
Microsoft.PowerApps.TestEngine.Tests.Helpers.LoggingHelpersTest 5✅ 236ms
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⚪ 54ms
Microsoft.PowerApps.TestEngine.Tests.PowerApps.PowerFXModel.ControlRecordValueTests 30✅ 1❌ 121ms
Microsoft.PowerApps.TestEngine.Tests.PowerApps.PowerFXModel.ControlTableSourceTests 1✅ 1ms
Microsoft.PowerApps.TestEngine.Tests.PowerApps.PowerFXModel.ControlTableValueTests 1✅ 19ms
Microsoft.PowerApps.TestEngine.Tests.PowerApps.PowerFXModel.MDATypeMappingTests 6✅ 5ms
Microsoft.PowerApps.TestEngine.Tests.PowerApps.PowerFXModel.TypeMappingTests 6✅ 5ms
Microsoft.PowerApps.TestEngine.Tests.PowerFx.Functions.AssertFunctionTests 2✅ 11ms
Microsoft.PowerApps.TestEngine.Tests.PowerFx.Functions.AssertWithoutMessageFunctionTests 2✅ 9ms
Microsoft.PowerApps.TestEngine.Tests.PowerFx.Functions.IsMatchFunctionTests 27✅ 35ms
Microsoft.PowerApps.TestEngine.Tests.PowerFx.Functions.ScreenshotFunctionTests 9✅ 28ms
Microsoft.PowerApps.TestEngine.Tests.PowerFx.Functions.SelectFunctionTests 9✅ 259ms
Microsoft.PowerApps.TestEngine.Tests.PowerFx.Functions.SetPropertyFunctionTests 8✅ 59ms
Microsoft.PowerApps.TestEngine.Tests.PowerFx.Functions.WaitFunctionTests 25✅ 11s
Microsoft.PowerApps.TestEngine.Tests.PowerFx.PowerFxEngineTests 23✅ 22s
Microsoft.PowerApps.TestEngine.Tests.PowerFx.PowerFxHelperTests 31✅ 476ms
Microsoft.PowerApps.TestEngine.Tests.Reporting.TestLoggerTests 11✅ 26ms
Microsoft.PowerApps.TestEngine.Tests.Reporting.TestLogTests 1✅ 1ms
Microsoft.PowerApps.TestEngine.Tests.Reporting.TestReporterTests 16✅ 166ms
Microsoft.PowerApps.TestEngine.Tests.SingleTestRunnerTests 18✅ 806ms
Microsoft.PowerApps.TestEngine.Tests.System.FileSystemTests 82✅ 54ms
Microsoft.PowerApps.TestEngine.Tests.TestEngineTests 22✅ 282ms
Microsoft.PowerApps.TestEngine.Tests.TestInfra.MicrosoftEntraNetworkMonitorTests 14✅ 102ms
Microsoft.PowerApps.TestEngine.Tests.TestInfra.PlaywrightTestInfraFunctionTests 38✅ 11s
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: 'a11c0794-44e6-4c0d-acfd-902a37357"···, expected: a11c0794-44e6-4c0d-acfd-902a3735799d)
✅ 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-az1111-850_2024-12-23_07_11_44.trx

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

Test suite Passed Failed Skipped Time
testengine.module.browserlocale.tests.PlaywrightActionFunctionTests 8✅ 368ms
testengine.module.browserlocale.tests.PlaywrightActionModuleTests 3✅ 275ms
testengine.module.browserlocale.tests.PlaywrightActionValueFunctionTests 4✅ 350ms

✅ src/TestResults/runneradmin_fv-az1111-850_2024-12-23_07_11_51.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✅ 300ms
testengine.module.browserlocale.tests.PauseModuleTests 3✅ 291ms

✅ src/TestResults/runneradmin_fv-az1111-850_2024-12-23_07_11_51[1].trx

4 tests were completed in 7s 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✅ 287ms

✅ src/TestResults/runneradmin_fv-az1111-850_2024-12-23_07_11_56.trx

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

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

✅ src/TestResults/runneradmin_fv-az1111-850_2024-12-23_07_12_10.trx

102 tests were completed in 16s 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⚪ 188ms
Microsoft.PowerApps.TestEngine.Tests.PowerApps.ModelDrivenApplicationProviderTests 49✅ 11s
testengine.provider.mda.tests.ModelDrivenApplicationCanvasStateTests 17✅ 247ms

✅ src/TestResults/runneradmin_fv-az1111-850_2024-12-23_07_12_32.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✅ 353ms

✅ src/TestResults/runneradmin_fv-az1111-850_2024-12-23_07_12_32[1].trx

16 tests were completed in 15s 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-az1111-850_2024-12-23_07_12_37.trx

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

Test suite Passed Failed Skipped Time
testengine.module.powerapps.portal.tests.CheckConnectionExistsFunctionTests 2✅ 206ms
testengine.module.powerapps.portal.tests.ConnectionHelperTests 7✅ 347ms
testengine.module.powerappsportal.tests.CreateConnectionFunctionTests 14✅ 6s
testengine.module.powerappsportal.tests.ExportConnectionsFunctionTest 1✅ 31ms
testengine.module.powerappsportal.tests.GetConnectionFunctionTests 2✅ 222ms
testengine.module.powerappsportal.tests.PowerAppsPortalModuleTests 1✅ 41ms
testengine.module.powerappsportal.tests.SelectSectionFunctionTests 1✅ 14ms

✅ src/TestResults/runneradmin_fv-az1111-850_2024-12-23_07_12_43.trx

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

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

✅ src/TestResults/runneradmin_fv-az1111-850_2024-12-23_07_12_51.trx

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

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

✅ src/TestResults/runneradmin_fv-az1111-850_2024-12-23_07_12_55.trx

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

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

✅ src/TestResults/runneradmin_fv-az1111-850_2024-12-23_07_13_03.trx

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

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

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-az1111-850_2024-12-23_07_11_41.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 ---