Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
path: root/test/test2.py
diff options
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>2009-01-05 17:54:03 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2009-01-05 17:54:03 (GMT)
commitbcf9e89f414c634067818c46ea05a2d0f98e6f54 (patch)
tree4f3c9031e4ae1ff3b25165af310ec2a97a4f0be6 /test/test2.py
parenta3513c991fb42a782c68cb93beb80a05476e9b87 (diff)
Fixes for the test due to gnome-keyring string change
svn path=/trunk/; revision=3329
Diffstat (limited to 'test/test2.py')
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')
-click('OK', roleName='push button')
+click('Unlock Document', roleName='push button')
# Close evince
click('File', roleName='menu')