diff --git a/bindings/src/Capgemini.PowerApps.SpecFlowBindings/Steps/EntitySteps.cs b/bindings/src/Capgemini.PowerApps.SpecFlowBindings/Steps/EntitySteps.cs
index 8314ca9..59bf41f 100644
--- a/bindings/src/Capgemini.PowerApps.SpecFlowBindings/Steps/EntitySteps.cs
+++ b/bindings/src/Capgemini.PowerApps.SpecFlowBindings/Steps/EntitySteps.cs
@@ -3,6 +3,7 @@
using System;
using System.Globalization;
using System.Linq;
+ using System.Text.RegularExpressions;
using Capgemini.PowerApps.SpecFlowBindings.Extensions;
using FluentAssertions;
using Microsoft.Dynamics365.UIAutomation.Api.UCI;
@@ -492,6 +493,78 @@ public static void ThenTheStatusOfTheRecordIs(string status)
XrmApp.Entity.GetFormState().Should().BeEquivalentTo(status);
}
+ ///
+ /// Asserts that auto-number field has value in given format or not. The input format copies those defined by the https://learn.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/create-auto-number-attributes?view=op-9-1#autonumberformat-options.
+ ///
+ /// The format to match with
+ /// The name of the field.
+ /// The location of the field.
+ [Then(@"I can see a value with the format '(.*)' in the '(.*)' auto-number (field|header field)")]
+ public void ThenICanSeeAValueWithTheFormatInTheAuto_NumberFieldHeaderField(string formatToMatch, string fieldName, string fieldLocation)
+ {
+ string[] inputFormatElements = formatToMatch.Split('-');
+ var fieldValue = fieldLocation == "field" ? XrmApp.Entity.GetValue(fieldName) : XrmApp.Entity.GetHeaderValue(fieldName);
+ string[] inputValueElements = fieldValue.Split('-');
+ string patternNotMatched = string.Empty;
+ string notAllPatternsExists = string.Empty;
+ int minLength;
+ if (inputFormatElements.Length > 0 && inputValueElements.Length > 0 && inputFormatElements.Length == inputValueElements.Length)
+ {
+ for (int i = 0; i < inputFormatElements.Length; i++)
+ {
+ switch (inputFormatElements[i])
+ {
+ case string _ when inputFormatElements[i].Contains("SEQNUM"):
+ minLength = int.Parse(Regex.Match(inputFormatElements[i], @"\d+").Value);
+ Regex regexToMatchSeqNum = new Regex(@"^\d{" + minLength + ",}");
+ if (!regexToMatchSeqNum.IsMatch(inputValueElements[i]))
+ {
+ patternNotMatched += " SEQNUM,";
+ }
+
+ break;
+ case string _ when inputFormatElements[i].Contains("RANDSTRING"):
+ minLength = int.Parse(Regex.Match(inputFormatElements[i], @"\d+").Value);
+ Regex regexToMatchRandString = new Regex(@"^[a-zA-Z0-9]{" + minLength + ",}");
+ if (!regexToMatchRandString.IsMatch(inputValueElements[i]))
+ {
+ patternNotMatched += " RANDSTRING,";
+ }
+
+ break;
+ case string _ when inputFormatElements[i].Contains("DATETIMEUTC"):
+ string dateTimeFormat = inputFormatElements[i].Split(':').GetValue(1).ToString().Trim('}');
+ try
+ {
+ var parsedDate = DateTime.ParseExact(inputValueElements[i], dateTimeFormat, CultureInfo.InvariantCulture);
+ }
+ catch (FormatException)
+ {
+ patternNotMatched += " DATETIMEUTC,";
+ }
+
+ break;
+ default:
+ patternNotMatched += (inputValueElements[i] == inputFormatElements[i]) ? null : " Static Characters,";
+ break;
+ }
+ }
+ }
+ else
+ {
+ notAllPatternsExists += "The no. of input pattern and that are in auto-number field value does not match.";
+ }
+
+ if (!patternNotMatched.IsEmptyValue())
+ {
+ throw new Exception("The auto-number field value does not match the following pattern/s - " + patternNotMatched.Trim(','));
+ }
+ else if (!notAllPatternsExists.IsEmptyValue())
+ {
+ throw new Exception(notAllPatternsExists);
+ }
+ }
+
private static void SetFieldValue(string fieldName, string fieldValue, string fieldType)
{
switch (fieldType)
diff --git a/bindings/tests/Capgemini.PowerApps.SpecFlowBindings.UiTests/EntitySteps.feature b/bindings/tests/Capgemini.PowerApps.SpecFlowBindings.UiTests/EntitySteps.feature
index e172cb9..724dd18 100644
--- a/bindings/tests/Capgemini.PowerApps.SpecFlowBindings.UiTests/EntitySteps.feature
+++ b/bindings/tests/Capgemini.PowerApps.SpecFlowBindings.UiTests/EntitySteps.feature
@@ -189,4 +189,10 @@ Scenario: Assert field not editable
Scenario: Assert fields not editable
Then I can not edit the following fields
| Field |
- | createdonbehalfby |
\ No newline at end of file
+ | createdonbehalfby |
+
+Scenario: Assert if the auto-number field contains value as per the input pattern/format
+ When I enter 'Some text' into the 'sb_name' text field on the form
+ And I save the record
+ Then I can see a value with the format 'SB-{SEQNUM:4}-{RANDSTRING:6}-{DATETIMEUTC:yyyyMMddhhmm}' in the 'sb_autonumberone' auto-number header field
+ And I can see a value with the format '{DATETIMEUTC:yyyyddMM}-{SEQNUM:4}' in the 'sb_autonumbertwo' auto-number field
\ No newline at end of file
diff --git a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/AppModuleSiteMaps/sb_MockApp/AppModuleSiteMap.xml b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/AppModuleSiteMaps/sb_MockApp/AppModuleSiteMap.xml
index 22dfbfe..f7a3f74 100644
--- a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/AppModuleSiteMaps/sb_MockApp/AppModuleSiteMap.xml
+++ b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/AppModuleSiteMaps/sb_MockApp/AppModuleSiteMap.xml
@@ -1,6 +1,10 @@
sb_MockApp
+ False
+ True
+ True
+ True
diff --git a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/AppModuleSiteMaps/sb_MockApp/AppModuleSiteMap_managed.xml b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/AppModuleSiteMaps/sb_MockApp/AppModuleSiteMap_managed.xml
index 22dfbfe..f7a3f74 100644
--- a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/AppModuleSiteMaps/sb_MockApp/AppModuleSiteMap_managed.xml
+++ b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/AppModuleSiteMaps/sb_MockApp/AppModuleSiteMap_managed.xml
@@ -1,6 +1,10 @@
sb_MockApp
+ False
+ True
+ True
+ True
diff --git a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Entities/sb_MockRecord/Entity.xml b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Entities/sb_MockRecord/Entity.xml
index 251f3b9..1994ce3 100644
--- a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Entities/sb_MockRecord/Entity.xml
+++ b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Entities/sb_MockRecord/Entity.xml
@@ -416,6 +416,7 @@
owningbusinessunit
owningbusinessunit
none
+ ValidForAdvancedFind|ValidForForm|ValidForGrid
auto
0
1
@@ -564,6 +565,86 @@
+
+ nvarchar
+ sb_autonumberone
+ sb_autonumberone
+ none
+ ReadOnlyInUI|ValidForAdvancedFind|ValidForForm|ValidForGrid
+ auto
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 1.0.0.2
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 0
+ 0
+ 1
+ 1
+ 0
+ SB-{SEQNUM:4}-{RANDSTRING:6}-{DATETIMEUTC:yyyyMMddhhmm}
+ 0
+ 0
+ 0
+ 0
+ text
+ 100
+ 200
+
+
+
+
+
+
+
+
+ nvarchar
+ sb_autonumbertwo
+ sb_autonumbertwo
+ none
+ ReadOnlyInUI|ValidForAdvancedFind|ValidForForm|ValidForGrid
+ auto
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 1.0.0.2
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 0
+ 0
+ 1
+ 1
+ 0
+ {DATETIMEUTC:yyyyddMM}-{SEQNUM:4}
+ 0
+ 0
+ 0
+ 0
+ text
+ 100
+ 200
+
+
+
+
+
+
+
picklist
sb_choice
@@ -1910,6 +1991,7 @@
0
0
UserOwned
+ ActivityPointer
0
0
0
diff --git a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Entities/sb_MockRecord/FormXml/main/{974e0b5b-0d50-40fd-b607-61bb0812dda0}.xml b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Entities/sb_MockRecord/FormXml/main/{974e0b5b-0d50-40fd-b607-61bb0812dda0}.xml
index f3f511d..dbb8967 100644
--- a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Entities/sb_MockRecord/FormXml/main/{974e0b5b-0d50-40fd-b607-61bb0812dda0}.xml
+++ b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Entities/sb_MockRecord/FormXml/main/{974e0b5b-0d50-40fd-b607-61bb0812dda0}.xml
@@ -27,6 +27,14 @@
+
+
+
+
+
+
+ |
+
@@ -246,10 +254,11 @@
|
-
+
-
+
+
|
@@ -359,9 +368,6 @@
| |
-
-
-
@@ -372,6 +378,39 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
1
1
diff --git a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Entities/sb_MockRecord/FormXml/main/{974e0b5b-0d50-40fd-b607-61bb0812dda0}_managed.xml b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Entities/sb_MockRecord/FormXml/main/{974e0b5b-0d50-40fd-b607-61bb0812dda0}_managed.xml
index f3f511d..dbb8967 100644
--- a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Entities/sb_MockRecord/FormXml/main/{974e0b5b-0d50-40fd-b607-61bb0812dda0}_managed.xml
+++ b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Entities/sb_MockRecord/FormXml/main/{974e0b5b-0d50-40fd-b607-61bb0812dda0}_managed.xml
@@ -27,6 +27,14 @@
+
+
+
+
+
+
+ |
+
@@ -246,10 +254,11 @@
|
-
+
-
+
+
|
@@ -359,9 +368,6 @@
| |
-
-
-
@@ -372,6 +378,39 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
1
1
diff --git a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Entities/sb_SecondaryMockRecord/Entity.xml b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Entities/sb_SecondaryMockRecord/Entity.xml
index f532ea0..699f03a 100644
--- a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Entities/sb_SecondaryMockRecord/Entity.xml
+++ b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Entities/sb_SecondaryMockRecord/Entity.xml
@@ -416,6 +416,7 @@
owningbusinessunit
owningbusinessunit
none
+ ValidForAdvancedFind|ValidForForm|ValidForGrid
auto
0
1
diff --git a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Entities/sb_primarybusinessprocessflow/Entity.xml b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Entities/sb_primarybusinessprocessflow/Entity.xml
index fdcee98..5d26d48 100644
--- a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Entities/sb_primarybusinessprocessflow/Entity.xml
+++ b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Entities/sb_primarybusinessprocessflow/Entity.xml
@@ -83,7 +83,7 @@
0
0
date
- 1
+ 0
1
@@ -280,7 +280,7 @@
0
0
date
- 1
+ 0
1
@@ -594,6 +594,7 @@
0
0
0
+ single
diff --git a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Entities/sb_secondarybusinessprocessflow/Entity.xml b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Entities/sb_secondarybusinessprocessflow/Entity.xml
index ef56e33..583376a 100644
--- a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Entities/sb_secondarybusinessprocessflow/Entity.xml
+++ b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Entities/sb_secondarybusinessprocessflow/Entity.xml
@@ -83,7 +83,7 @@
0
0
date
- 1
+ 0
1
@@ -280,7 +280,7 @@
0
0
date
- 1
+ 0
1
@@ -594,6 +594,7 @@
0
0
0
+ single
diff --git a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/Account.xml b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/Account.xml
index cbd5646..8f425e4 100644
--- a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/Account.xml
+++ b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/Account.xml
@@ -9,6 +9,7 @@
Account
NoCascade
RemoveLink
+ NoCascade
NoCascade
NoCascade
NoCascade
@@ -43,6 +44,7 @@
Account
NoCascade
RemoveLink
+ NoCascade
NoCascade
NoCascade
NoCascade
@@ -77,6 +79,7 @@
Account
NoCascade
RemoveLink
+ NoCascade
NoCascade
NoCascade
NoCascade
diff --git a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/BusinessUnit.xml b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/BusinessUnit.xml
index 65f7567..8d8fd5f 100644
--- a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/BusinessUnit.xml
+++ b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/BusinessUnit.xml
@@ -9,6 +9,7 @@
BusinessUnit
NoCascade
NoCascade
+ NoCascade
NoCascade
NoCascade
NoCascade
@@ -28,6 +29,7 @@
BusinessUnit
NoCascade
NoCascade
+ NoCascade
NoCascade
NoCascade
NoCascade
diff --git a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/Contact.xml b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/Contact.xml
index e2fa6ca..282c7db 100644
--- a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/Contact.xml
+++ b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/Contact.xml
@@ -9,6 +9,7 @@
Contact
NoCascade
RemoveLink
+ NoCascade
NoCascade
NoCascade
NoCascade
@@ -43,6 +44,7 @@
Contact
NoCascade
RemoveLink
+ NoCascade
NoCascade
NoCascade
NoCascade
@@ -77,6 +79,7 @@
Contact
NoCascade
RemoveLink
+ NoCascade
NoCascade
NoCascade
NoCascade
diff --git a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/Organization.xml b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/Organization.xml
index 17f5a93..3ea3cd9 100644
--- a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/Organization.xml
+++ b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/Organization.xml
@@ -9,6 +9,7 @@
Organization
NoCascade
NoCascade
+ NoCascade
NoCascade
NoCascade
NoCascade
@@ -28,6 +29,7 @@
Organization
NoCascade
NoCascade
+ NoCascade
NoCascade
NoCascade
NoCascade
diff --git a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/Owner.xml b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/Owner.xml
index e57cad2..8946261 100644
--- a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/Owner.xml
+++ b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/Owner.xml
@@ -9,6 +9,7 @@
Owner
NoCascade
NoCascade
+ NoCascade
NoCascade
NoCascade
NoCascade
@@ -28,6 +29,7 @@
Owner
NoCascade
NoCascade
+ NoCascade
NoCascade
NoCascade
NoCascade
diff --git a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/ProcessStage.xml b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/ProcessStage.xml
index a2b51b2..b7ff3df 100644
--- a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/ProcessStage.xml
+++ b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/ProcessStage.xml
@@ -9,6 +9,7 @@
ProcessStage
NoCascade
NoCascade
+ NoCascade
NoCascade
NoCascade
NoCascade
@@ -28,6 +29,7 @@
ProcessStage
NoCascade
NoCascade
+ NoCascade
NoCascade
NoCascade
NoCascade
diff --git a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/SystemUser.xml b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/SystemUser.xml
index 8803cd5..f463f06 100644
--- a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/SystemUser.xml
+++ b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/SystemUser.xml
@@ -9,6 +9,7 @@
SystemUser
NoCascade
NoCascade
+ NoCascade
NoCascade
NoCascade
NoCascade
@@ -28,6 +29,7 @@
SystemUser
NoCascade
NoCascade
+ NoCascade
NoCascade
NoCascade
NoCascade
@@ -47,6 +49,7 @@
SystemUser
NoCascade
NoCascade
+ NoCascade
NoCascade
NoCascade
NoCascade
@@ -66,6 +69,7 @@
SystemUser
NoCascade
NoCascade
+ NoCascade
NoCascade
NoCascade
NoCascade
@@ -85,6 +89,7 @@
SystemUser
NoCascade
NoCascade
+ NoCascade
NoCascade
NoCascade
NoCascade
@@ -104,6 +109,7 @@
SystemUser
NoCascade
NoCascade
+ NoCascade
NoCascade
NoCascade
NoCascade
@@ -123,6 +129,7 @@
SystemUser
NoCascade
NoCascade
+ NoCascade
NoCascade
NoCascade
NoCascade
@@ -142,6 +149,7 @@
SystemUser
NoCascade
NoCascade
+ NoCascade
NoCascade
NoCascade
NoCascade
@@ -161,6 +169,7 @@
SystemUser
NoCascade
NoCascade
+ NoCascade
NoCascade
NoCascade
NoCascade
@@ -180,6 +189,7 @@
SystemUser
NoCascade
NoCascade
+ NoCascade
NoCascade
NoCascade
NoCascade
diff --git a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/Team.xml b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/Team.xml
index 180e498..e58f999 100644
--- a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/Team.xml
+++ b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/Team.xml
@@ -9,6 +9,7 @@
Team
NoCascade
NoCascade
+ NoCascade
NoCascade
NoCascade
NoCascade
@@ -28,6 +29,7 @@
Team
NoCascade
NoCascade
+ NoCascade
NoCascade
NoCascade
NoCascade
diff --git a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/TransactionCurrency.xml b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/TransactionCurrency.xml
index 3acb088..1680767 100644
--- a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/TransactionCurrency.xml
+++ b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/TransactionCurrency.xml
@@ -9,6 +9,7 @@
TransactionCurrency
NoCascade
Restrict
+ Restrict
NoCascade
NoCascade
NoCascade
@@ -28,6 +29,7 @@
TransactionCurrency
NoCascade
Restrict
+ Restrict
NoCascade
NoCascade
NoCascade
diff --git a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/Workflow.xml b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/Workflow.xml
index b2fe975..7b8d6d8 100644
--- a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/Workflow.xml
+++ b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/Workflow.xml
@@ -9,6 +9,7 @@
Workflow
NoCascade
NoCascade
+ NoCascade
NoCascade
NoCascade
NoCascade
@@ -28,6 +29,7 @@
Workflow
NoCascade
NoCascade
+ NoCascade
NoCascade
NoCascade
NoCascade
diff --git a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/sb_MockRecord.xml b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/sb_MockRecord.xml
index 52e472a..fa61d79 100644
--- a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/sb_MockRecord.xml
+++ b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/sb_MockRecord.xml
@@ -9,6 +9,7 @@
sb_MockRecord
NoCascade
Cascade
+ NoCascade
NoCascade
NoCascade
NoCascade
@@ -43,6 +44,7 @@
sb_MockRecord
NoCascade
Cascade
+ NoCascade
NoCascade
NoCascade
NoCascade
@@ -77,6 +79,7 @@
sb_MockRecord
Cascade
Cascade
+ NoCascade
Cascade
Cascade
Cascade
diff --git a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/sb_SecondaryMockRecord.xml b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/sb_SecondaryMockRecord.xml
index 0d0055a..139b84b 100644
--- a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/sb_SecondaryMockRecord.xml
+++ b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Relationships/sb_SecondaryMockRecord.xml
@@ -35,6 +35,7 @@
sb_SecondaryMockRecord
NoCascade
RemoveLink
+ NoCascade
NoCascade
NoCascade
NoCascade
@@ -69,6 +70,7 @@
sb_SecondaryMockRecord
NoCascade
RemoveLink
+ NoCascade
NoCascade
NoCascade
NoCascade
diff --git a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Solution.xml b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Solution.xml
index 6cb3424..8831866 100644
--- a/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Solution.xml
+++ b/bindings/tests/sb_PowerAppsSpecFlowBindings_Mock/src/Other/Solution.xml
@@ -1,5 +1,5 @@
-
+
sb_PowerAppsSpecFlowBindings_Mock
@@ -7,7 +7,7 @@
1.0.0.2
- 2
+ 1
powerappsspecflowbindings
@@ -87,11 +87,7 @@
-
-
-
-
@@ -99,8 +95,8 @@
-
-
+
+