From 14f069eac65a93bcd1ce20501b39a3a57f21d0ab Mon Sep 17 00:00:00 2001 From: Pavel Feldman Date: Fri, 23 Oct 2020 12:38:32 -0700 Subject: [PATCH] test(timing): relax mac/webkit expectations (#4217) --- test/resource-timing.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/resource-timing.spec.ts b/test/resource-timing.spec.ts index 9d06ded4851b7..b06fb0a56ef09 100644 --- a/test/resource-timing.spec.ts +++ b/test/resource-timing.spec.ts @@ -73,8 +73,8 @@ it('should work for SSL', async ({ browser, httpsServer, isMac, isWebKit }) => { expect(timing.connectStart).toBeGreaterThanOrEqual(timing.domainLookupEnd); expect(timing.secureConnectionStart).toBeGreaterThan(timing.connectStart); expect(timing.connectEnd).toBeGreaterThan(timing.secureConnectionStart); + expect(timing.requestStart).toBeGreaterThanOrEqual(timing.connectEnd); } - expect(timing.requestStart).toBeGreaterThanOrEqual(timing.connectEnd); expect(timing.responseStart).toBeGreaterThan(timing.requestStart); expect(timing.responseEnd).toBeGreaterThanOrEqual(timing.responseStart); expect(timing.responseEnd).toBeLessThan(10000);