diff --git a/webapp/e2e/refactor.ts b/webapp/e2e/refactor.ts index 4672421..a9dc1b7 100644 --- a/webapp/e2e/refactor.ts +++ b/webapp/e2e/refactor.ts @@ -4,7 +4,7 @@ let page: puppeteer.Page; let browser: puppeteer.Browser; export async function login() { - jest.setTimeout(30000); + jest.setTimeout(60000); let u: string; let p: string; diff --git a/webapp/e2e/steps/add-address.ts b/webapp/e2e/steps/add-address.ts index 0e21d9a..374c05a 100644 --- a/webapp/e2e/steps/add-address.ts +++ b/webapp/e2e/steps/add-address.ts @@ -25,6 +25,7 @@ defineFeature(feature, test => { }); when('They change their address in their profile', async () => { + jest.setTimeout(60000); await loginAndAddToCart(url); //Add address diff --git a/webapp/e2e/steps/buy-item.steps.ts b/webapp/e2e/steps/buy-item.steps.ts index 86e321e..6d17879 100644 --- a/webapp/e2e/steps/buy-item.steps.ts +++ b/webapp/e2e/steps/buy-item.steps.ts @@ -26,6 +26,7 @@ defineFeature(feature, test => { when('They buy it', async () => { await page.setCacheEnabled(false); + jest.setTimeout(60000); await loginAndAddToCart(url); await new Promise(r => setTimeout(r, 2000)); await page.goto(url + "shipping");