When everything works just fine we get the message:
variable defined: FIXTURE_NAME=PassFixturevariable defined: EXPECTED_STATUS_MESSAGE=Tests Executed OKvariable defined: EXPECTED_ICON_URL=/files/images/executionStatus/ok.gif
Included page: DoTest (edit)
Create a simple test page
| Action Fixture. |
| start |
Page Builder |
| enter |
line |
!path classes |
| enter |
line |
!path fitnesse.jar |
| enter |
line |
!|fitnesse.testutil.PassFixture| |
| enter |
line |
|blah| |
| enter |
page |
TestPage |
Now run the test page.
| Response Requester. |
| uri |
valid? |
| TestPage?responder=test |
true |
| Response Examiner. |
| contents? |
| |
Check the status message.
| Response Examiner. |
| type |
pattern |
matches? |
| contents |
<div id="execution-status">.*?Tests Executed OK.*?</div> |
true |
| contents |
<div id="execution-status">.*?<img.*?src="/files/images/executionStatus/ok.gif".*?/>.*?</div> |
true |