Skip to content

Commit b643cf7

Browse files
committed
[java] Enabling and fixing tests in Firefox
1 parent 3d8c6fa commit b643cf7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

java/test/org/openqa/selenium/ElementDomPropertyTest.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public void testShouldGetClassPropertiesOfAnElement() {
9191
WebElement heading = driver.findElement(By.cssSelector(".nameA"));
9292
assertThat(heading.getDomProperty("class")).isNull();
9393
assertThat(heading.getDomProperty("className")).isEqualTo("nameA nameBnoise nameC");
94-
assertThat(heading.getDomProperty("classList")).isEqualTo("nameA nameBnoise nameC");
94+
assertThat(heading.getDomProperty("classList")).contains("nameA nameBnoise nameC");
9595
}
9696

9797
@Test
@@ -123,7 +123,6 @@ void testShouldGetNumericProperty() {
123123
}
124124

125125
@Test
126-
@NotYetImplemented(FIREFOX)
127126
public void testCanReturnATextApproximationOfTheStyleProperty() {
128127
driver.get(pages.javascriptPage);
129128
WebElement element = driver.findElement(By.id("red-item"));

0 commit comments

Comments
 (0)