Skip to content

Commit

Permalink
TASK: Add SiteNodetype to uriPathProjection test cases and add site n…
Browse files Browse the repository at this point in the history
…odeName to edge-testcase
  • Loading branch information
mficzel committed Dec 22, 2024
1 parent dd3ff9d commit f1e2650
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ Feature: Basic routing functionality (match & resolve document nodes in one dime
superTypes:
'Neos.ContentRepository:Root': true
'Neos.Neos:Document': {}
'Neos.Neos:Site':
superTypes:
'Neos.Neos:Document': true
'Neos.Neos:Content': {}
'Neos.Neos:Test.Routing.Page':
superTypes:
Expand Down Expand Up @@ -46,7 +49,7 @@ Feature: Basic routing functionality (match & resolve document nodes in one dime
#
And the following CreateNodeAggregateWithNode commands are executed:
| nodeAggregateId | parentNodeAggregateId | nodeTypeName | initialPropertyValues | nodeName |
| shernode-homes | lady-eleonode-rootford | Neos.Neos:Test.Routing.Page | {"uriPathSegment": "ignore-me"} | node1 |
| shernode-homes | lady-eleonode-rootford | Neos.Neos:Site | {"uriPathSegment": "ignore-me"} | node1 |
| sir-david-nodenborough | shernode-homes | Neos.Neos:Test.Routing.Page | {"uriPathSegment": "david-nodenborough"} | node2 |
| duke-of-contentshire | sir-david-nodenborough | Neos.Neos:Test.Routing.Content | {"uriPathSegment": "ignore-me"} | node3 |
| earl-o-documentbourgh | sir-david-nodenborough | Neos.Neos:Test.Routing.Page | {"uriPathSegment": "earl-document"} | node4 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ Feature: Basic routing functionality if path segments are missing after node cre
superTypes:
'Neos.ContentRepository:Root': true
'Neos.Neos:Document': {}
'Neos.Neos:Site':
superTypes:
'Neos.Neos:Document': true
'Neos.Neos:Content': {}
'Neos.Neos:Test.Routing.Page':
superTypes:
Expand Down Expand Up @@ -46,7 +50,7 @@ Feature: Basic routing functionality if path segments are missing after node cre
#
And the following CreateNodeAggregateWithNode commands are executed:
| nodeAggregateId | parentNodeAggregateId | nodeTypeName | initialPropertyValues | nodeName |
| shernode-homes | lady-eleonode-rootford | Neos.Neos:Test.Routing.Page | {} | node1 |
| shernode-homes | lady-eleonode-rootford | Neos.Neos:Site | {} | node1 |
| sir-david-nodenborough | shernode-homes | Neos.Neos:Test.Routing.Page | {} | node2 |
| duke-of-contentshire | sir-david-nodenborough | Neos.Neos:Test.Routing.Content | {} | node3 |
| earl-o-documentbourgh | sir-david-nodenborough | Neos.Neos:Test.Routing.Page | {} | node4 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Feature: Test cases for node variation edge cases
| nodeTypeName | "Neos.Neos:Site" |
| parentNodeAggregateId | "lady-eleonode-rootford" |
| originDimensionSpacePoint | {"example":"source"} |
| nodeName | "site" |
And the command CreateNodeVariant is executed with payload:
| Key | Value |
| nodeAggregateId | "shernode-homes" |
Expand Down

0 comments on commit f1e2650

Please sign in to comment.