[HtmlUnit] SVN: [14136] trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/ WebDriverTestCase.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: [14136] trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/ WebDriverTestCase.java

rbri
Revision: 14136
          http://sourceforge.net/p/htmlunit/code/14136
Author:   rbri
Date:     2017-04-17 14:53:55 +0000 (Mon, 17 Apr 2017)
Log Message:
-----------
start working on our IE test suite

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 2017-04-17 10:07:00 UTC (rev 14135)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/WebDriverTestCase.java 2017-04-17 14:53:55 UTC (rev 14136)
@@ -1027,6 +1027,11 @@
                     // handling of alerts requires some time
                     // at least for tests with many alerts we have to take this into account
                     maxWait += 100;
+
+                    if (useRealBrowser() && getBrowserVersion().isIE()) {
+                        // alerts for real IE are really slow
+                        maxWait += 5000;
+                    }
                 }
                 catch (final NoAlertPresentException e) {
                     Thread.sleep(10);


------------------------------------------------------------------------------
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...