test(timing): relax mac/webkit expectations (#4217)

This commit is contained in:
Pavel Feldman 2020-10-23 12:38:32 -07:00 committed by GitHub
parent b3b46db560
commit 14f069eac6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,8 +73,8 @@ it('should work for SSL', async ({ browser, httpsServer, isMac, isWebKit }) => {
expect(timing.connectStart).toBeGreaterThanOrEqual(timing.domainLookupEnd); expect(timing.connectStart).toBeGreaterThanOrEqual(timing.domainLookupEnd);
expect(timing.secureConnectionStart).toBeGreaterThan(timing.connectStart); expect(timing.secureConnectionStart).toBeGreaterThan(timing.connectStart);
expect(timing.connectEnd).toBeGreaterThan(timing.secureConnectionStart); 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.responseStart).toBeGreaterThan(timing.requestStart);
expect(timing.responseEnd).toBeGreaterThanOrEqual(timing.responseStart); expect(timing.responseEnd).toBeGreaterThanOrEqual(timing.responseStart);
expect(timing.responseEnd).toBeLessThan(10000); expect(timing.responseEnd).toBeLessThan(10000);