Closed Bug 886589 Opened 11 years ago Closed 11 years ago

Change - Add infrastructure for tapping center of elements rather than relying on hard-coded offsets

Categories

(Firefox for Metro Graveyard :: Tests, defect, P3)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jwilde, Assigned: jwilde)

References

Details

(Whiteboard: feature=change c=tbd u=tbd p=2)

Attachments

(1 file, 1 obsolete file)

Some of the tests turn out to be really fragile in certain environments due to the use of magic numbers to tap more or less in the center of elements.

Sometimes the magic number offsets don't end up hitting in bounds of the element that we want to hit.
Whiteboard: feature=change c=tbd u=tbd p=0
Priority: -- → P3
Blocks: metrov1it10
No longer blocks: metrov1defect&change
QA Contact: jbecerra
Whiteboard: feature=change c=tbd u=tbd p=0 → feature=change c=tbd u=tbd p=2
Attached patch patch v1 (obsolete) — Splinter Review
Attachment #767464 - Flags: review?(jmathies)
Attachment #767464 - Attachment is obsolete: true
Attachment #767464 - Flags: review?(jmathies)
Attachment #767466 - Flags: review?(jmathies)
Attachment #767466 - Flags: review?(jmathies) → review+
https://hg.mozilla.org/mozilla-central/rev/be5046383861
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Jonathan, how would I go about verifying this? I tried going through the list of bugs for intermittent failures, but I can't see if there's a decline. Should there be?
Flags: needinfo?(jwilde)
These changes won't really help with the intermittent issues.

They mainly help in ensuring that a developer won't break a test by changing the size of an element. I think everybody now runs the tests when developing/reviewing and catches test failures before landing. I'm really not sure how one would quantitatively verify this.
Flags: needinfo?(jwilde)
Should this be excluded from the regular QA regression testing?
Hey Jonathan, please see Comment #7.
Flags: needinfo?(jwilde)
Given that this is exceedingly hard to support/refute whether this has indeed been fixed by the patches, I'd say that's probably a good plan.
Flags: needinfo?(jwilde)
Thanks.  I've removed it from the Metro testing sheet.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: