Squish: Fix test for welcome page

Amends cf3772ca77.

Change-Id: I3b98f4493db130f062982a5a8b39e334d5b6b49f
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
This commit is contained in:
Christian Stenger
2019-11-07 14:06:53 +01:00
parent cfd419cc0c
commit 8866153c2a

View File

@@ -92,7 +92,7 @@ def main():
# select Projects and roughly check this # select Projects and roughly check this
switchToSubMode('Projects') switchToSubMode('Projects')
for button in ['New Project', 'Open Project']: for button in ['New', 'Open']:
wsButtonFrame, wsButtonLabel = getWelcomeScreenMainButton(button) wsButtonFrame, wsButtonLabel = getWelcomeScreenMainButton(button)
if test.verify(all((wsButtonFrame, wsButtonLabel)), if test.verify(all((wsButtonFrame, wsButtonLabel)),
"Verified whether '%s' button is shown." % button): "Verified whether '%s' button is shown." % button):