Investigate appbar interactions on bookmarks/history tests

RESOLVED INCOMPLETE

Status

defect
RESOLVED INCOMPLETE
6 years ago
2 years ago

People

(Reporter: rsilveira, Unassigned)

Tracking

Trunk
x86_64
Windows 8.1

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: p=0)

browser_bookmarks and browser_history tests are interacting with the appbar contextUI buttons directly by simulating clicks with the likes of EventUtils.synthesizeMouse().

Because we transition the buttons separately from the bar[1], context interactions are fragile (bug 904940) and the tests are prone to intermittent failures.

While there is value in testing those interactions, it should probably be simplified and moved to an more appropriate test file such as browser_context_ui. Right now it's duplicated in bookmarks and history tests.

Using APIs such as dispatchContextualAction directly can decouple us from context appbar and it's animations. Making the tests run much faster too.

[1] http://mxr.mozilla.org/mozilla-central/source/browser/metro/base/content/appbar.js?rev=83254f71904c#237
Blocks: metrobacklog
Whiteboard: p=0
OS: Windows 8 Metro → Windows 8.1
Mass close of bugs in obsolete product https://bugzilla.mozilla.org/show_bug.cgi?id=1350354
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.