diff --git a/src/Microsoft.PowerApps.TestEngine/Modules/TestEngineExtensionChecker.cs b/src/Microsoft.PowerApps.TestEngine/Modules/TestEngineExtensionChecker.cs index ce604e62..b88d8e3a 100644 --- a/src/Microsoft.PowerApps.TestEngine/Modules/TestEngineExtensionChecker.cs +++ b/src/Microsoft.PowerApps.TestEngine/Modules/TestEngineExtensionChecker.cs @@ -300,7 +300,8 @@ public bool VerifyContainsValidNamespacePowerFxFunctions(TestSettingExtensions s var constructor = constructors.Where(c => c.HasBody).FirstOrDefault(); - if (constructor == null) { + if (constructor == null) + { Logger.LogInformation($"No constructor with a bosy"); } diff --git a/src/testengine.module.powerapps.portal.tests/SelectSectionFunctionTests.cs b/src/testengine.module.powerapps.portal.tests/SelectSectionFunctionTests.cs index 9dbe6e4f..62994c88 100644 --- a/src/testengine.module.powerapps.portal.tests/SelectSectionFunctionTests.cs +++ b/src/testengine.module.powerapps.portal.tests/SelectSectionFunctionTests.cs @@ -45,7 +45,7 @@ public void SectionFound() MockPage.Setup(x => x.ClickAsync("[data-test-id='solutions']", null)).Returns(Task.CompletedTask); var function = new SelectSectionFunction(MockTestInfraFunctions.Object, MockTestState.Object, MockLogger.Object); - + // Act function.Execute(FormulaValue.New("solutions")); diff --git a/src/testengine.module.powerapps.portal/SelectSection.cs b/src/testengine.module.powerapps.portal/SelectSection.cs index a6309b29..b71a7a09 100644 --- a/src/testengine.module.powerapps.portal/SelectSection.cs +++ b/src/testengine.module.powerapps.portal/SelectSection.cs @@ -43,12 +43,14 @@ public BlankValue Execute(StringValue section) private async Task ExecuteAsync(StringValue section) { - foreach (var page in _testInfraFunctions.GetContext().Pages) { + foreach (var page in _testInfraFunctions.GetContext().Pages) + { var url = page.Url; var sectionName = section.Value.ToString(); // TODO: Handle case section is not visible in the left navigation. If not consider adding steps to make visible from extra options in the portal - if (url.Contains("powerapps.com") && url.Contains("/environments") && url.Contains("/home")) { + if (url.Contains("powerapps.com") && url.Contains("/environments") && url.Contains("/home")) + { var selector = $"[data-test-id='{sectionName}']"; await page.WaitForSelectorAsync($"{selector}:visible");