Reduce Cypress network timeouts

Now that we drastically sped up our local GraphQL requests, we can comfortably reduce these timeouts from 20sec to 6sec before deciding the test failed! What an exciting improvement :3
This commit is contained in:
Emi Matchu 2021-02-07 00:28:14 -08:00
parent d0e759d12a
commit 170544128e
2 changed files with 4 additions and 6 deletions

View file

@ -1,6 +1,5 @@
// Our local dev server is slow, give it plenty of breathing room!
// (For me, it can often take 10-15 seconds when working correctly.)
const networkTimeout = { timeout: 20000 };
// Give network requests a bit of breathing room!
const networkTimeout = { timeout: 6000 };
describe("ItemSearchPage", () => {
// NOTE: This test depends on specific search results on certain pages, and

View file

@ -1,6 +1,5 @@
// Our local dev server is slow, give it plenty of breathing room!
// (For me, it can often take 10-15 seconds when working correctly.)
const networkTimeout = { timeout: 20000 };
// Give network requests a bit of breathing room!
const networkTimeout = { timeout: 6000 };
describe("WardrobePage: SearchPanel", () => {
// NOTE: This test depends on specific search results on certain pages, and