1
0
mirror of synced 2026-08-05 15:06:54 +00:00

tests: unflake wheel test, add more logs (#688)

This commit is contained in:
Yury Semikhatsky
2021-11-02 13:33:43 -07:00
committed by GitHub
parent 2d0d941e18
commit 853b5062e7
2 changed files with 2 additions and 1 deletions
@@ -69,6 +69,7 @@ public class TestPageNetworkSizes extends TestBase {
() -> page.evaluate("async () => fetch('./get').then(r => r.text())"));
request.get();
Sizes sizes = response.request().sizes();
assertEquals("abc134", response.text());
assertEquals(6, sizes.responseBodySize);
assertTrue(sizes.responseHeadersSize > 10);
}
@@ -41,8 +41,8 @@ public class TestWheel extends TestBase {
"shiftKey", false,
"altKey", false,
"metaKey", false);
assertEquals(expected, page.evaluate("window.lastEvent"));
page.waitForFunction("window.scrollY === 100");
assertEquals(expected, page.evaluate("window.lastEvent"));
}
@Test