Sha256: 0c3f950092b94c75f87b925511f7c962ca609f5eb60c63eefffebfcc4a37e09b

Contents?: true

Size: 1.35 KB

Versions: 8

Compression:

Stored size: 1.35 KB

Contents

!contents

If a symlink is created on the to-be-moved page, the symlink should be moved.

!*> local setup and scenario's
| library |
| page driver |

!| scenario | create symlink on | pageName | with name | name | link to | linkedPage |
| check | request page | @pageName?responder=symlink&linkName=@name&linkPath=@linkedPage | 303 |
| show | content |
| ensure | content contains | Location: /@pageName?properties |

!| scenario | rename page | pageName | to | newPageName |
| check | request page | @pageName?responder=renamePage&newName=@newPageName | 303 |
| show | content |
| ensure | content contains | Location: /@newPageName |
*!

Rename a page. The page contains a symlink to a sibling page of the to-be moved page and a symlink to a child page of the to-be moved page. In both cases the pages should be moved in such a way that the symlink remain valid and point to the right page.

!| script |
| create page | AnotherPage | with content | another page |
| create symlink on | | with name | LinkAnotherPage | link to | AnotherPage |
| ensure | page | LinkAnotherPage | is a symbolic link |

!| script |
| rename page | LinkAnotherPage | to | LinkSomeOtherPage |
| reject | page | LinkAnotherPage | exists |
| ensure | page | AnotherPage | exists |
| ensure | page | LinkSomeOtherPage | is a symbolic link |
| page | LinkSomeOtherPage | should contain | another page |

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
xcfit-0.9.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/SuiteRenameResponder/TestRenameSymbolicPage/content.txt
xcfit-0.8.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/SuiteRenameResponder/TestRenameSymbolicPage/content.txt
xcfit-0.7.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/SuiteRenameResponder/TestRenameSymbolicPage/content.txt
xcfit-0.6.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/SuiteRenameResponder/TestRenameSymbolicPage/content.txt
xcfit-0.5.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/SuiteRenameResponder/TestRenameSymbolicPage/content.txt
xcfit-0.4.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/SuiteRenameResponder/TestRenameSymbolicPage/content.txt
xcfit-0.3.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/SuiteRenameResponder/TestRenameSymbolicPage/content.txt
xcfit-0.2.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/SuiteRenameResponder/TestRenameSymbolicPage/content.txt