All Downloads are FREE. Search and download functionalities are using the official Maven repository.

FitNesseRoot.Fitnesse.SuiteAcceptanceTests.SuiteWidgetTests.TestHttpLinkWithVariable.content.txt Maven / Gradle / Ivy

!2 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.
----
!3 Check the variables get rendered in links
 * First create a page with a variable and http link on it.
!|script|
|start|Page Builder|
|line|!define HOST {localhost:8081}|
|line|http://${HOST}/page||
|page|!-HttpLinkPage-!|

 * Then fetch the page.
|Response Requester.|
|uri|valid?|
|!-HttpLinkPage-!|true|

 * Then check that the link was properly rendered.
|Response Examiner.|
|type|pattern|matches?|value|
|contents|!-http://localhost:8081/page-!|true||




© 2015 - 2024 Weber Informatics LLC | Privacy Policy