Skip to content

Commit

Permalink
[java] Enabling and fixing tests in Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
diemol committed Apr 26, 2023
1 parent 3d8c6fa commit b643cf7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions java/test/org/openqa/selenium/ElementDomPropertyTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public void testShouldGetClassPropertiesOfAnElement() {
WebElement heading = driver.findElement(By.cssSelector(".nameA"));
assertThat(heading.getDomProperty("class")).isNull();
assertThat(heading.getDomProperty("className")).isEqualTo("nameA nameBnoise nameC");
assertThat(heading.getDomProperty("classList")).isEqualTo("nameA nameBnoise nameC");
assertThat(heading.getDomProperty("classList")).contains("nameA nameBnoise nameC");
}

@Test
Expand Down Expand Up @@ -123,7 +123,6 @@ void testShouldGetNumericProperty() {
}

@Test
@NotYetImplemented(FIREFOX)
public void testCanReturnATextApproximationOfTheStyleProperty() {
driver.get(pages.javascriptPage);
WebElement element = driver.findElement(By.id("red-item"));
Expand Down

0 comments on commit b643cf7

Please sign in to comment.