Closed
Bug 716934
Opened 13 years ago
Closed 13 years ago
Robotium tests might silently fail to click
Categories
(Testing :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla12
People
(Reporter: kats, Assigned: kats)
Details
Attachments
(1 file)
1.11 KB,
patch
|
jmaher
:
review+
|
Details | Diff | Splinter Review |
Haven't actually seen this happen, but while debugging came across the possibility and figured we should check for it.
Attachment #587356 -
Flags: review?(jmaher)
Comment 1•13 years ago
|
||
Comment on attachment 587356 [details] [diff] [review] Check for click() returning false Review of attachment 587356 [details] [diff] [review]: ----------------------------------------------------------------- ::: build/mobile/robocop/FennecNativeElement.java.in @@ +77,5 @@ > public void run() { > View view = (View)mActivity.findViewById(id); > if(view != null) { > + if (!view.performClick()) { > + Log.w("Robocop", "Robocop called click on an element with no listener"); I would like these messages to make it in the log file. I think this is a subject for another bug.
Attachment #587356 -
Flags: review?(jmaher) → review+
Assignee | ||
Comment 2•13 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/4d427e719ed9
Comment 3•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/4d427e719ed9
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla12
You need to log in
before you can comment on or make changes to this bug.
Description
•