Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/test2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test2.py b/test/test2.py
index ac6493a..ca06b66 100755
--- a/test/test2.py
+++ b/test/test2.py
@@ -14,14 +14,14 @@ run('evince', arguments=' '+srcdir+'/test-encrypt.pdf')
focus.dialog('Enter password')
focus.widget('Password Entry', roleName='password text')
type('wrong password')
-click('OK', roleName='push button')
+click('Unlock Document', roleName='push button')
click('Cancel', roleName='push button')
# Try again with the correct password
click('Unlock Document', roleName='push button')
focus.widget('Password Entry', roleName='password text')
type('Foo')
-click('OK', roleName='push button')
+click('Unlock Document', roleName='push button')
# Close evince
click('File', roleName='menu')