diff --git a/bindings/src/Capgemini.PowerApps.SpecFlowBindings/Steps/RelatedGridSteps.cs b/bindings/src/Capgemini.PowerApps.SpecFlowBindings/Steps/RelatedGridSteps.cs index 32fc7c50..74f3ae38 100644 --- a/bindings/src/Capgemini.PowerApps.SpecFlowBindings/Steps/RelatedGridSteps.cs +++ b/bindings/src/Capgemini.PowerApps.SpecFlowBindings/Steps/RelatedGridSteps.cs @@ -20,7 +20,7 @@ public class RelatedGridSteps : PowerAppsStepDefiner [When(@"I open the (\d+(?:(?:st)|(?:nd)|(?:rd)|(?:th))) record in the related grid")] public static void WhenIOpenTheRecordAtPositionInTheRelatedGrid(int index) { - XrmApp.Entity.RelatedGrid.OpenGridRow(index); + XrmApp.Grid.OpenRecord(index); } /// diff --git a/bindings/tests/Capgemini.PowerApps.SpecFlowBindings.UiTests/RelatedGridSteps.feature b/bindings/tests/Capgemini.PowerApps.SpecFlowBindings.UiTests/RelatedGridSteps.feature index 35daec47..f34d9740 100644 --- a/bindings/tests/Capgemini.PowerApps.SpecFlowBindings.UiTests/RelatedGridSteps.feature +++ b/bindings/tests/Capgemini.PowerApps.SpecFlowBindings.UiTests/RelatedGridSteps.feature @@ -8,7 +8,6 @@ Background: And I have created 'a record with a subgrid and related records' And I have opened 'the record' -@ignore # EasyRepo issue: https://github.com/microsoft/EasyRepro/issues/1310 Scenario: Open record at a given position in a related grid When I open the related 'Secondary Mock Records' tab And I open the record at position '0' in the related grid