35 lines
821 B
Plaintext
35 lines
821 B
Plaintext
|
!3 This page tests a simple one-line table.
|
||
|
A simple table is created as follows {{{|a|b|c|}}} The resulting text will be rendered in a one line table of the form.{{{<table>
|
||
|
<tr><td>a</td><td>b</td><td>c</td></tr>
|
||
|
</table>}}}
|
||
|
#
|
||
|
* First create a page with a simple table in it.
|
||
|
#
|
||
|
|script|
|
||
|
|start|Page Builder|
|
||
|
|line|!-|a|b|c|-!|
|
||
|
|page|!-SimpleTablePage-!|
|
||
|
#
|
||
|
* Then request that page
|
||
|
#
|
||
|
|Response Requester.|
|
||
|
|uri|valid?|contents?|
|
||
|
|!-SimpleTablePage-!|true||
|
||
|
#
|
||
|
* Make sure the html is correct for a simple table.
|
||
|
#
|
||
|
|Response Examiner.|
|
||
|
|type|pattern|matches?|wrapped html?|
|
||
|
|contents|a|true||
|
||
|
|
||
|
|Response Examiner.|
|
||
|
|type|number|string?|
|
||
|
|line|1|!-<table>-!|
|
||
|
|line|2|!-<tr>-!|
|
||
|
|line|3|!-<td>a</td>-!|
|
||
|
|line|4|!-<td>b</td>-!|
|
||
|
|line|5|!-<td>c</td>-!|
|
||
|
|line|6|!-</tr>-!|
|
||
|
|line|7|!-</table>-!|
|
||
|
|