Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TASK: Use dedicated testing cr instead of default for behat #5349

Draft
wants to merge 1 commit into
base: 9.0
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading