neos / neos-development-collection

The unified repository containing the Neos core packages, used for Neos development.
https://www.neos.io/
GNU General Public License v3.0
260 stars 220 forks source link

TASK: 5034 fully completely workspace aware behat tests #5169

Open mhsdesign opened 6 days ago

mhsdesign commented 6 days ago

Resolves: #5034 Replaces: https://github.com/neos/neos-development-collection/pull/5167 Replaces: https://github.com/neos/neos-development-collection/pull/5144

Upgrade instructions

Review instructions

Checklist

kitsunet commented 6 days ago

I think I like this direction

nezaniel commented 2 days ago

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.

mhsdesign commented 2 days ago

We dont remove the tests for ForkContentStream, we just test it from a higher perspective. Effectively the test is the same. But we could surely just inline the forking logic in the CreateWorkspace command i guess as we wont be needing an api way to just fork a content stream. However if we decide to go down that road i would like to keep that change separate as it will likely also span the CreateContentStream and further commands that are now obsolete standalone.

mhsdesign commented 19 hours ago

Okay i did declare the content stream commands as internal:

@internal implementation detail, please use the higher level workspace commands instead.

do you agree as well on going down this road now @nezaniel?