diff options
author | Robert Loehning <robert.loehning@qt.io> | 2018-02-19 19:03:44 +0100 |
---|---|---|
committer | Robert Loehning <robert.loehning@qt.io> | 2018-02-28 12:41:55 +0000 |
commit | 2c89829de4136303cfa5ea510fd1ad05e4e8fd42 (patch) | |
tree | 3aa7981eacdacaf458d8282c793de159808933a4 /tests/system/suite_WELP | |
parent | 27723c361bb14ff7126081ff798947f08b7322ee (diff) |
Squish: Update suite_WELP
Change-Id: Icc3169a8af007fb1d42aa44acfd97b02e0d01220
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests/system/suite_WELP')
-rwxr-xr-x | tests/system/suite_WELP/tst_WELP01/test.py | 2 | ||||
-rw-r--r-- | tests/system/suite_WELP/tst_WELP04/test.py | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/system/suite_WELP/tst_WELP01/test.py b/tests/system/suite_WELP/tst_WELP01/test.py index 700ccdcd8c..d4d2d25bde 100755 --- a/tests/system/suite_WELP/tst_WELP01/test.py +++ b/tests/system/suite_WELP/tst_WELP01/test.py @@ -158,7 +158,7 @@ def main(): for (qType, prop, info) in expect: test.verify(checkIfObjectExists(search % (qType, prop)), "Verifying whether %s is shown" % info) - checkTableViewForContent(search % (expect[0][0], expect[0][1]), "Creating.*", "Tutorials", + checkTableViewForContent(search % (expect[0][0], expect[0][1]), "Help: Create .*", "Tutorials", "Verifying that at least one tutorial is displayed.") # exit Qt Creator invokeMenuItem("File", "Exit") diff --git a/tests/system/suite_WELP/tst_WELP04/test.py b/tests/system/suite_WELP/tst_WELP04/test.py index 3d1bff2f7f..18659f2262 100644 --- a/tests/system/suite_WELP/tst_WELP04/test.py +++ b/tests/system/suite_WELP/tst_WELP04/test.py @@ -53,7 +53,7 @@ def main(): tutorial = findExampleOrTutorial(tableView, ".*", True) test.verify(tutorial is None, "Verifying: 'Tutorials' topic is opened and nothing is shown.") - bnr = "Building and Running an Example Application" + bnr = "Help: Build and Run Examples" replaceEditorContent(searchTutorials, bnr.lower()) waitFor('findExampleOrTutorial(tableView, "%s.*") is not None' % bnr, 3000) tutorial = findExampleOrTutorial(tableView, "%s.*" % bnr, True) @@ -68,8 +68,8 @@ def main(): # check a demonstration video link mouseClick(searchTutorials) replaceEditorContent(searchTutorials, "embedded device") - waitFor('findExampleOrTutorial(tableView, "Qt for Device Creation.*") is not None', 3000) - tutorial = findExampleOrTutorial(tableView, "Qt for Device Creation.*", True) + waitFor('findExampleOrTutorial(tableView, "Online: Qt for Device Creation.*") is not None', 3000) + tutorial = findExampleOrTutorial(tableView, "Online: Qt for Device Creation.*", True) test.verify(tutorial is not None, "Verifying: Link to the expected demonstration video exists.") # exit Qt Creator |