From 6741c5db1e5c48c01b25bb7900dc40d48552925d Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Fri, 28 Jun 2019 14:01:21 +0800 Subject: test: get focus on frame --- test/test2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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') -- cgit v1.2.1