File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/test/java/com/gargoylesoftware/htmlunit/html Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -394,6 +394,7 @@ public void typeSubmit() throws Exception {
394394 = "<html><head><title>first</title></head><body>\n "
395395 + " <p>hello world</p>\n "
396396 + " <form id='myForm' action='" + URL_SECOND + "'>\n "
397+ + " <input name='text' type='text'>\n "
397398 + " <button type='submit' id='myButton'>Explicit Submit</button>\n "
398399 + " </form>\n "
399400 + "</body></html>" ;
@@ -408,7 +409,7 @@ public void typeSubmit() throws Exception {
408409 driver .findElement (By .id ("myButton" )).click ();
409410
410411 assertEquals (2 , getMockWebConnection ().getRequestCount ());
411- assertEquals (URL_SECOND .toString (), getMockWebConnection ().getLastWebRequest ().getUrl ());
412+ assertEquals (URL_SECOND .toString () + "?text=" , getMockWebConnection ().getLastWebRequest ().getUrl ());
412413 }
413414
414415 /**
You can’t perform that action at this time.
0 commit comments