transcendental-lisp/fitnesse/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteSlimTests/TestHtmlContent/content.txt

25 lines
646 B
Plaintext
Raw Permalink Normal View History

Slim tables can contain HTML content. If content qualifies as HTML, it is passed to the SUT as HTML.
!**> scenarios
!define html {| !note > 50% (note) |
| !meta < 50% (meta) |}
!define no_html {< 50%}
| scenario | Content | content | is returned as | out |
| check | echo | @content | @out |
| set name | @content |
| scenario | And the SUT sees | substring |
| ensure | name contains | @substring |
*!
-|script|
| Content | ${html} | is returned as | ${html} |
| And the SUT sees | !note > 50% (note) |
| And the SUT sees | !meta < 50% (meta) |
-|script|
| Content | ${no_html} | is returned as | ${no_html} |
| And the SUT sees | < 50% |