Scenario Outline: WKS record relationships block should show relation to wks record created by wks service, with mapping definition targeted to schema of same authority and having higher major version
Scenario Outline: WKS record relationships block should show relation to wks record created by wks service, with mapping definition targeted to schema of same authority and having higher major version
Given I hit Storage service put end point with <relatedEntityPayload> to persist a record say raw1
Given I hit Storage service put end point with <relatedEntityPayload> to persist a record say raw1
And I verify that three wks records are created for this raw record raw1
And I verify that three wks records are created for this raw record raw1
...
@@ -140,33 +148,6 @@ Feature: Covers all positive and negative test cases around WKS transformation s
...
@@ -140,33 +148,6 @@ Feature: Covers all positive and negative test cases around WKS transformation s
When I hit Storage service put end point with <parentPayload> whose raw record contains relationship to record raw1
When I hit Storage service put end point with <parentPayload> whose raw record contains relationship to record raw1
Then Transformed record should contain relationship to wks with same authority of raw1 <relatedEntityPayload> and with higher major version as per <expectedRelationshipBlock>
Then Transformed record should contain relationship to wks with same authority of raw1 <relatedEntityPayload> and with higher major version as per <expectedRelationshipBlock>
# Below scenarios are not applicable any more but they might be in future
# @RelationshipValidation
# Scenario Outline: WKS record relationships block should show relation to wks record created using mapping definition targeted to schema of same authority and with latest major version
# Given I hit Storage service put end point with <relatedEntityPayload> to persist a record say raw1
# And I hit Storage service put end point with <multipleWksWithDifferentMajorVersions> having raw1 as ancestry
# Then I hit wks service with <parentPayload> whose raw record contains relationship to raw1
# And Transformed record should contain relationship to highest major version wks of raw1, as per <expectedRelationshipBlock>