orca r4505 - in trunk: . test/keystrokes/firefox



Author: wwalker
Date: Sat Feb  7 00:55:18 2009
New Revision: 4505
URL: http://svn.gnome.org/viewvc/orca?rev=4505&view=rev

Log:
Account for differences in the titles of various FF releases.


Modified:
   trunk/ChangeLog
   trunk/test/keystrokes/firefox/codetalks_button.py

Modified: trunk/test/keystrokes/firefox/codetalks_button.py
==============================================================================
--- trunk/test/keystrokes/firefox/codetalks_button.py	(original)
+++ trunk/test/keystrokes/firefox/codetalks_button.py	Sat Feb  7 00:55:18 2009
@@ -80,9 +80,10 @@
 sequence.append(WaitForFocus("OK", acc_role=pyatspi.ROLE_PUSH_BUTTON))
 sequence.append(utils.AssertPresentationAction(
     "Popup dialog", 
-    ["BRAILLE LINE:  'Firefox Application The page at http://codetalks.org says: Dialog'",
+    ["KNOWN ISSUE - https://bugzilla.mozilla.org/show_bug.cgi?id=466332";
+     "BRAILLE LINE:  '" + utils.firefoxAppNames + " Application The page at http://codetalks.org says: Dialog'",
      "     VISIBLE:  'The page at http://codetalks.org', cursor=1",
-     "BRAILLE LINE:  'Firefox Application The page at http://codetalks.org says: Dialog OK Button'",
+     "BRAILLE LINE:  '" + utils.firefoxAppNames + " Application The page at http://codetalks.org says: Dialog OK Button'",
      "     VISIBLE:  'OK Button', cursor=1",
      "SPEECH OUTPUT: 'The page at http://codetalks.org says: Button pressed'",
      "SPEECH OUTPUT: ''",
@@ -96,11 +97,11 @@
 sequence.append(WaitForFocus("Check Now", acc_role=pyatspi.ROLE_PUSH_BUTTON))
 sequence.append(utils.AssertPresentationAction(
     "Dismiss dialog", 
-    ["BRAILLE LINE:  'Firefox Application ARIA Button - Mozilla Firefox Frame'",
-     "     VISIBLE:  'ARIA Button - Mozilla Firefox Fr', cursor=1",
+    ["BRAILLE LINE:  '" + utils.firefoxAppNames + " Application ARIA Button - " + utils.firefoxFrameNames + " Frame'",
+     "     VISIBLE:  'ARIA Button - [3.a-zA-Z ]+', cursor=1",
      "BRAILLE LINE:  'Check Now Button Check to see if your order has been shipped.  $l'",
      "     VISIBLE:  'Check Now Button Check to see if', cursor=1",
-     "SPEECH OUTPUT: 'ARIA Button - Mozilla Firefox frame'",
+     "SPEECH OUTPUT: 'ARIA Button - " + utils.firefoxFrameNames + " frame'",
      "SPEECH OUTPUT: 'Check Now button Check to see if your order has been shipped. text'"]))
 
 ########################################################################



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]