diff options
author | robocoder <anthon.pang@gmail.com> | 2011-11-11 01:25:17 +0400 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2011-11-11 01:25:17 +0400 |
commit | 426fc5f4f930997764bd55ca5bb524a52689727a (patch) | |
tree | 0a32e2f92ead25066e07dc70078f67b18a515825 /tests/webtest | |
parent | 4dc5f6b04363597380e1b5747cf8f136e43c24c9 (diff) |
fix auto-update webtest
git-svn-id: http://dev.piwik.org/svn/trunk@5426 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'tests/webtest')
-rw-r--r-- | tests/webtest/testcases/modules/macros.xml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/tests/webtest/testcases/modules/macros.xml b/tests/webtest/testcases/modules/macros.xml index 72de578f6c..d82cb5f34f 100644 --- a/tests/webtest/testcases/modules/macros.xml +++ b/tests/webtest/testcases/modules/macros.xml @@ -102,7 +102,20 @@ <!-- logged in --> - <verifyTitle description="check the title is parsed correctly" text="Piwik › Web Analytics Reports" /> + <ifStep description="check if this version changed the page title"> + <condition> + <not> + <verifyProperty name="latestVersion" value="1.6" propertyType="ant" /> + </not> + </condition> + <then> + <verifyTitle description="check the title is parsed correctly" text="Piwik › Web Analytics Reports" /> + </then> + <else> + <verifyTitle description="check the title is parsed correctly" text="Piwik › Web Analytics Reports - Dummy Site Name" /> + </else> + </ifStep> + <verifyText description="check page text" text="Piwik" /> <verifyText description="check page text" text="Dashboard" /> <verifyText description="check page text" text="Hello" /> |