[HtmlUnit] SVN: [15363] trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit

rbri--- via HtmlUnit-develop <[email protected]>
Newsgroups gmane.comp.java.htmlunit.devel
Message-ID <[email protected]>
Revision: 15363
          http://sourceforge.net/p/htmlunit/code/15363
Author:   rbri
Date:     2018-06-20 06:19:39 +0000 (Wed, 20 Jun 2018)
Log Message:
-----------
ff60 support (wip)

Modified Paths:
--------------
    trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/ClickableElement2Test.java
    trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlTextInputTest.java
    trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/event/EventTest.java

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/ClickableElement2Test.java
===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/ClickableElement2Test.java	2018-06-20 06:12:12 UTC (rev 15362)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/ClickableElement2Test.java	2018-06-20 06:19:39 UTC (rev 15363)
@@ -15,7 +15,7 @@
 package com.gargoylesoftware.htmlunit.html;
 
 import static com.gargoylesoftware.htmlunit.BrowserRunner.TestedBrowser.CHROME;
-import static com.gargoylesoftware.htmlunit.BrowserRunner.TestedBrowser.FF;
+import static com.gargoylesoftware.htmlunit.BrowserRunner.TestedBrowser.FF52;
 
 import org.junit.Test;
 import org.junit.runner.RunWith;
@@ -64,7 +64,7 @@
      */
     @Test
     @Alerts("click click dblclick ")
-    @BuggyWebDriver({CHROME, FF})
+    @BuggyWebDriver({CHROME, FF52})
     public void dblClick() throws Exception {
         final String content = "<html>\n"
             + "<head>\n"

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlTextInputTest.java
===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlTextInputTest.java	2018-06-20 06:12:12 UTC (rev 15362)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlTextInputTest.java	2018-06-20 06:19:39 UTC (rev 15363)
@@ -22,6 +22,7 @@
 import org.junit.runner.RunWith;
 import org.openqa.selenium.By;
 import org.openqa.selenium.InvalidElementStateException;
+import org.openqa.selenium.Keys;
 import org.openqa.selenium.NoSuchElementException;
 import org.openqa.selenium.WebDriver;
 import org.openqa.selenium.WebElement;
@@ -66,13 +67,13 @@
         final WebElement t = driver.findElement(By.id("t"));
         t.sendKeys("abc");
         assertEquals("abc", t.getAttribute("value"));
-        t.sendKeys("\b");
+        t.sendKeys(Keys.BACK_SPACE);
         assertEquals("ab", t.getAttribute("value"));
-        t.sendKeys("\b");
+        t.sendKeys(Keys.BACK_SPACE);
         assertEquals("a", t.getAttribute("value"));
-        t.sendKeys("\b");
+        t.sendKeys(Keys.BACK_SPACE);
         assertEquals("", t.getAttribute("value"));
-        t.sendKeys("\b");
+        t.sendKeys(Keys.BACK_SPACE);
         assertEquals("", t.getAttribute("value"));
     }
 

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/event/EventTest.java
===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/event/EventTest.java	2018-06-20 06:12:12 UTC (rev 15362)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/event/EventTest.java	2018-06-20 06:19:39 UTC (rev 15363)
@@ -14,7 +14,6 @@
  */
 package com.gargoylesoftware.htmlunit.javascript.host.event;
 
-import static com.gargoylesoftware.htmlunit.BrowserRunner.TestedBrowser.FF;
 import static com.gargoylesoftware.htmlunit.BrowserRunner.TestedBrowser.IE;
 
 import org.junit.Test;
@@ -742,10 +741,9 @@
      */
     @Test
     @Alerts(DEFAULT = {"activeElement BODY"},
-            FF = {"activeElement BODY", "focus #document", "handler: activeElement BODY"},
             IE = {"activeElement BODY", "focus BODY", "handler: activeElement BODY"})
     // http://code.google.com/p/selenium/issues/detail?id=4665
-    @NotYetImplemented({FF, IE})
+    @NotYetImplemented(IE)
     public void document_focus() throws Exception {
         final String html = "<html>\n"
                 + "<head>\n"


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.