[eog] tests: fix 'Rotate the image clockwise' step
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] tests: fix 'Rotate the image clockwise' step
- Date: Mon, 9 Mar 2015 15:32:21 +0000 (UTC)
commit 2b7041a7813e8b14bcecaade558f42161ca91f06
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Mon Mar 9 15:48:13 2015 +0100
tests: fix 'Rotate the image clockwise' step
tests/steps/steps.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/tests/steps/steps.py b/tests/steps/steps.py
index 0d3fa57..cb1460b 100644
--- a/tests/steps/steps.py
+++ b/tests/steps/steps.py
@@ -62,7 +62,10 @@ def image_size_is(context, width, height):
@step(u'Rotate the image clockwise')
def rotate_image_clockwise(context):
- context.app.child(roleName='tool bar').child(translate('Right')).click()
+ btn = context.app.child(description=translate('Rotate the image 90 degrees to the left'))
+ context.app.child(roleName='drawing area').point()
+ sleep(1)
+ btn.click()
@step(u'Open context menu for current image')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]