Skip to content

Commit

Permalink
5034 - Refactor test suite to work on workspace where applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard Schmitt committed May 10, 2024
1 parent 8701a6f commit a772403
Show file tree
Hide file tree
Showing 144 changed files with 830 additions and 854 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Feature: Run integrity violation detection regarding hierarchy relations and nod
| workspaceDescription | "The live workspace" |
| newContentStreamId | "cs-identifier" |
And the graph projection is fully up to date
And I am in the active content stream of workspace "live" and dimension space point {}
And I am in workspace "live" and dimension space point {}
And the command CreateRootNodeAggregateWithNode is executed with payload:
| Key | Value |
| nodeAggregateId | "lady-eleonode-rootford" |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Feature: Run integrity violation detection regarding parent relations
| workspaceDescription | "The live workspace" |
| newContentStreamId | "cs-identifier" |
And the graph projection is fully up to date
And I am in the active content stream of workspace "live" and dimension space point {"language":"de"}
And I am in workspace "live" and dimension space point {"language":"de"}
And the command CreateRootNodeAggregateWithNode is executed with payload:
| Key | Value |
| nodeAggregateId | "lady-eleonode-rootford" |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Feature: Run integrity violation detection regarding reference relations
| workspaceDescription | "The live workspace" |
| newContentStreamId | "cs-identifier" |
And the graph projection is fully up to date
And I am in the active content stream of workspace "live" and dimension space point {"language":"de"}
And I am in workspace "live" and dimension space point {"language":"de"}
And the command CreateRootNodeAggregateWithNode is executed with payload:
| Key | Value |
| nodeAggregateId | "lady-eleonode-rootford" |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Feature: Run integrity violation detection regarding sibling sorting
| workspaceDescription | "The live workspace" |
| newContentStreamId | "cs-identifier" |
And the graph projection is fully up to date
And I am in the active content stream of workspace "live" and dimension space point {"language":"de"}
And I am in workspace "live" and dimension space point {"language":"de"}
And the command CreateRootNodeAggregateWithNode is executed with payload:
| Key | Value |
| nodeAggregateId | "lady-eleonode-rootford" |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Feature: Run integrity violation detection regarding subtree tag inheritance
| workspaceDescription | "The live workspace" |
| newContentStreamId | "cs-identifier" |
And the graph projection is fully up to date
And I am in the active content stream of workspace "live" and dimension space point {"language":"de"}
And I am in workspace "live" and dimension space point {"language":"de"}
And the command CreateRootNodeAggregateWithNode is executed with payload:
| Key | Value |
| nodeAggregateId | "lady-eleonode-rootford" |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Feature: Run projection integrity violation detection regarding naming of tether
| workspaceDescription | "The live workspace" |
| newContentStreamId | "cs-identifier" |
And the graph projection is fully up to date
And I am in the active content stream of workspace "live" and dimension space point {"language":"de"}
And I am in workspace "live" and dimension space point {"language":"de"}
And the command CreateRootNodeAggregateWithNode is executed with payload:
| Key | Value |
| nodeAggregateId | "lady-eleonode-rootford" |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Feature: Sibling positions are properly resolved
| workspaceDescription | "The live workspace" |
| newContentStreamId | "cs-identifier" |
And the graph projection is fully up to date
And I am in the active content stream of workspace "live" and dimension space point {"example": "general"}
And I am in workspace "live" and dimension space point {"example": "general"}
And the command CreateRootNodeAggregateWithNode is executed with payload:
| Key | Value |
| nodeAggregateId | "lady-eleonode-rootford" |
Expand All @@ -43,7 +43,7 @@ Feature: Sibling positions are properly resolved


Scenario: Trigger position update in DBAL graph
Given I am in the active content stream of workspace "live" and dimension space point {"example": "general"}
Given I am in workspace "live" and dimension space point {"example": "general"}
# distance i to x: 128
# distance ii to x: 64
When the command MoveNodeAggregate is executed with payload:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Feature: Create a root node aggregate
| workspaceDescription | "The live workspace" |
| newContentStreamId | "cs-identifier" |
And the graph projection is fully up to date
And I am in the active content stream of workspace "live"
And I am in workspace "live"
And the command CreateRootNodeAggregateWithNode is executed with payload:
| Key | Value |
| nodeAggregateId | "lady-eleonode-rootford" |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Feature: Create a root node aggregate
| workspaceDescription | "The live workspace" |
| newContentStreamId | "cs-identifier" |
And the graph projection is fully up to date
And I am in the active content stream of workspace "live"
And I am in workspace "live"

Scenario: Create the initial root node aggregate using valid payload without dimensions
When the command CreateRootNodeAggregateWithNode is executed with payload:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Feature: Create a root node aggregate with tethered children
| workspaceDescription | "The live workspace" |
| newContentStreamId | "cs-identifier" |
And the graph projection is fully up to date
And I am in the active content stream of workspace "live" and dimension space point {}
And I am in workspace "live" and dimension space point {}
And I am user identified by "initiating-user-identifier"

Scenario: Create root node with tethered children
Expand Down Expand Up @@ -133,7 +133,7 @@ Feature: Create a root node aggregate with tethered children
| Key | Value |
| text | "my sub sub default" |

And I am in the active content stream of workspace "live" and dimension space point {}
And I am in workspace "live" and dimension space point {}
And I expect node aggregate identifier "lady-eleonode-rootford" to lead to node cs-identifier;lady-eleonode-rootford;{}
And I expect this node to have no parent node
And I expect this node to have the following child nodes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Feature: Create a root node aggregate with tethered children
| workspaceDescription | "The live workspace" |
| newContentStreamId | "cs-identifier" |
And the graph projection is fully up to date
And I am in the active content stream of workspace "live"
And I am in workspace "live"
And I am user identified by "initiating-user-identifier"

Scenario: Create root node with tethered children
Expand Down Expand Up @@ -173,7 +173,7 @@ Feature: Create a root node aggregate with tethered children
| Key | Value |
| text | "my sub sub default" |

When I am in the active content stream of workspace "live" and dimension space point {"language": "de"}
When I am in workspace "live" and dimension space point {"language": "de"}
And I expect node aggregate identifier "lady-eleonode-rootford" to lead to node cs-identifier;lady-eleonode-rootford;{}
And I expect this node to have no parent node
And I expect this node to have the following child nodes:
Expand Down Expand Up @@ -202,7 +202,7 @@ Feature: Create a root node aggregate with tethered children
And I expect this node to have no references
And I expect this node to not be referenced

When I am in the active content stream of workspace "live" and dimension space point {"language": "gsw"}
When I am in workspace "live" and dimension space point {"language": "gsw"}
And I expect node aggregate identifier "lady-eleonode-rootford" to lead to node cs-identifier;lady-eleonode-rootford;{}
And I expect this node to have no parent node
And I expect this node to have the following child nodes:
Expand Down Expand Up @@ -232,7 +232,7 @@ Feature: Create a root node aggregate with tethered children
And I expect this node to not be referenced


When I am in the active content stream of workspace "live" and dimension space point {"language": "en"}
When I am in workspace "live" and dimension space point {"language": "en"}
And I expect node aggregate identifier "lady-eleonode-rootford" to lead to node cs-identifier;lady-eleonode-rootford;{}
And I expect this node to have no parent node
And I expect this node to have the following child nodes:
Expand Down Expand Up @@ -262,7 +262,7 @@ Feature: Create a root node aggregate with tethered children
And I expect this node to not be referenced


When I am in the active content stream of workspace "live" and dimension space point {"language": "en_US"}
When I am in workspace "live" and dimension space point {"language": "en_US"}
And I expect node aggregate identifier "lady-eleonode-rootford" to lead to node cs-identifier;lady-eleonode-rootford;{}
And I expect this node to have no parent node
And I expect this node to have the following child nodes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Feature: Create a root node aggregate
| workspaceDescription | "The live workspace" |
| newContentStreamId | "cs-identifier" |
And the graph projection is fully up to date
And I am in the active content stream of workspace "live"
And I am in workspace "live"

Scenario: Create the initial root node aggregate using valid payload with dimensions
When the command CreateRootNodeAggregateWithNode is executed with payload:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Feature: Create node aggregate with node
| workspaceDescription | "The live workspace" |
| newContentStreamId | "cs-identifier" |
And the graph projection is fully up to date
And I am in the active content stream of workspace "live" and dimension space point {}
And I am in workspace "live" and dimension space point {}
And the command CreateRootNodeAggregateWithNode is executed with payload:
| Key | Value |
| nodeAggregateId | "lady-eleonode-rootford" |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Feature: Create node aggregate with node
| workspaceDescription | "The live workspace" |
| newContentStreamId | "cs-identifier" |
And the graph projection is fully up to date
And I am in the active content stream of workspace "live"
And I am in workspace "live"
And I am in dimension space point {}
And the command CreateRootNodeAggregateWithNode is executed with payload:
| Key | Value |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Feature: Create node aggregate with node
| workspaceDescription | "The live workspace" |
| newContentStreamId | "cs-identifier" |
And the graph projection is fully up to date
And I am in the active content stream of workspace "live"
And I am in workspace "live"
And I am in dimension space point {}
And I am user identified by "initiating-user-identifier"
And the command CreateRootNodeAggregateWithNode is executed with payload:
Expand Down Expand Up @@ -149,7 +149,7 @@ Feature: Create node aggregate with node
| Key | Value |
| defaultText | "my default" |

When I am in the active content stream of workspace "live" and dimension space point {}
When I am in workspace "live" and dimension space point {}
Then I expect the subgraph projection to consist of exactly 4 nodes
And I expect node aggregate identifier "lady-eleonode-rootford" to lead to node cs-identifier;lady-eleonode-rootford;{}
And I expect this node to have no parent node
Expand Down Expand Up @@ -201,7 +201,7 @@ Feature: Create node aggregate with node
| workspaceDescription | "The live workspace" |
| newContentStreamId | "cs-identifier" |
And the graph projection is fully up to date
And I am in the active content stream of workspace "live"
And I am in workspace "live"
And I am in dimension space point {}
And I am user identified by "initiating-user-identifier"
And the command CreateRootNodeAggregateWithNode is executed with payload:
Expand Down Expand Up @@ -241,7 +241,7 @@ Feature: Create node aggregate with node
| nodeAggregateClassification | "regular" |

When the graph projection is fully up to date
And I am in the active content stream of workspace "live" and dimension space point {}
And I am in workspace "live" and dimension space point {}
And I expect node aggregate identifier "sir-nodeward-nodington-iii" and node path "esquire" to lead to node cs-identifier;sir-nodeward-nodington-iii;{}
And I expect this node to be a child of node cs-identifier;lady-eleonode-rootford;{}
And I expect this node to have no child nodes
Expand Down Expand Up @@ -285,7 +285,7 @@ Feature: Create node aggregate with node
| workspaceDescription | "The live workspace" |
| newContentStreamId | "cs-identifier" |
And the graph projection is fully up to date
And I am in the active content stream of workspace "live"
And I am in workspace "live"
And I am in dimension space point {}
And I am user identified by "initiating-user-identifier"
And the command CreateRootNodeAggregateWithNode is executed with payload:
Expand Down Expand Up @@ -407,7 +407,7 @@ Feature: Create node aggregate with node
| Key | Value |
| text | "my sub sub default" |

When I am in the active content stream of workspace "live" and dimension space point []
When I am in workspace "live" and dimension space point []
And I expect node aggregate identifier "lady-eleonode-rootford" to lead to node cs-identifier;lady-eleonode-rootford;{}
And I expect this node to have no parent node
And I expect this node to have the following child nodes:
Expand Down Expand Up @@ -469,7 +469,7 @@ Feature: Create node aggregate with node
| workspaceDescription | "The live workspace" |
| newContentStreamId | "cs-identifier" |
And the graph projection is fully up to date
And I am in the active content stream of workspace "live"
And I am in workspace "live"
And I am in dimension space point {}
And I am user identified by "initiating-user-identifier"
And the command CreateRootNodeAggregateWithNode is executed with payload:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Feature: Create node aggregate with node
| workspaceDescription | "The live workspace" |
| newContentStreamId | "cs-identifier" |
And the graph projection is fully up to date
And I am in the active content stream of workspace "live"
And I am in workspace "live"
And the command CreateRootNodeAggregateWithNode is executed with payload:
| Key | Value |
| nodeAggregateId | "lady-eleonode-rootford" |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Feature: Create a node aggregate with complex default values
| workspaceDescription | "The live workspace" |
| newContentStreamId | "cs-identifier" |
And the graph projection is fully up to date
And I am in the active content stream of workspace "live"
And I am in workspace "live"
And I am in dimension space point {}
And the command CreateRootNodeAggregateWithNode is executed with payload:
| Key | Value |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Feature: Create node variant
| workspaceDescription | "The live workspace" |
| newContentStreamId | "cs-identifier" |
And the graph projection is fully up to date
And I am in the active content stream of workspace "live" and dimension space point {"market":"DE", "language":"gsw"}
And I am in workspace "live" and dimension space point {"market":"DE", "language":"gsw"}
And the command CreateRootNodeAggregateWithNode is executed with payload:
| Key | Value |
| nodeAggregateId | "lady-eleonode-rootford" |
Expand Down
Loading

0 comments on commit a772403

Please sign in to comment.