mozilla/Addon-Tests — pull request #551 by zacc (2012-08-24 11:46:29+00:00)
Title: Refactor of incompatible themes test and page object

Due to the grid-like movement of the mouse by WebDriver, grid pattern of themes and overlap of hovercards occasionally the wrong hovercard would stick open as the mouse passes over it.

This would only occur depending upon the changing location of the themes on the page and whether it matched the mouse movement pattern so occasionally this test would pass and occasionally not.

I'm now moving the mouse to a location below the hovercard we want it to hover on then moving it upwards to ensure the correct one is hovered over.

The test might still fail on focus issues but when in focus it should be stable now.

I also changed the properties to reflect the text content on the page rather than the html names as it was confusing.