Blame view

test/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteWidgetTests/TestTheXrefWidget/content.txt 704 Bytes
fbe3c2bb   Benjamin Renard   First commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
The !-!see-! widget takes a page name as argument.  It displays the fully qualified page name in bold, prefixed by '''See:'''

|Comment|
|!c '''Markup Text'''|!c '''Displayed as'''|
|!-!see SomeTestPage-!|!see SomeTestPage|

Create some page.

|script|
|start|Page Builder|
|line|Dummy Text|
|page|!-SomePage-!|

Create a suite page with a !-!see-! widget

|script|
|start|Page Builder|
|line|!-!see SomePage-!|
|page|!-SuitePage-!|

Get the Suite page.

|Response Requester.|
|uri   |valid?|
|!-SuitePage-!|true|

|Response Examiner.|
|contents?|
||

Make sure the page name is formatted properly

!|Response Examiner.|
|type  |pattern|matches?|
|contents|<b>See: <a href=.*>SomePage</a></b>|true|