From bcf9e89f414c634067818c46ea05a2d0f98e6f54 Mon Sep 17 00:00:00 2001 From: Nickolay V. Shmyrev Date: Mon, 05 Jan 2009 17:54:03 +0000 Subject: Fixes for the test due to gnome-keyring string change svn path=/trunk/; revision=3329 --- (limited to 'test') 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') -- cgit v0.9.1