AsynchPeopleTest compiling against HtmlUnit 2.17

This commit is contained in:
tfennelly committed 2015-08-24 19:09:46 +01:00
1 parent dc1e420886
commit fc557968d2
1 file changed
+2 -2
@@ -25,7 +25,7 @@
package hudson.model;
import com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException;
import com.gargoylesoftware.htmlunit.html.HtmlElement;
import com.gargoylesoftware.htmlunit.html.DomElement;
import com.gargoylesoftware.htmlunit.html.HtmlPage;
import static org.junit.Assert.*;
import org.junit.Rule;
@@ -53,7 +53,7 @@ public class AsynchPeopleTest {
}
assertEquals(0, wc.waitForBackgroundJavaScript(120000));
boolean found = false;
for (HtmlElement table : page.getElementsByTagName("table")) {
for (DomElement table : page.getElementsByTagName("table")) {
if (table.getAttribute("class").contains("progress-bar")) {
found = true;
assertEquals("display: none;", table.getAttribute("style"));