Skip to content

Commit

Permalink
Added Even more Waiting time
Browse files Browse the repository at this point in the history
  • Loading branch information
lumialfe committed May 2, 2022
1 parent 978fb51 commit 3c0f0a3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/e2e/refactor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions webapp/e2e/steps/add-address.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ defineFeature(feature, test => {
});

when('They change their address in their profile', async () => {
jest.setTimeout(60000);
await loginAndAddToCart(url);

//Add address
Expand Down
1 change: 1 addition & 0 deletions webapp/e2e/steps/buy-item.steps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 3c0f0a3

Please sign in to comment.