Test the !c center widget
If !c is at the beginning of a line, then the rest of the line will be centered.First create a page with centered text on it.
Page Creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
CenterTextPage | !c This is centered text | yes |
Then request that page
Response Requester. | |
uri | valid? |
CenterTextPage | true |
Examine the page to be sure it has the centered text
Response Examiner. | |||
type | pattern | matches? | value |
contents | <div class="centered">This is centered text</div> | true |
Add Child Page to TestCenter