fix(test): tweak waitForNetworkIdle delay in test between downloads (#7564)

This commit is contained in:
Tom Jenkinson 2021-09-14 13:46:53 +01:00 committed by GitHub
parent ae24bcaf6d
commit a21b7376e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -844,7 +844,7 @@ describe('Page', function () {
]); ]);
await new Promise((resolve) => setTimeout(resolve, 200)); await new Promise((resolve) => setTimeout(resolve, 200));
await fetch('/digits/3.png'); await fetch('/digits/3.png');
await new Promise((resolve) => setTimeout(resolve, 400)); await new Promise((resolve) => setTimeout(resolve, 200));
await fetch('/digits/4.png'); await fetch('/digits/4.png');
})() })()
) )