Skip to content

Instantly share code, notes, and snippets.

@hlubek
Created November 19, 2014 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hlubek/6957e46538d1807eb84f to your computer and use it in GitHub Desktop.
Save hlubek/6957e46538d1807eb84f to your computer and use it in GitHub Desktop.
11 dimensional node moving
@fixtures
Scenario: Rename a node with updated property (materialized node data) to a previously moved path in user workspace
When I get a node by path "/sites/typo3cr/company" with the following context:
| Workspace |
| user-admin |
And I rename the node to "enterprise"
And I get a node by path "/sites/typo3cr/service" with the following context:
| Workspace |
| user-admin |
And I set the node property "title" to "Our service"
And I get a node by path "/sites/typo3cr/service" with the following context:
| Workspace |
| user-admin |
And I rename the node to "company"
And I get a node by path "/sites/typo3cr/company" with the following context:
| Workspace |
| user-admin |
Then I should have one node
And I get a node by path "/sites/typo3cr/service" with the following context:
| Workspace |
| user-admin |
Then I should have 0 nodes
When I publish the workspace "user-admin"
Then the unpublished node count in workspace "user-admin" should be 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment