aboutsummaryrefslogtreecommitdiffstats
path: root/tests/system/suite_WELP
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@theqtcompany.com>2016-03-29 14:15:53 +0200
committerRobert Loehning <robert.loehning@theqtcompany.com>2016-03-31 10:25:43 +0000
commit39e8698290adb8accfdd0402783db8b4fbc08536 (patch)
tree4d9c4215b235b57c05dac54ee55a0ae58eefb37c /tests/system/suite_WELP
parentdb2ab9280112468d6595a407c9263848c771c79e (diff)
Squish: Update suite_WELP
Change-Id: Iba47a015eb87ad759933dc51bacceaf29d3da57c Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Diffstat (limited to 'tests/system/suite_WELP')
-rwxr-xr-xtests/system/suite_WELP/tst_WELP01/test.py3
-rw-r--r--tests/system/suite_WELP/tst_WELP02/test.py14
2 files changed, 8 insertions, 9 deletions
diff --git a/tests/system/suite_WELP/tst_WELP01/test.py b/tests/system/suite_WELP/tst_WELP01/test.py
index 2f9a02a9bf..c752c65b1c 100755
--- a/tests/system/suite_WELP/tst_WELP01/test.py
+++ b/tests/system/suite_WELP/tst_WELP01/test.py
@@ -80,11 +80,10 @@ def main():
textUrls = {'Online Community':'http://forum.qt.io',
'Blogs':'http://planet.qt.io',
'Qt Account':'https://account.qt.io',
- 'Qt Cloud Services':'https://developer.qtcloudservices.com',
'User Guide':'qthelp://org.qt-project.qtcreator/doc/index.html'
}
for text, url in textUrls.items():
- qmlItem = getQmlItem("LinkedText", welcomePage, False, "text='%s'" % text)
+ qmlItem = getQmlItem("Text", welcomePage, False, "text='%s'" % text)
if test.verify(checkIfObjectExists(qmlItem),
"Verifying: Link to %s exists." % text):
itemObj = findObject(qmlItem)
diff --git a/tests/system/suite_WELP/tst_WELP02/test.py b/tests/system/suite_WELP/tst_WELP02/test.py
index 4b4f2e8462..17aacc6497 100644
--- a/tests/system/suite_WELP/tst_WELP02/test.py
+++ b/tests/system/suite_WELP/tst_WELP02/test.py
@@ -50,7 +50,7 @@ def main():
typePropDet = (("Button", "text='Get Started Now' id='gettingStartedButton'",
"Get Started Now button"),
("Text", "text='Sessions' id='sessionsTitle'", "Sessions section"),
- ("Text", "text='default' id='text'", "default session listed"),
+ ("Text", "text='default'", "default session listed"),
("Text", "text='Recent Projects' id='recentProjectsTitle'", "Projects section"),
)
checkTypeAndProperties(typePropDet)
@@ -63,10 +63,10 @@ def main():
# go to "Welcome page" again and verify updated information
switchViewTo(ViewConstants.WELCOME)
typePropDet = (("Text", "text='Sessions' id='sessionsTitle'", "Sessions section"),
- ("Text", "text='default (current session)' id='text'",
+ ("Text", "text='default (current session)'",
"default session as current listed"),
("Text", "text='Recent Projects' id='recentProjectsTitle'", "Projects section"),
- ("LinkedText", "text='SampleApp' id='projectNameText'",
+ ("Text", "text='SampleApp'",
"current project listed in projects section")
)
checkTypeAndProperties(typePropDet)
@@ -80,10 +80,10 @@ def main():
"Verifying: The project is opened in 'Edit' mode after configuring.")
# go to "Welcome page" again and check if there is an information about recent projects
switchViewTo(ViewConstants.WELCOME)
- test.verify(checkIfObjectExists(getQmlItem("LinkedText", welcomePage, False,
- "text='propertyanimation' id='projectNameText'")) and
- checkIfObjectExists(getQmlItem("LinkedText", welcomePage, False,
- "text='SampleApp' id='projectNameText'")),
+ test.verify(checkIfObjectExists(getQmlItem("Text", welcomePage, False,
+ "text='propertyanimation'")) and
+ checkIfObjectExists(getQmlItem("Text", welcomePage, False,
+ "text='SampleApp'")),
"Verifying: 'Welcome page' displays information about recently created and "
"opened projects.")
# exit Qt Creator