summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-06-28 14:01:21 +0800
committerraveit65 <[email protected]>2019-07-01 16:22:46 +0200
commit6741c5db1e5c48c01b25bb7900dc40d48552925d (patch)
tree77bb67e523e65d096ce67440ac870b0a42198c3f /test
parent7b125a7b847c34807ba6171c0fe91c7121ede6a8 (diff)
downloadatril-6741c5db1e5c48c01b25bb7900dc40d48552925d.tar.bz2
atril-6741c5db1e5c48c01b25bb7900dc40d48552925d.tar.xz
test: get focus on frame
Diffstat (limited to 'test')
-rwxr-xr-xtest/test2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test2.py b/test/test2.py
index 7e3a8e30..d690edbb 100755
--- a/test/test2.py
+++ b/test/test2.py
@@ -18,7 +18,7 @@ focus.dialog('Enter password')
click('Cancel', roleName='push button')
# Try again with the correct password
-focus.application('atril')
+focus.frame('test-encrypt.pdf — Password Required')
click('Unlock Document', roleName='push button')
focus.dialog('Enter password')
type('Foo')