Skip to content

Commit a2739f4

Browse files
committed
Linking a test to an issue
1 parent 42ccf2e commit a2739f4

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

java/client/test/org/openqa/selenium/JavascriptEnabledDriverTest.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,12 @@
3939
import org.openqa.selenium.testing.Ignore;
4040
import org.openqa.selenium.testing.JUnit4TestBase;
4141
import org.openqa.selenium.testing.NeedsFreshDriver;
42+
import org.openqa.selenium.testing.NotYetImplemented;
4243

4344
public class JavascriptEnabledDriverTest extends JUnit4TestBase {
4445

4546
@Test
46-
public void testDocumentShouldReflectLatestTitle() throws Exception {
47+
public void testDocumentShouldReflectLatestTitle() {
4748
driver.get(pages.javascriptPage);
4849

4950
assertThat(driver.getTitle(), equalTo("Testing Javascript"));
@@ -53,8 +54,8 @@ public void testDocumentShouldReflectLatestTitle() throws Exception {
5354
}
5455

5556
@Test
56-
@Ignore(MARIONETTE)
57-
public void testDocumentShouldReflectLatestDom() throws Exception {
57+
@NotYetImplemented(value = MARIONETTE, reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1381519")
58+
public void testDocumentShouldReflectLatestDom() {
5859
driver.get(pages.javascriptPage);
5960
String currentText = driver.findElement(By.xpath("//div[@id='dynamo']")).getText();
6061
assertThat(currentText, equalTo("What's for dinner?"));
@@ -223,7 +224,7 @@ public void testShouldBeAbleToGetTheLocationOfAnElement() {
223224
@NeedsFreshDriver
224225
@Test
225226
@Ignore(value = SAFARI, reason = "issue 3693")
226-
public void testShouldBeAbleToClickALinkThatClosesAWindow() throws Exception {
227+
public void testShouldBeAbleToClickALinkThatClosesAWindow() {
227228
driver.get(pages.javascriptPage);
228229

229230
String handle = driver.getWindowHandle();

0 commit comments

Comments
 (0)