Closed
Bug 725787
Opened 13 years ago
Closed 13 years ago
Robotium: loadUrl should be callable more than one time
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 13
People
(Reporter: mfinkle, Assigned: mfinkle)
Details
Attachments
(1 file)
|
9.26 KB,
patch
|
gbrown
:
review+
|
Details | Diff | Splinter Review |
loadUrl calls enterUrl which blocks while waiting for Gecko:Ready. This might have been handy for those tests that only call loadUrl and do a simple test, but it's not helpful for tests that load more than one page.
This patch pulls the Gecko:Ready wait out of enterUrl and adds it to the top of tests that seem to need it.
Attachment #595857 -
Flags: review?(gbrown)
| Assignee | ||
Comment 1•13 years ago
|
||
Sending to Try to make sure I got all the tests
Comment 2•13 years ago
|
||
Comment on attachment 595857 [details] [diff] [review]
patch
Review of attachment 595857 [details] [diff] [review]:
-----------------------------------------------------------------
You missed test_bug720538!
r+ with one more Gecko:Ready wait in test_bug720538.
Attachment #595857 -
Flags: review?(gbrown) → review+
Comment 3•13 years ago
|
||
Would it work if we throw this in BaseTest.setUp() instead of duplicating it everywhere?
Comment 4•13 years ago
|
||
(In reply to Kartikaya Gupta (:kats) from comment #3)
> Would it work if we throw this in BaseTest.setUp() instead of duplicating it
> everywhere?
I prefer it the way Mark has done it: I like to see that step explicitly when I'm reading the test code. Also, it makes it easier to write a test that doesn't wait for Gecko:Ready.
| Assignee | ||
Comment 5•13 years ago
|
||
Comment 6•13 years ago
|
||
Assignee: nobody → mark.finkle
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 13
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•