Closed Bug 562988 Opened 14 years ago Closed 14 years ago

Add some navigational tests

Categories

(Firefox for Android Graveyard :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mfinkle, Assigned: mfinkle)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
This patch adds basic naviagtion tests for:
* Enter a URL in the URLBar and press 'ENTER' to load a page
* Enter a URL in the URLBar and press 'GO' button to load a page
* Track the state of the back/forward buttons as we load pages
* Go 'BACK' and check back/forward buttons
* Track the state of the 'GO' and 'RELOAD' buttons as we edit and load pages

Yes, we can add more, but this is a good start

NOTE: The awesomebar was causing me huge amounts of grief with timing and focus issues. I added 'popupshown' and 'popuphidden' events so I could work around it. The events are handy in general since a normal autocomplete dropdown fires them, but our custom dropdown panel was not.
Attachment #442753 - Flags: review?(mbrubeck)
Also, I had to add a wrapper for EventUtils.synthesizeString. EventUtils.sendString is broken in chrome tests.
Attachment #442753 - Flags: review?(mbrubeck) → review+
tests only

pushed m-b:
http://hg.mozilla.org/mobile-browser/rev/182c72b08501

pushed m-1.1:
http://hg.mozilla.org/releases/mobile-1.1/rev/cd928cc80301
Assignee: nobody → mark.finkle
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: