From f1e2650c0607994db0730550016922e0dcc8b582 Mon Sep 17 00:00:00 2001 From: Martin Ficzel Date: Sun, 22 Dec 2024 13:58:02 +0100 Subject: [PATCH] TASK: Add SiteNodetype to uriPathProjection test cases and add site nodeName to edge-testcase --- .../Tests/Behavior/Features/FrontendRouting/Basic.feature | 5 ++++- .../Features/FrontendRouting/MissingPathSegments.feature | 6 +++++- .../Features/FrontendRouting/NodeVariationEdgeCases.feature | 1 + 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Neos.Neos/Tests/Behavior/Features/FrontendRouting/Basic.feature b/Neos.Neos/Tests/Behavior/Features/FrontendRouting/Basic.feature index c9fde1e6e6b..bda6508fc96 100644 --- a/Neos.Neos/Tests/Behavior/Features/FrontendRouting/Basic.feature +++ b/Neos.Neos/Tests/Behavior/Features/FrontendRouting/Basic.feature @@ -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: @@ -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 | diff --git a/Neos.Neos/Tests/Behavior/Features/FrontendRouting/MissingPathSegments.feature b/Neos.Neos/Tests/Behavior/Features/FrontendRouting/MissingPathSegments.feature index b5bd62887aa..f19ef9755a2 100644 --- a/Neos.Neos/Tests/Behavior/Features/FrontendRouting/MissingPathSegments.feature +++ b/Neos.Neos/Tests/Behavior/Features/FrontendRouting/MissingPathSegments.feature @@ -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: @@ -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 | diff --git a/Neos.Neos/Tests/Behavior/Features/FrontendRouting/NodeVariationEdgeCases.feature b/Neos.Neos/Tests/Behavior/Features/FrontendRouting/NodeVariationEdgeCases.feature index 7e4d76f0ca2..75c2d9b90f4 100644 --- a/Neos.Neos/Tests/Behavior/Features/FrontendRouting/NodeVariationEdgeCases.feature +++ b/Neos.Neos/Tests/Behavior/Features/FrontendRouting/NodeVariationEdgeCases.feature @@ -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" |