We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f66c9b1 commit 97fbcd3Copy full SHA for 97fbcd3
test/base/src/main/java/org/eclipse/mojarra/test/base/BaseIT.java
@@ -111,8 +111,9 @@ protected String getHrefURI(WebElement link) {
111
}
112
113
protected void guardHttp(Runnable action) {
114
+ executeScript("window.$http = true");
115
action.run();
- waitUntil(() -> executeScript("return document.readyState=='complete'"));
116
+ waitUntil(() -> executeScript("return !window.$http && document.readyState=='complete'"));
117
118
119
protected void guardAjax(Runnable action) {
0 commit comments