File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
java/client/test/org/openqa/selenium Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -224,12 +224,11 @@ public void testFindingASingleElementByEmptyTagNameShouldThrow() {
224
224
driver .findElement (By .tagName ("" ));
225
225
}
226
226
227
- @ Test
227
+ @ Test ( expected = NoSuchElementException . class )
228
228
@ Ignore (value = MARIONETTE , reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1204504" )
229
- public void testFindingMultipleElementsByEmptyTagNameShouldReturnEmptyList () {
229
+ public void testFindingMultipleElementsByEmptyTagNameShouldThrow () {
230
230
driver .get (pages .formPage );
231
- List <WebElement > elements = driver .findElements (By .tagName ("" ));
232
- assertThat (elements .size (), is (0 ));
231
+ driver .findElements (By .tagName ("" ));
233
232
}
234
233
235
234
@ Test (expected = NoSuchElementException .class )
You can’t perform that action at this time.
0 commit comments