File tree Expand file tree Collapse file tree
java/test/org/openqa/selenium Expand file tree Collapse file tree Original file line number Diff line number Diff 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" ));
You can’t perform that action at this time.
0 commit comments