Sha256: 7defcf24f7077e9a047089d0627d627eb013c46d18b1502ca64fc4b3cf707421

Contents?: true

Size: 885 Bytes

Versions: 8

Compression:

Stored size: 885 Bytes

Contents

!c !3 Import Update Form on Properties Page
Once a page has been updated, it no longer has the Wiki Import form.  Instead is has a Wiki Import Update form.  Essentially it is just one button that will update the imported pages.

First we need a page.
!|Page creator.|
|Page name.   |Page contents.|valid?|
|ImportingPage|!contents   |true   |

Import the !-SampleWiki-!.
!|Response Requester.|
|uri   |valid?|
|ImportingPage?responder=import&remoteUrl=http://localhost:9123/SampleWiki|true|

Request the properties view of this page.
!|Response Requester.|
|uri   |valid?|
|ImportingPage?properties|true|

Now lets look at the form.
!|Response Examiner|
|type|pattern|matches?|wrapped html?|
|contents|Wiki Import Update|true||

!|Response Examiner|
|type|pattern|matches?|
|contents|<input .* name="remoteUrl"|false|
|contents|<input .* type="submit" .* value="Update Subpages"|true|

Version data entries

8 entries across 8 versions & 1 rubygems

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