}
@Test
public void tooltipsHaveQuickOpenDelay() throws InterruptedException {
openTestURL();
Coordinates button0Coordinates = getButtonCoordinates("Button 0");
Coordinates button1Coordinates = getButtonCoordinates("Button 1");
Mouse mouse = getMouse();
mouse.mouseMove(button0Coordinates, 10, 10);
sleep(1000);
assertThat(getTooltipElement().getLocation().x, is(greaterThan(0)));
mouse.mouseMove(button1Coordinates, 10, 10);
assertThat(getTooltipElement().getLocation().x, is(lessThan(-1000)));
sleep(1000);
assertThat(getTooltipElement().getLocation().x,
is(greaterThan(button1Coordinates.onPage().x)));
}