-
-
Notifications
You must be signed in to change notification settings - Fork 223
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: 5034 fully completely workspace aware behat tests #5169
TASK: 5034 fully completely workspace aware behat tests #5169
Conversation
a9e4f86
to
80f01de
Compare
I think I like this direction |
...or/Features/ContentStreamForking/ForkContentStreamWithDisabledNodesWithoutDimensions.feature
Outdated
Show resolved
Hide resolved
… use workspaces The implicit forking allows us to use workspaces for assertions on the nodes.
… to content stream "user-cs-identifier"` This was just a temporal idea
…nd `I am in content stream`
80f01de
to
e9e4e68
Compare
NodeDiscriminator::fromNode
that doesnt use Nodes content stream
#5144
Imho If the tests for ForkContentStream are removed, the command itself must be removed as well. Otherwise we have untested code paths and I really dislike that. |
We dont remove the tests for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense to me and I like what you wrote.
I agree, that we should mark the low-level commands @internal
or even remove them to make forking a purely internal concept
Okay i did declare the content stream commands as internal:
do you agree as well on going down this road now @nezaniel? edit: changed to
|
With the content graph / subgraph operating on workspaces, there is no API way of fetching from an arbitrary content stream by id. And by not being able to access it we declare creating content streams or doing any low level work with it as internal.
92ab0d3
to
35155bd
Compare
Resolves: #5034
Replaces: #5167
Replaces: #5144
CRTestSuiteRuntimeVariables::$currentContentStreamId
I am in content stream
in the behat tests.\Neos\ContentRepository\Core\ContentGraphFinder::getByWorkspaceNameAndContentStreamId
is now no longer in use by the tests and can be changed to be not at all exposed.$node->subgraphIdentity->contentStreamId
in\Neos\ContentRepository\TestSuite\Behavior\...\NodeDiscriminator::fromNode
Upgrade instructions
Review instructions
Checklist
FEATURE|TASK|BUGFIX
!!!
and have upgrade-instructions