summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2020-02-03 08:00:10 +0100
committerChristian Stenger <christian.stenger@qt.io>2020-02-03 11:34:11 +0000
commitdae4231e52ad12a90ef36079c155e1e3a5678b6c (patch)
tree6c4ee28310aca1b7cca6bee55654c387a984f449 /tests
parent0275e0fa6a93f26643d32ae04635499dda047c63 (diff)
downloadqt-creator-dae4231e52ad12a90ef36079c155e1e3a5678b6c.tar.gz
Squish: Adapt to changed UI
Change-Id: I8506d099dc0c0721e61d00af2abb1e4515cda38e Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/system/objects.map2
-rw-r--r--tests/system/suite_general/tst_installed_languages/test.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/system/objects.map b/tests/system/objects.map
index 811dd7d81d..1cc9fc2fd6 100644
--- a/tests/system/objects.map
+++ b/tests/system/objects.map
@@ -172,7 +172,7 @@
:QtSupport__Internal__QtVersionManager.qmake_QLabel {container=':qt_tabwidget_stackedwidget.QtSupport__Internal__QtVersionManager_QtSupport::Internal::QtOptionsPageWidget' name='qmakePath' type='QLabel' visible='1'}
:QtVersionLabel_KitPage {container=':qt_tabwidget_stackedwidget_QWidget' text='Qt version:' type='QLabel' unnamed='1' visible='1'}
:Remove_QPushButton {container=':qt_tabwidget_stackedwidget_QScrollArea' text='Remove' type='QPushButton' unnamed='1' visible='1'}
-:Restart required.OK_QPushButton {text='OK' type='QPushButton' unnamed='1' visible='1' window=':Restart required_QMessageBox'}
+:Restart required.Later_QPushButton {text='Later' type='QPushButton' unnamed='1' visible='1' window=':Restart required_QMessageBox'}
:Restart required_QMessageBox {text='The language change will take effect after restart.' type='QMessageBox' unnamed='1' visible='1'}
:Revert to Saved.Proceed_QPushButton {text='Proceed' type='QPushButton' unnamed='1' visible='1' window=':Revert to Saved_QMessageBox'}
:Revert to Saved_QMessageBox {text?='You will lose your current changes if you proceed reverting*' type='QMessageBox' unnamed='1' visible='1'}
diff --git a/tests/system/suite_general/tst_installed_languages/test.py b/tests/system/suite_general/tst_installed_languages/test.py
index 7a5be9b680..237150a8a0 100644
--- a/tests/system/suite_general/tst_installed_languages/test.py
+++ b/tests/system/suite_general/tst_installed_languages/test.py
@@ -39,7 +39,7 @@ def main():
languageName = languageName.replace("%1", country)
selectFromCombo(":User Interface.languageBox_QComboBox", languageName)
clickButton(waitForObject(":Options.OK_QPushButton"))
- clickButton(waitForObject(":Restart required.OK_QPushButton"))
+ clickButton(waitForObject(":Restart required.Later_QPushButton"))
test.verify(waitFor("not object.exists(':Options_Core::Internal::SettingsDialog')", 5000),
"Options dialog disappeared")
invokeMenuItem("File", "Exit")