Skip to content

Commit

Permalink
Linking a test to an issue
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Feb 5, 2018
1 parent 42ccf2e commit a2739f4
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,12 @@
import org.openqa.selenium.testing.Ignore;
import org.openqa.selenium.testing.JUnit4TestBase;
import org.openqa.selenium.testing.NeedsFreshDriver;
import org.openqa.selenium.testing.NotYetImplemented;

public class JavascriptEnabledDriverTest extends JUnit4TestBase {

@Test
public void testDocumentShouldReflectLatestTitle() throws Exception {
public void testDocumentShouldReflectLatestTitle() {
driver.get(pages.javascriptPage);

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

@Test
@Ignore(MARIONETTE)
public void testDocumentShouldReflectLatestDom() throws Exception {
@NotYetImplemented(value = MARIONETTE, reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1381519")
public void testDocumentShouldReflectLatestDom() {
driver.get(pages.javascriptPage);
String currentText = driver.findElement(By.xpath("//div[@id='dynamo']")).getText();
assertThat(currentText, equalTo("What's for dinner?"));
Expand Down Expand Up @@ -223,7 +224,7 @@ public void testShouldBeAbleToGetTheLocationOfAnElement() {
@NeedsFreshDriver
@Test
@Ignore(value = SAFARI, reason = "issue 3693")
public void testShouldBeAbleToClickALinkThatClosesAWindow() throws Exception {
public void testShouldBeAbleToClickALinkThatClosesAWindow() {
driver.get(pages.javascriptPage);

String handle = driver.getWindowHandle();
Expand Down

0 comments on commit a2739f4

Please sign in to comment.