FitNesse. SuiteAcceptanceTests. SuiteWidgetTests.
TestHttpLinkWithVariable

Test that HTTP links are rendered correctly

If a string of the form http://some_url appears in wiki text, it is converted to a link.


Check the variables get rendered in links

Action Fixture.
start Page Builder
enter line !define HOST {localhost:8081}
enter line http://${HOST}/page  
enter page HttpLinkPage

Response Requester.
uri valid?
HttpLinkPage true

Response Examiner.
type pattern matches? value
contents <a href="http://localhost:8081/page">http://localhost:8081/page</a> true  


.FrontPage .RecentChanges .FitNesse.SuiteAcceptanceTests