neos / contentrepository-development-collection

Work in Progress on the Event Sourced Content Repository as installable set of packages
4 stars 9 forks source link

Simplify creation of multiple nodes in Behat features #142

Closed bwaidelich closed 4 years ago

bwaidelich commented 4 years ago

Adds a step definition to the EventSourcedTrait that makes it easier to read and write multiple CreateNodeAggregateWithNode for the same content stream and origin dimension space point.

Usage:

Given the following CreateNodeAggregateWithNode commands are executed for content stream "cs-identifier" and origin '{"language":"de"}':
 | nodeAggregateIdentifier | parentNodeAggregateIdentifier | nodeTypeName           |
 | some-node-id            | some-parent-node-id           | Some.Node:Type         |
 | some-other-node-id      | some-parent-node-id           | Some.Other.Node:Type   |