[HtmlUnit] SVN: [14651] trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/ html/HtmlForm2Test.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[HtmlUnit] SVN: [14651] trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/ html/HtmlForm2Test.java

HtmlUnit - Dev mailing list
Revision: 14651
          http://sourceforge.net/p/htmlunit/code/14651
Author:   rbri
Date:     2017-07-13 16:39:55 +0000 (Thu, 13 Jul 2017)
Log Message:
-----------
cleanup

Modified Paths:
--------------
    trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlForm2Test.java

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlForm2Test.java
===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlForm2Test.java 2017-07-12 20:10:30 UTC (rev 14650)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlForm2Test.java 2017-07-13 16:39:55 UTC (rev 14651)
@@ -32,7 +32,6 @@
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
 
-import org.apache.http.entity.ContentType;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.openqa.selenium.By;
@@ -432,7 +431,7 @@
             + "  <p>hello world</p>\n"
             + "</body></html>";
 
-        getMockWebConnection().setResponse(URL_SECOND, secondContent, ContentType.MULTIPART_FORM_DATA.getMimeType());
+        getMockWebConnection().setResponse(URL_SECOND, secondContent);
 
         final WebDriver driver = loadPage2(html, URL_FIRST);
         driver.findElement(By.id("myButton")).click();
@@ -478,9 +477,8 @@
      * @throws Exception if the test fails
      */
     @Test
-    @Alerts(DEFAULT = {"2", "third"},
-            IE = {"1", "first"})
-    @NotYetImplemented(IE)
+    @Alerts({"2", "third"})
+    @BuggyWebDriver(IE)
     public void buttonWithFormAction() throws Exception {
         final String html = "<!DOCTYPE html>\n"
             + "<html><head><title>first</title></head>\n"


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
HtmlUnit-develop mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/htmlunit-develop
Loading...