From 9b5ded04b4f01b9837d6d1768302e08eb2a8581a Mon Sep 17 00:00:00 2001 From: Osagie Okoedo Date: Tue, 11 Oct 2022 14:39:44 +0100 Subject: [PATCH 1/3] Updated Selenuim.WedDriver --- .../Capgemini.PowerApps.SpecFlowBindings.UiTests.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/tests/Capgemini.PowerApps.SpecFlowBindings.UiTests/Capgemini.PowerApps.SpecFlowBindings.UiTests.csproj b/bindings/tests/Capgemini.PowerApps.SpecFlowBindings.UiTests/Capgemini.PowerApps.SpecFlowBindings.UiTests.csproj index 5db63b94..1d1d1867 100644 --- a/bindings/tests/Capgemini.PowerApps.SpecFlowBindings.UiTests/Capgemini.PowerApps.SpecFlowBindings.UiTests.csproj +++ b/bindings/tests/Capgemini.PowerApps.SpecFlowBindings.UiTests/Capgemini.PowerApps.SpecFlowBindings.UiTests.csproj @@ -38,7 +38,7 @@ - + From 02b0225000223eb90a82ff47cb0bf1540c230b4d Mon Sep 17 00:00:00 2001 From: Osagie Okoedo Date: Thu, 27 Oct 2022 13:08:37 +0100 Subject: [PATCH 2/3] OpenRecordAtAGivenPositionInARelatedGridbug fixed --- .../Steps/RelatedGridSteps.cs | 2 +- .../RelatedGridSteps.feature | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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 From 462d89b7d1f897292fb326a3846cd526e8dbd902 Mon Sep 17 00:00:00 2001 From: Osagie Okoedo Date: Thu, 27 Oct 2022 15:21:33 +0100 Subject: [PATCH 3/3] removed ignore syntax - test runs fine --- .../LookupSteps.feature | 1 - 1 file changed, 1 deletion(-) diff --git a/bindings/tests/Capgemini.PowerApps.SpecFlowBindings.UiTests/LookupSteps.feature b/bindings/tests/Capgemini.PowerApps.SpecFlowBindings.UiTests/LookupSteps.feature index c8ffe8b2..a2261cd1 100644 --- a/bindings/tests/Capgemini.PowerApps.SpecFlowBindings.UiTests/LookupSteps.feature +++ b/bindings/tests/Capgemini.PowerApps.SpecFlowBindings.UiTests/LookupSteps.feature @@ -28,7 +28,6 @@ Scenario: Open advanced lookup When I search for 'Some text' in the 'sb_lookup' lookup And I click to perform an advanced lookup -@ignore # EasyRepro issue: https://github.com/microsoft/EasyRepro/issues/1311 Scenario: Select a related entity in a lookup When I search for '*' in the 'sb_customer' lookup And I select the related 'Contacts' entity in the lookup