Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TASK: remove obsolete contentStreamId argument for commands in behat #4967

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ Feature: Create node aggregate with node
Scenario: Try to create a node aggregate with a property the node type does not declare
When the command CreateNodeAggregateWithNode is executed with payload and exceptions are caught:
| Key | Value |
| contentStreamId | "cs-identifier" |
| nodeAggregateId | "nody-mc-nodeface" |
| nodeTypeName | "Neos.ContentRepository.Testing:Node" |
| parentNodeAggregateId | "lady-eleonode-rootford" |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,6 @@ Feature: Create node specialization

When the command CreateNodeVariant is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| nodeAggregateId | "sir-david-nodenborough" |
| sourceOrigin | {"market":"DE", "language":"en"} |
| targetOrigin | {"market":"CH", "language":"en"} |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ Feature: Create node generalization
Scenario: Create generalization of node to dimension space point with further generalizations
When the command CreateNodeVariant is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| nodeAggregateId | "sir-david-nodenborough" |
| sourceOrigin | {"market":"CH", "language":"gsw"} |
| targetOrigin | {"market":"DE", "language":"gsw"} |
Expand Down Expand Up @@ -293,15 +292,13 @@ Feature: Create node generalization
Scenario: Create generalization of node to dimension space point with specializations that are partially occupied and covered
Given the command CreateNodeVariant is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| nodeAggregateId | "sir-david-nodenborough" |
| sourceOrigin | {"market":"CH", "language":"gsw"} |
| targetOrigin | {"market":"DE", "language":"de"} |
And the graph projection is fully up to date

When the command CreateNodeVariant is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| nodeAggregateId | "sir-david-nodenborough" |
| sourceOrigin | {"market":"CH", "language":"gsw"} |
| targetOrigin | {"market":"DE", "language":"en"} |
Expand Down Expand Up @@ -433,15 +430,13 @@ Feature: Create node generalization
Scenario: Create generalization of a node to a dimension space point that is already covered by a more general generalization
Given the command CreateNodeVariant is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| nodeAggregateId | "sir-david-nodenborough" |
| sourceOrigin | {"market":"CH", "language":"gsw"} |
| targetOrigin | {"market":"DE", "language":"en"} |
And the graph projection is fully up to date

When the command CreateNodeVariant is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| nodeAggregateId | "sir-david-nodenborough" |
| sourceOrigin | {"market":"CH", "language":"gsw"} |
| targetOrigin | {"market":"DE", "language":"de"} |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ Feature: Create node peer variant
Scenario: Create peer variant of node to dimension space point without specializations
When the command CreateNodeVariant is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| nodeAggregateId | "sir-david-nodenborough" |
| sourceOrigin | {"market":"DE", "language":"en"} |
| targetOrigin | {"market":"CH", "language":"fr"} |
Expand Down Expand Up @@ -248,7 +247,6 @@ Feature: Create node peer variant

When the command CreateNodeVariant is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| nodeAggregateId | "madame-lanode" |
| sourceOrigin | {"market":"CH", "language":"fr"} |
| targetOrigin | {"market":"DE", "language":"en"} |
Expand Down Expand Up @@ -452,7 +450,6 @@ Feature: Create node peer variant

When the command CreateNodeVariant is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| nodeAggregateId | "madame-lanode" |
| sourceOrigin | {"market":"CH", "language":"fr"} |
| targetOrigin | {"market":"DE", "language":"de"} |
Expand Down Expand Up @@ -680,22 +677,19 @@ Feature: Create node peer variant
Scenario: Create a peer node variant to a dimension space point with specializations and where the parent node aggregate is already specialized in
Given the command CreateNodeVariant is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| nodeAggregateId | "sir-david-nodenborough" |
| sourceOrigin | {"market":"DE", "language":"en"} |
| targetOrigin | {"market":"DE", "language":"fr"} |
And the graph projection is fully up to date
And the command CreateNodeVariant is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| nodeAggregateId | "sir-david-nodenborough" |
| sourceOrigin | {"market":"DE", "language":"fr"} |
| targetOrigin | {"market":"CH", "language":"fr"} |
And the graph projection is fully up to date

When the command CreateNodeVariant is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| nodeAggregateId | "nody-mc-nodeface" |
| sourceOrigin | {"market":"DE", "language":"en"} |
| targetOrigin | {"market":"DE", "language":"fr"} |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ Feature: Set properties
Scenario: Set node properties
And the command SetNodeProperties is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| nodeAggregateId | "nody-mc-nodeface" |
| originDimensionSpacePoint | {"language": "de"} |
| propertyValues | {"string":"My new string", "int":8472, "float":72.84, "bool":true, "array":{"givenName":"David", "familyName":"Nodenborough","age":84}, "dayOfWeek":"DayOfWeek:https://schema.org/Friday", "date":"Date:2021-03-13T17:33:17+00:00", "uri":"URI:https://www.neos.io", "postalAddress":"PostalAddress:anotherDummy", "price":"PriceSpecification:anotherDummy"} |
Expand All @@ -113,7 +112,6 @@ Feature: Set properties
Scenario: Set node properties, partially
And the command SetNodeProperties is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| nodeAggregateId | "nody-mc-nodeface" |
| originDimensionSpacePoint | {"language": "de"} |
| propertyValues | {"string":"My new string"} |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ Feature: Set node properties with different scopes
Scenario: Set node properties
And the command SetNodeProperties is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| nodeAggregateId | "nody-mc-nodeface" |
| originDimensionSpacePoint | {"language": "de"} |
| propertyValues | {"unscopedProperty":"My new string", "nodeScopedProperty":"My new string", "specializationsScopedProperty":"My new string", "nodeAggregateScopedProperty":"My new string"} |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,56 +72,48 @@ Feature: Set node properties with different scopes
Scenario: Set node properties
And the command SetNodeReferences is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| sourceNodeAggregateId | "source-nodandaise" |
| referenceName | "unscopedReference" |
| sourceOriginDimensionSpacePoint | {"language": "de"} |
| references | [{"target": "anthony-destinode"}] |
And the command SetNodeReferences is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| sourceNodeAggregateId | "source-nodandaise" |
| referenceName | "unscopedReferences" |
| sourceOriginDimensionSpacePoint | {"language": "de"} |
| references | [{"target": "anthony-destinode"}] |
And the command SetNodeReferences is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| sourceNodeAggregateId | "source-nodandaise" |
| referenceName | "nodeScopedReference" |
| sourceOriginDimensionSpacePoint | {"language": "de"} |
| references | [{"target": "anthony-destinode"}] |
And the command SetNodeReferences is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| sourceNodeAggregateId | "source-nodandaise" |
| referenceName | "nodeScopedReferences" |
| sourceOriginDimensionSpacePoint | {"language": "de"} |
| references | [{"target": "anthony-destinode"}] |
And the command SetNodeReferences is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| sourceNodeAggregateId | "source-nodandaise" |
| referenceName | "nodeAggregateScopedReference" |
| sourceOriginDimensionSpacePoint | {"language": "de"} |
| references | [{"target": "anthony-destinode"}] |
And the command SetNodeReferences is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| sourceNodeAggregateId | "source-nodandaise" |
| referenceName | "nodeAggregateScopedReferences" |
| sourceOriginDimensionSpacePoint | {"language": "de"} |
| references | [{"target": "anthony-destinode"}] |
And the command SetNodeReferences is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| sourceNodeAggregateId | "source-nodandaise" |
| referenceName | "specializationsScopedReference" |
| sourceOriginDimensionSpacePoint | {"language": "de"} |
| references | [{"target": "anthony-destinode"}] |
And the command SetNodeReferences is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| sourceNodeAggregateId | "source-nodandaise" |
| referenceName | "specializationsScopedReferences" |
| sourceOriginDimensionSpacePoint | {"language": "de"} |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ Feature: On forking a content stream, node references should be copied as well.
When I am in content stream "user-cs-identifier" and dimension space point {"language": "de"}
And the command SetNodeProperties is executed with payload:
| Key | Value |
| contentStreamId | "user-cs-identifier" |
| nodeAggregateId | "source-nodandaise" |
| propertyValues | {"text": "Modified in live workspace"} |
And the graph projection is fully up to date
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,12 @@ Feature: Add New Property
And I am in the active content stream of workspace "live"
And the command CreateRootNodeAggregateWithNode is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| nodeAggregateId | "lady-eleonode-rootford" |
| nodeTypeName | "Neos.ContentRepository:Root" |
And the graph projection is fully up to date
# Node /document
When the command CreateNodeAggregateWithNode is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| nodeAggregateId | "sir-david-nodenborough" |
| nodeTypeName | "Neos.ContentRepository.Testing:Document" |
| originDimensionSpacePoint | {} |
Expand All @@ -44,7 +42,6 @@ Feature: Add New Property
# Node /doc2
When the command CreateNodeAggregateWithNode is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| nodeAggregateId | "other" |
| nodeTypeName | "Neos.ContentRepository.Testing:Document" |
| originDimensionSpacePoint | {} |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ Feature: Copy nodes (without dimensions)
Then I expect node aggregate identifier "sir-nodeward-nodington-iii" to lead to node cs-identifier;sir-nodeward-nodington-iii;{}
When the command CopyNodesRecursively is executed, copying the current node aggregate with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| targetDimensionSpacePoint | {} |
| targetParentNodeAggregateId | "nody-mc-nodeface" |
| targetNodeName | "target-nn" |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ Feature: Change node aggregate type - behavior of HAPPYPATH strategy
And I am in the active content stream of workspace "live" and dimension space point {"language":"de"}
And the command CreateRootNodeAggregateWithNode is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| nodeAggregateId | "lady-eleonode-rootford" |
| nodeTypeName | "Neos.ContentRepository:Root" |
And the graph projection is fully up to date
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ Feature: Find and count nodes using the findChildNodes and countChildNodes queri
And the current date and time is "2023-03-16T13:00:00+01:00"
And the command SetNodeProperties is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| nodeAggregateId | "a2a5" |
| propertyValues | {"integerProperty": 20} |
And the command DisableNodeAggregate is executed with payload:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ Feature: Find and count nodes using the findDescendantNodes and countDescendantN
And the current date and time is "2023-03-16T13:00:00+01:00"
And the command SetNodeProperties is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| nodeAggregateId | "a2a2b" |
| propertyValues | {"integerProperty": 20} |
And the command DisableNodeAggregate is executed with payload:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ Feature: Behavior of Node timestamp properties "created", "originalCreated", "la
And the current date and time is "2023-03-16T12:30:00+01:00"
And the command CreateNodeVariant is executed with payload:
| Key | Value |
| contentStreamId | "cs-user" |
| nodeAggregateId | "a" |
| sourceOrigin | {"language":"de"} |
| targetOrigin | {"language":"ch"} |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ Feature: Tethered Nodes integrity violations
And I am in the active content stream of workspace "live"
And the command CreateRootNodeAggregateWithNode is executed with payload:
| Key | Value |
| contentStreamId | "cs-identifier" |
| nodeAggregateId | "lady-eleonode-rootford" |
| nodeTypeName | "Neos.ContentRepository:Root" |
| tetheredDescendantNodeAggregateIds | {"originally-tethered-node": "originode-tetherton"} |
Expand Down
Loading
Loading