[prev in list] [next in list] [prev in thread] [next in thread] 

List:       htmlunit-develop
Subject:    Re: [HtmlUnit] SVN: [11328] trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/
From:       "Ronald Brill" <rbri () rbri ! de>
Date:       2015-09-29 8:10:40
Message-ID: 000.c8f00a0080470a56.003 () rbri ! de
[Download RAW message or body]

Had this problems while running a complete retest with the latest chrome and ff38 \
versions. A possible sample test cases is HtmlAnchor2Test. Or more general every test \
class that includes a test that ends with more than one browser window open. While \
running the whole suite i had a lot of these.

I think we should do our own hack and skip the call for Edge.

BTW: Looks like you are on the finish lane for Nashorn...Do you already have an idea \
about the performance?

	RBRi

On Tue, 29 Sep 2015 08:00:07 +0000 (UTC) Ahmed Ashour wrote:
> 
> Hi Ronald,
> FYI, this line was there before, and for EdgeDriver I removed it in \
> https://sourceforge.net/p/htmlunit/code/11251#diff-23 What real browser did you try \
> with? and in which test case, so I can check as well? We may need to report a bug \
> to Selenium, or we check if it EdgeDriver or not. Thanks,Ahmed      From: \
>                 "rbri@users.sourceforge.net" <rbri@users.sourceforge.net>
> To: htmlunit-develop@lists.sourceforge.net 
> Sent: Tuesday, September 29, 2015 9:51 AM
> Subject: [HtmlUnit] SVN: [11328] \
> trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/ WebDriverTestCase.java 
> Revision: 11328
> http://sourceforge.net/p/htmlunit/code/11328
> Author:  rbri
> Date:    2015-09-29 07:51:47 +0000 (Tue, 29 Sep 2015)
> Log Message:
> -----------
> make our test suite more robust when running with real browsers
> 
> Modified Paths:
> --------------
> trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/WebDriverTestCase.java
> 
> Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/WebDriverTestCase.java
>  ===================================================================
> --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/WebDriverTestCase.java \
>                 2015-09-29 07:06:19 UTC (rev 11327)
> +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/WebDriverTestCase.java \
> 2015-09-29 07:51:47 UTC (rev 11328) @@ -935,6 +935,11 @@
> }
> }
> 
> +            // we have to force webdriver to treat the remaining window
> +            // as the one we like to work with from now on
> +            // looks like a web driver issue to me (version 2.47.2)
> +            driver.switchTo().window(currentWindow);
> +
> driver.manage().deleteAllCookies();
> 
> // in the remaining window, load a blank page
> 
> 
> 
> 
> 
> ----< Inline text [text-plain-04.txt] >------------------
> 
> ------------------------------------------------------------------------------
> 
> 
> 
> ----< Inline text [text-plain-05.txt] >------------------
> 
> _______________________________________________
> HtmlUnit-develop mailing list
> HtmlUnit-develop@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/htmlunit-develop
> 
> 


------------------------------------------------------------------------------
_______________________________________________
HtmlUnit-develop mailing list
HtmlUnit-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/htmlunit-develop


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic