Skip to content

Commit

Permalink
WIP: Use dedicated testing cr instead of default for behat
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed Nov 7, 2024
1 parent b486a64 commit 6e41045
Show file tree
Hide file tree
Showing 190 changed files with 521 additions and 520 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ Feature: Run projection integrity violation detection regarding root connection
'Neos.ContentRepository:Root': true
'Neos.ContentRepository.Testing:Document': []
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
| workspaceName | "live" |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Feature: Run integrity violation detection regarding hierarchy relations and nod
"""yaml
'Neos.ContentRepository.Testing:Document': []
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
| workspaceName | "live" |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Feature: Run integrity violation detection regarding parent relations
"""yaml
'Neos.ContentRepository.Testing:Document': []
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
| workspaceName | "live" |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Feature: Run integrity violation detection regarding reference relations
referenceProperty:
type: reference
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
| workspaceName | "live" |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Feature: Run integrity violation detection regarding sibling sorting
"""yaml
'Neos.ContentRepository.Testing:Document': []
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
| workspaceName | "live" |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Feature: Run integrity violation detection regarding subtree tag inheritance
"""yaml
'Neos.ContentRepository.Testing:Document': []
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
| workspaceName | "live" |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Feature: Run projection integrity violation detection regarding naming of tether
"""yaml
'Neos.ContentRepository.Testing:Document': []
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
| workspaceName | "live" |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ Feature: Sibling positions are properly resolved
"""yaml
'Neos.ContentRepository.Testing:Document': []
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
| workspaceName | "live" |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
Neos:
ContentRepositoryRegistry:
presets:
default:
contentRepositories:
testing:
preset: default
userIdProvider:
factoryObjectName: 'Neos\ContentRepository\BehavioralTests\TestSuite\Behavior\FakeUserIdProviderFactory'
clock:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ Feature: Create a root node aggregate
superTypes:
'Neos.ContentRepository:Root': true
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And I am user identified by "initiating-user-identifier"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ Feature: Create a root node aggregate
'Neos.ContentRepository:Root': true
'Neos.ContentRepository.Testing:NonRoot': []
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And I am user identified by "initiating-user-identifier"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ Feature: Create a root node aggregate with tethered children
child-node:
type: 'Neos.ContentRepository.Testing:SubNode'
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
| workspaceName | "live" |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ Feature: Create a root node aggregate with tethered children
child-node:
type: 'Neos.ContentRepository.Testing:SubNode'
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
| workspaceName | "live" |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ Feature: Create a root node aggregate
superTypes:
'Neos.ContentRepository:Root': true
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And I am user identified by "initiating-user-identifier"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ Feature: Create node aggregate with node
'Neos.ContentRepository.Testing:AbstractNode':
abstract: true
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And I am user identified by "initiating-user-identifier"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ Feature: Create node aggregate with node
'Neos.ContentRepository.Testing:AbstractNode':
abstract: true
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And I am user identified by "initiating-user-identifier"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
Expand Down Expand Up @@ -102,7 +102,7 @@ Feature: Create node aggregate with node
| nodeTypeName | "Neos.ContentRepository.Testing:Node" |
| parentNodeAggregateId | "lady-eleonode-rootford" |
| originDimensionSpacePoint | {"example":"source"} |
Given I change the node types in content repository "default" to:
Given I change the node types in content repository "testing" to:
"""yaml
'Neos.ContentRepository.Testing:LeafNode': {}
'Neos.ContentRepository.Testing:Node':
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ Feature: Create node aggregate with node
nullText:
type: string
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
| workspaceName | "live" |
Expand Down Expand Up @@ -188,8 +188,8 @@ Feature: Create node aggregate with node
"""yaml
'Neos.ContentRepository.Testing:NodeWithoutTetheredChildNodes': []
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
| workspaceName | "live" |
Expand Down Expand Up @@ -266,8 +266,8 @@ Feature: Create node aggregate with node
defaultValue: 'my default'
type: string
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
| workspaceName | "live" |
Expand Down Expand Up @@ -445,8 +445,8 @@ Feature: Create node aggregate with node
# transliterated invalidcharactors
type: 'Neos.ContentRepository.Testing:SubNode'
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
| workspaceName | "live" |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Feature: Create node aggregate with node
nullText:
type: string
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And I am user identified by "initiating-user-identifier"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ Feature: Create a node aggregate with complex default values
type: DateTimeImmutable
defaultValue: 'not a date'
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And I am user identified by "initiating-user-identifier"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ Feature: Create node aggregate with node
'Neos.ContentRepository.Testing:UglyNode': {}
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And I am user identified by "initiating-user-identifier"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ Feature: Create node variant
type: 'Neos.ContentRepository.Testing:Tethered'
'Neos.ContentRepository.Testing:Tethered': []
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And I am user identified by "initiating-user-identifier"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Feature: Create node specialization
'Neos.ContentRepository.Testing:TetheredLeaf': []
'Neos.ContentRepository.Testing:LeafDocument': []
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And I am user identified by "initiating-user-identifier"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Feature: Create node generalization
type: 'Neos.ContentRepository.Testing:TetheredDocument'
'Neos.ContentRepository.Testing:DocumentWithoutTetheredChildren': []
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And I am user identified by "initiating-user-identifier"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Feature: Create node peer variant
type: 'Neos.ContentRepository.Testing:TetheredDocument'
'Neos.ContentRepository.Testing:DocumentWithoutTetheredChildren': []
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And I am user identified by "initiating-user-identifier"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ Feature: Set node properties: Constraint checks
postalAddress:
type: 'Neos\ContentRepository\Core\Tests\Behavior\Fixtures\PostalAddress'
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And I am user identified by "initiating-user-identifier"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ Feature: Set properties
price: 13.37
priceCurrency: 'EUR'
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And I am user identified by "initiating-user-identifier"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ Feature: Set node properties with different scopes
scope: nodeAggregate
defaultValue: 'My string'
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And I am user identified by "initiating-user-identifier"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ Feature: Constraint checks on SetNodeReferences
postalAddress:
type: 'Neos\ContentRepository\Core\Tests\Behavior\Fixtures\PostalAddress'
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And I am user identified by "initiating-user-identifier"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ Feature: Node References without Dimensions
postalAddress:
type: 'Neos\ContentRepository\Core\Tests\Behavior\Fixtures\PostalAddress'
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And I am user identified by "initiating-user-identifier"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Feature: Node References with Dimensions
text:
type: string
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And I am user identified by "initiating-user-identifier"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ Feature: Set node properties with different scopes
type: references
scope: specializations
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And I am user identified by "initiating-user-identifier"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Feature: Node References with Dimensions
text:
type: string
"""
And using identifier "default", I define a content repository
And I am in content repository "default"
And using identifier "testing", I define a content repository
And I am in content repository "testing"
And I am user identified by "initiating-user-identifier"
And the command CreateRootWorkspace is executed with payload:
| Key | Value |
Expand Down
Loading

0 comments on commit 6e41045

Please sign in to comment.