Skip to content

Commit 2ede9de

Browse files
committed
Java tests: An attempt to nail down a test that fails for an unknown reason
1 parent 169b2a3 commit 2ede9de

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

java/client/test/org/openqa/selenium/interactions/DragAndDropTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
import org.junit.Test;
3636
import org.openqa.selenium.By;
3737
import org.openqa.selenium.JavascriptExecutor;
38+
import org.openqa.selenium.NeedsFreshDriver;
3839
import org.openqa.selenium.NoDriverAfterTest;
3940
import org.openqa.selenium.Platform;
4041
import org.openqa.selenium.Point;
@@ -122,6 +123,7 @@ public void testDragAndDropElementWithOffsetInIframeAtBottom() {
122123
@JavascriptEnabled
123124
@Ignore(value = {IE}, reason = "IE fails this test if requireWindowFocus=true")
124125
@Test
126+
@NeedsFreshDriver // fails in Sauce if run in a dirty state; to be investigated
125127
public void testDragAndDropElementWithOffsetInScrolledDiv() {
126128
driver.get(appServer.whereIs("dragAndDropInsideScrolledDiv.html"));
127129

0 commit comments

Comments
 (0)