Closed Bug 910002 Opened 12 years ago Closed 8 years ago

Investigate appbar interactions on bookmarks/history tests

Categories

(Firefox for Metro Graveyard :: Tests, defect)

x86_64
Windows 8.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: rsilveira, Unassigned)

References

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
Closed: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.