assertEquals(midAOpacity, Double.valueOf(sectA.css("opacity")));
//animation was stopped and jumped to the end, the queue was cleared so no change too.
assertEquals("none", sectB.css("display"));
//fadeOut was stopped but fadeIn should continue
Double midCOpacity = sectC.data("opacityC", Double.class);
Double laterCOpacity = Double.valueOf(sectC.css("opacity"));
assertTrue(laterCOpacity > midCOpacity);
// Last delayed assertion has to stop the test to avoid a timeout
// failure
finishTest();