Closed Bug 725794 Opened 14 years ago Closed 13 years ago

Robotium: Add tests for basic navigation

Categories

(Firefox for Android Graveyard :: General, defect, P2)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 747835

People

(Reporter: mfinkle, Assigned: mfinkle)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch WIP (obsolete) — — Splinter Review
We should test to make sure the reload, forward and back operations work and the menu is updated. The WIP patch seems to be a good start, but the getText("Forward").isEnabled() fails to return FASLE when I know (and can see) it is disabled. I even added a stupid mSolo.sleep(1000) to wait after the menu is shown, allowing the code to update the menus as needed.
Attached patch WIP 2 — — Splinter Review
With test file
Assignee: nobody → mark.finkle
Attachment #595864 - Attachment is obsolete: true
Comment on attachment 595875 [details] [diff] [review] WIP 2 I'm guessing the waitForText is returning a TextView which is always going to be enabled. You're probably going to need to walk up the chain of UI elements until you get to the menu item object, aand check isEnabled() on that.
Priority: -- → P2
Please tell me we have basic automated navigational tests in some suite somewhere.
Yup
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: