42 lines
1.0 KiB
Plaintext
42 lines
1.0 KiB
Plaintext
!3 This page tests a multi-line table.
|
|
A multi-line table is created as follows {{{|a|b|c|
|
|
|d|e|f|}}} 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>
|
|
<tr><td>d</td><td>e</td><td>f</td></tr>
|
|
</table>}}}
|
|
#
|
|
* First create a page with a simple table in it.
|
|
#
|
|
|script|
|
|
|start|Page Builder|
|
|
|line|!-|a|b|c|-!|
|
|
|line|!-|d|e|f|-!|
|
|
|page|!-MultiLineTablePage-!|
|
|
#
|
|
* Then request that page
|
|
#
|
|
|Response Requester.|
|
|
|uri|valid?|contents?|
|
|
|!-MultiLineTablePage-!|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|!-<tr>-!|
|
|
|line|8|!-<td>d</td>-!|
|
|
|line|9|!-<td>e</td>-!|
|
|
|line|10|!-<td>f</td>-!|
|
|
|line|11|!-</tr>-!|
|
|
|line|12|!-</table>-!|
|