Closed Bug 1633102 Opened 6 years ago Closed 6 years ago

Use disableNonTestMouseEvents to prevent false mouse hover or tooltips from affecting mozscreenshots

Categories

(Testing :: mozscreenshots, enhancement, P2)

enhancement

Tracking

(firefox77 fixed)

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: MattN, Assigned: MattN)

References

(Blocks 1 open bug)

Details

Attachments

(4 files, 1 obsolete file)

The most common cause of intermittent inconsistencies on mozscreenshots is due to changes in styles from :hover and tooltips caused by the mouse on the test machine. We can use nsIDOMWindowUtils.disableNonTestMouseEvents to prevent this.

Make them easier to run alone without running all the capture subdirectories.

Depends on D72513

Attachment #9143330 - Attachment description: Bug 1633102 - Fix PermissionPrompts.addonsNoWhitelist screenshots. a=test-only → Bug 1633102 - Fix PermissionPrompts.addonsNoWhitelist and trackingProtection* screenshots. a=test-only
Pushed by mozilla@noorenberghe.ca: https://hg.mozilla.org/integration/autoland/rev/0fc6e510d804 Use disableNonTestMouseEvents to prevent false mouse hover or tooltips from affecting mozscreenshots a=test-only https://hg.mozilla.org/integration/autoland/rev/ffee98ab606b Change mozscreenshots croppingPadding to 0 to fix intermittents from other apps. a=test-only https://hg.mozilla.org/integration/autoland/rev/fdfaa7768945 Move mozscreenshots m-bc tests to their own subdirectory. a=test-only https://hg.mozilla.org/integration/autoland/rev/22a533517b40 Fix PermissionPrompts.addonsNoWhitelist and trackingProtection* screenshots. a=test-only
Pushed by mozilla@noorenberghe.ca: https://hg.mozilla.org/integration/autoland/rev/a0cafe8bc643 Fix linting from moving mozscreenshots b-c tests. a=bustage
Backout by shindli@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6ba63b50d930 Backed out changeset a0cafe8bc643 because the whole bug needs to be backed out. CLOSED TREE
Attachment #9143320 - Attachment description: Bug 1633102 - Use disableNonTestMouseEvents to prevent false mouse hover or tooltips from affecting mozscreenshots a=test-only → Bug 1633102 - Use disableNonTestMouseEvents to prevent mouse hover or tooltips from affecting mozscreenshots a=test-only
Attachment #9143331 - Attachment is obsolete: true
Flags: needinfo?(MattN+bmo)
Pushed by mozilla@noorenberghe.ca: https://hg.mozilla.org/integration/autoland/rev/d697a672e201 Use disableNonTestMouseEvents to prevent mouse hover or tooltips from affecting mozscreenshots a=test-only https://hg.mozilla.org/integration/autoland/rev/610d7d4d10c3 Change mozscreenshots croppingPadding to 0 to fix intermittents from other apps. a=test-only https://hg.mozilla.org/integration/autoland/rev/1e630c8bc496 Move mozscreenshots m-bc tests to their own subdirectory. a=test-only https://hg.mozilla.org/integration/autoland/rev/1247c4bbb039 Fix PermissionPrompts.addonsNoWhitelist and trackingProtection* screenshots. a=test-only
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: