summaryrefslogtreecommitdiff
path: root/tests/steps
diff options
context:
space:
mode:
authorVadim Rutkovsky <vrutkovs@redhat.com>2015-03-09 15:06:56 +0100
committerVadim Rutkovsky <vrutkovs@redhat.com>2015-03-09 16:31:35 +0100
commit6526c6446ec5f3ff21c4717e3c80a6e289d853c1 (patch)
tree8811f59dd70e147e7c5da2ef9ed7a8380905a89d /tests/steps
parentc3007b5de089c1f7308c8b01b504e9e54ffc72f6 (diff)
downloadeog-6526c6446ec5f3ff21c4717e3c80a6e289d853c1.tar.gz
tests: fix About test
Diffstat (limited to 'tests/steps')
-rw-r--r--tests/steps/steps.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/steps/steps.py b/tests/steps/steps.py
index 452b8323..1c4d6392 100644
--- a/tests/steps/steps.py
+++ b/tests/steps/steps.py
@@ -10,8 +10,9 @@ from dogtail import i18n
@step(u'Open About dialog')
def open_about_dialog(context):
- context.app.menu(translate('Help')).click()
- context.app.menu(translate('Help')).menuItem(translate('About')).click()
+ context.execute_steps(u"""
+ * Click "About" in GApplication menu
+ """)
context.about_dialog = context.app.dialog(translate('About Image Viewer'))