TC Annotate page with property
From SeleniumSMW_AUT
This test case tests the use case MU Annotate page with property and is dedicated to Properties.
Contents |
Story
setUp
- create a new page "TestPerson Judith Silver"
- edit this page and enter:
Some text for Judith. __SHOWFACTBOX__
tests
- 01_standard
- edit page with following text
[[Favored drink::Martini]]
- check links exist in Factbox: "Favored drink" and "Martini"
- hide factbox
- check link exists: "Martini"
- edit page with following text
- 02_silent
- edit page with following text
{{#set:Favored pizza=Funghi|Favored pasta=Aglio e Oglio}} - check text is not present for: "pizza", "Funghi", "pasta" and "Aglio e Oglio"
- show factbox
- check links are present: "Favored pizza", "Funghi", "Favored pasta" and "Aglio e Oglio"
- edit page with following text
- 03_alternate
- edit page with following text
[[Is child of::Margareth Silver|Maggie Silver]]
- check links exist: "Margareth Silver" and "Maggie Silver"
- hide factbox
- check link exists: "Maggie Silver"
- verify link doesn't exist: "Margareth Silver"
- edit page with following text
- 04_twoproperties
- edit page with following text
[[Is working for::Drives car from::Toyota]]
- check link exists: "Toyota"
- verify links don't exist: "Is working for" and "Drives car from"
- show factbox
- check links exist: "Is working for" and "Drives car from"
- edit page with following text
- 05_twovalues
- edit page with following text
[[Lives together with::Jeremy Green-White]] [[Lives together with::Julia Pink-Red]]
- check links in factbox: "Lives together with", "Jeremy Green-White" and "Julia Pink-Red"
- verify that factbox put values together (verify text present "and")
- edit page with following text
tearDown
- delete "TestPerson Judith Silver"
- move to MainPage
Further information
This test case was exported to php files on 2011-07-05.
This test case has two prerequisites: TC Factbox shows properties and TC Show factbox