Skip to content

Commit

Permalink
fix: added browser.close after done
Browse files Browse the repository at this point in the history
Co-authored-by: Gonzalo Suarez Losada <[email protected]>
Co-authored-by: Jorge Gancedo <[email protected]>
  • Loading branch information
Toto-hitori committed May 1, 2024
1 parent 429e0f2 commit e9d57ea
Show file tree
Hide file tree
Showing 23 changed files with 82 additions and 59 deletions.
5 changes: 3 additions & 2 deletions webapp/e2e/steps/about.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ defineFeature(feature, test => {
});
});

afterAll((done) => {
afterAll(async (done) => {ç
done();
});
await browser.close();
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ defineFeature(feature, test => {
});
}, 600000);

afterAll((done) => {
afterAll(async (done) => {ç
done();
});
await browser.close();
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ defineFeature(feature, test => {
});
}, 600000);

afterAll((done) => {
afterAll(async (done) => {ç
done();
});
await browser.close();
});
});
7 changes: 4 additions & 3 deletions webapp/e2e/steps/login_positive.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ defineFeature(feature, test => {
});
}, 600000);

afterAll((done) => {
done();
});
afterAll(async (done) => {ç
done();
await browser.close();
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ defineFeature(feature, test => {
});
}, 600000);

afterAll((done) => {
done();
});
afterAll(async (done) => {ç
done();
await browser.close();
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ defineFeature(feature, test => {
});
}, 600000);

afterAll((done) => {
done();
});
afterAll(async (done) => {ç
done();
await browser.close();
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ defineFeature(feature, test => {
});
}, 600000);

afterAll((done) => {
done();
});
afterAll(async (done) => {ç
done();
await browser.close();
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ defineFeature(feature, test => {
});
}, 600000);

afterAll((done) => {
done();
});
afterAll(async (done) => {ç
done();
await browser.close();
});
});
7 changes: 4 additions & 3 deletions webapp/e2e/steps/logout_positive_logged_user.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ defineFeature(feature, test => {
});
}, 600000);

afterAll((done) => {
done();
});
afterAll(async (done) => {ç
done();
await browser.close();
});
});
7 changes: 4 additions & 3 deletions webapp/e2e/steps/logout_positive_non_logged_user.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ defineFeature(feature, test => {
});
}, 600000);

afterAll((done) => {
done();
});
afterAll(async (done) => {ç
done();
await browser.close();
});
});
7 changes: 4 additions & 3 deletions webapp/e2e/steps/playing_full_game_positive.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,8 @@ defineFeature(feature, test => {

}, TEST_TIMEOUT);

afterAll((done) => {
done();
});
afterAll(async (done) => {ç
done();
await browser.close();
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ defineFeature(feature, test => {
});
}, 600000);

afterAll((done) => {
done();
});
afterAll(async (done) => {ç
done();
await browser.close();
});
});
5 changes: 3 additions & 2 deletions webapp/e2e/steps/register_negative_blank_password.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ defineFeature(feature, test => {
});
}, 600000);

afterAll((done) => {
afterAll(async (done) => {ç
done();
});
await browser.close();
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ defineFeature(feature, test => {
});
}, 600000);

afterAll((done) => {
afterAll(async (done) => {ç
done();
});
await browser.close();
});
});
5 changes: 3 additions & 2 deletions webapp/e2e/steps/register_negative_blank_username.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ defineFeature(feature, test => {
});
}, 600000);

afterAll((done) => {
afterAll(async (done) => {ç
done();
});
await browser.close();
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ defineFeature(feature, test => {
});
}, 600000);

afterAll((done) => {
afterAll(async (done) => {ç
done();
});
await browser.close();
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ defineFeature(feature, test => {
});
}, 600000);

afterAll((done) => {
afterAll(async (done) => {ç
done();
});
await browser.close();
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ defineFeature(feature, test => {
});
}, 600000);

afterAll((done) => {
afterAll(async (done) => {ç
done();
});
await browser.close();
});
});
5 changes: 3 additions & 2 deletions webapp/e2e/steps/register_positive_form.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ defineFeature(feature, test => {
});
}, 600000);

afterAll((done) => {
afterAll(async (done) => {ç
done();
});
await browser.close();
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ defineFeature(feature, test => {
});
}, 600000);

afterAll((done) => {
done();
});
afterAll(async (done) => {ç
done();
await browser.close();
});
});
7 changes: 4 additions & 3 deletions webapp/e2e/steps/seeing_rules_positive.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ defineFeature(feature, test => {
});
}, 600000);

afterAll((done) => {
done();
});
afterAll(async (done) => {ç
done();
await browser.close();
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ defineFeature(feature, test => {
});
}, 600000);

afterAll((done) => {
done();
});
afterAll(async (done) => {ç
done();
await browser.close();
});
});
7 changes: 4 additions & 3 deletions webapp/e2e/steps/seeing_stats_positive.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ defineFeature(feature, test => {
});
}, 600000);

afterAll((done) => {
done();
});
afterAll(async (done) => {ç
done();
await browser.close();
});
});

0 comments on commit e9d57ea

Please sign in to comment.