diff --git a/webapp/e2e/steps/about.steps.js b/webapp/e2e/steps/about.steps.js index 4730db3a..a20e1af2 100644 --- a/webapp/e2e/steps/about.steps.js +++ b/webapp/e2e/steps/about.steps.js @@ -54,7 +54,8 @@ defineFeature(feature, test => { }); }); - afterAll((done) => { + afterAll(async (done) => {ç done(); - }); + await browser.close(); + }); }); \ No newline at end of file diff --git a/webapp/e2e/steps/about_positive_logged_user_seeing_about_screen.steps.js b/webapp/e2e/steps/about_positive_logged_user_seeing_about_screen.steps.js index 311d0908..d1aae0d5 100644 --- a/webapp/e2e/steps/about_positive_logged_user_seeing_about_screen.steps.js +++ b/webapp/e2e/steps/about_positive_logged_user_seeing_about_screen.steps.js @@ -56,7 +56,8 @@ defineFeature(feature, test => { }); }, 600000); - afterAll((done) => { + afterAll(async (done) => {ç done(); - }); + await browser.close(); + }); }); \ No newline at end of file diff --git a/webapp/e2e/steps/about_positive_non_logged_user_seeing_about_screen.steps.js b/webapp/e2e/steps/about_positive_non_logged_user_seeing_about_screen.steps.js index 9072d93f..2486835d 100644 --- a/webapp/e2e/steps/about_positive_non_logged_user_seeing_about_screen.steps.js +++ b/webapp/e2e/steps/about_positive_non_logged_user_seeing_about_screen.steps.js @@ -47,7 +47,8 @@ defineFeature(feature, test => { }); }, 600000); - afterAll((done) => { + afterAll(async (done) => {ç done(); - }); + await browser.close(); + }); }); \ No newline at end of file diff --git a/webapp/e2e/steps/login_positive.steps.js b/webapp/e2e/steps/login_positive.steps.js index 7a9a4678..d5e7dc47 100644 --- a/webapp/e2e/steps/login_positive.steps.js +++ b/webapp/e2e/steps/login_positive.steps.js @@ -72,7 +72,8 @@ defineFeature(feature, test => { }); }, 600000); - afterAll((done) => { - done(); - }); + afterAll(async (done) => {ç + done(); + await browser.close(); + }); }); \ No newline at end of file diff --git a/webapp/e2e/steps/login_register_negative_bad_email_format.steps.js b/webapp/e2e/steps/login_register_negative_bad_email_format.steps.js index 7df25a3b..c59e1d14 100644 --- a/webapp/e2e/steps/login_register_negative_bad_email_format.steps.js +++ b/webapp/e2e/steps/login_register_negative_bad_email_format.steps.js @@ -73,7 +73,8 @@ defineFeature(feature, test => { }); }, 600000); - afterAll((done) => { - done(); - }); + afterAll(async (done) => {ç + done(); + await browser.close(); + }); }); \ No newline at end of file diff --git a/webapp/e2e/steps/login_register_negative_blank_email_credentials.steps.js b/webapp/e2e/steps/login_register_negative_blank_email_credentials.steps.js index 077730cf..603c6b55 100644 --- a/webapp/e2e/steps/login_register_negative_blank_email_credentials.steps.js +++ b/webapp/e2e/steps/login_register_negative_blank_email_credentials.steps.js @@ -73,7 +73,8 @@ defineFeature(feature, test => { }); }, 600000); - afterAll((done) => { - done(); - }); + afterAll(async (done) => {ç + done(); + await browser.close(); + }); }); \ No newline at end of file diff --git a/webapp/e2e/steps/login_register_negative_blank_password_credentials.steps.js b/webapp/e2e/steps/login_register_negative_blank_password_credentials.steps.js index ea59247b..cde79d47 100644 --- a/webapp/e2e/steps/login_register_negative_blank_password_credentials.steps.js +++ b/webapp/e2e/steps/login_register_negative_blank_password_credentials.steps.js @@ -73,7 +73,8 @@ defineFeature(feature, test => { }); }, 600000); - afterAll((done) => { - done(); - }); + afterAll(async (done) => {ç + done(); + await browser.close(); + }); }); \ No newline at end of file diff --git a/webapp/e2e/steps/login_register_negative_incorrect_credentials.steps.js b/webapp/e2e/steps/login_register_negative_incorrect_credentials.steps.js index 3f1cddfc..366eaa1f 100644 --- a/webapp/e2e/steps/login_register_negative_incorrect_credentials.steps.js +++ b/webapp/e2e/steps/login_register_negative_incorrect_credentials.steps.js @@ -73,7 +73,8 @@ defineFeature(feature, test => { }); }, 600000); - afterAll((done) => { - done(); - }); + afterAll(async (done) => {ç + done(); + await browser.close(); + }); }); \ No newline at end of file diff --git a/webapp/e2e/steps/logout_positive_logged_user.steps.js b/webapp/e2e/steps/logout_positive_logged_user.steps.js index f953de75..eafe87e1 100644 --- a/webapp/e2e/steps/logout_positive_logged_user.steps.js +++ b/webapp/e2e/steps/logout_positive_logged_user.steps.js @@ -73,7 +73,8 @@ defineFeature(feature, test => { }); }, 600000); - afterAll((done) => { - done(); - }); + afterAll(async (done) => {ç + done(); + await browser.close(); + }); }); \ No newline at end of file diff --git a/webapp/e2e/steps/logout_positive_non_logged_user.steps.js b/webapp/e2e/steps/logout_positive_non_logged_user.steps.js index 508d3c73..ce7534d1 100644 --- a/webapp/e2e/steps/logout_positive_non_logged_user.steps.js +++ b/webapp/e2e/steps/logout_positive_non_logged_user.steps.js @@ -59,7 +59,8 @@ defineFeature(feature, test => { }); }, 600000); - afterAll((done) => { - done(); - }); + afterAll(async (done) => {ç + done(); + await browser.close(); + }); }); \ No newline at end of file diff --git a/webapp/e2e/steps/playing_full_game_positive.steps.js b/webapp/e2e/steps/playing_full_game_positive.steps.js index 98567029..3aa80812 100644 --- a/webapp/e2e/steps/playing_full_game_positive.steps.js +++ b/webapp/e2e/steps/playing_full_game_positive.steps.js @@ -341,7 +341,8 @@ defineFeature(feature, test => { }, TEST_TIMEOUT); - afterAll((done) => { - done(); - }); + afterAll(async (done) => {ç + done(); + await browser.close(); + }); }); \ No newline at end of file diff --git a/webapp/e2e/steps/playing_game_negative_non_logged_user.steps.js b/webapp/e2e/steps/playing_game_negative_non_logged_user.steps.js index a644b5a7..f430281e 100644 --- a/webapp/e2e/steps/playing_game_negative_non_logged_user.steps.js +++ b/webapp/e2e/steps/playing_game_negative_non_logged_user.steps.js @@ -56,7 +56,8 @@ defineFeature(feature, test => { }); }, 600000); - afterAll((done) => { - done(); - }); + afterAll(async (done) => {ç + done(); + await browser.close(); + }); }); \ No newline at end of file diff --git a/webapp/e2e/steps/register_negative_blank_password.steps.js b/webapp/e2e/steps/register_negative_blank_password.steps.js index 5977074a..8fca5852 100644 --- a/webapp/e2e/steps/register_negative_blank_password.steps.js +++ b/webapp/e2e/steps/register_negative_blank_password.steps.js @@ -69,7 +69,8 @@ defineFeature(feature, test => { }); }, 600000); - afterAll((done) => { + afterAll(async (done) => {ç done(); - }); + await browser.close(); + }); }); \ No newline at end of file diff --git a/webapp/e2e/steps/register_negative_blank_repeated_password.steps.js b/webapp/e2e/steps/register_negative_blank_repeated_password.steps.js index 96349b77..beea8006 100644 --- a/webapp/e2e/steps/register_negative_blank_repeated_password.steps.js +++ b/webapp/e2e/steps/register_negative_blank_repeated_password.steps.js @@ -69,7 +69,8 @@ defineFeature(feature, test => { }); }, 600000); - afterAll((done) => { + afterAll(async (done) => {ç done(); - }); + await browser.close(); + }); }); \ No newline at end of file diff --git a/webapp/e2e/steps/register_negative_blank_username.steps.js b/webapp/e2e/steps/register_negative_blank_username.steps.js index fa8d7e29..5c8f47b8 100644 --- a/webapp/e2e/steps/register_negative_blank_username.steps.js +++ b/webapp/e2e/steps/register_negative_blank_username.steps.js @@ -59,7 +59,8 @@ defineFeature(feature, test => { }); }, 600000); - afterAll((done) => { + afterAll(async (done) => {ç done(); - }); + await browser.close(); + }); }); \ No newline at end of file diff --git a/webapp/e2e/steps/register_negative_email_already_in_use_form.steps.js b/webapp/e2e/steps/register_negative_email_already_in_use_form.steps.js index 8cd00a7b..d4f50c33 100644 --- a/webapp/e2e/steps/register_negative_email_already_in_use_form.steps.js +++ b/webapp/e2e/steps/register_negative_email_already_in_use_form.steps.js @@ -66,7 +66,8 @@ defineFeature(feature, test => { }); }, 600000); - afterAll((done) => { + afterAll(async (done) => {ç done(); - }); + await browser.close(); + }); }); \ No newline at end of file diff --git a/webapp/e2e/steps/register_negative_username_already_in_use_form.steps.js b/webapp/e2e/steps/register_negative_username_already_in_use_form.steps.js index 68e4971d..ac2816cf 100644 --- a/webapp/e2e/steps/register_negative_username_already_in_use_form.steps.js +++ b/webapp/e2e/steps/register_negative_username_already_in_use_form.steps.js @@ -59,7 +59,8 @@ defineFeature(feature, test => { }); }, 600000); - afterAll((done) => { + afterAll(async (done) => {ç done(); - }); + await browser.close(); + }); }); \ No newline at end of file diff --git a/webapp/e2e/steps/register_negative_wrong_email_format.steps.js b/webapp/e2e/steps/register_negative_wrong_email_format.steps.js index 18ad8805..f4dc44d6 100644 --- a/webapp/e2e/steps/register_negative_wrong_email_format.steps.js +++ b/webapp/e2e/steps/register_negative_wrong_email_format.steps.js @@ -69,7 +69,8 @@ defineFeature(feature, test => { }); }, 600000); - afterAll((done) => { + afterAll(async (done) => {ç done(); - }); + await browser.close(); + }); }); \ No newline at end of file diff --git a/webapp/e2e/steps/register_positive_form.steps.js b/webapp/e2e/steps/register_positive_form.steps.js index ccb366e9..4bf1030d 100644 --- a/webapp/e2e/steps/register_positive_form.steps.js +++ b/webapp/e2e/steps/register_positive_form.steps.js @@ -69,7 +69,8 @@ defineFeature(feature, test => { }); }, 600000); - afterAll((done) => { + afterAll(async (done) => {ç done(); - }); + await browser.close(); + }); }); \ No newline at end of file diff --git a/webapp/e2e/steps/seeing_rules_negative_non_logged_user.steps.js b/webapp/e2e/steps/seeing_rules_negative_non_logged_user.steps.js index 71dcbc2c..9f91c054 100644 --- a/webapp/e2e/steps/seeing_rules_negative_non_logged_user.steps.js +++ b/webapp/e2e/steps/seeing_rules_negative_non_logged_user.steps.js @@ -58,7 +58,8 @@ defineFeature(feature, test => { }); }, 600000); - afterAll((done) => { - done(); - }); + afterAll(async (done) => {ç + done(); + await browser.close(); + }); }); \ No newline at end of file diff --git a/webapp/e2e/steps/seeing_rules_positive.steps.js b/webapp/e2e/steps/seeing_rules_positive.steps.js index 05bd5159..d11ef256 100644 --- a/webapp/e2e/steps/seeing_rules_positive.steps.js +++ b/webapp/e2e/steps/seeing_rules_positive.steps.js @@ -73,7 +73,8 @@ defineFeature(feature, test => { }); }, 600000); - afterAll((done) => { - done(); - }); + afterAll(async (done) => {ç + done(); + await browser.close(); + }); }); \ No newline at end of file diff --git a/webapp/e2e/steps/seeing_stats_negative_non_logged_user.steps.js b/webapp/e2e/steps/seeing_stats_negative_non_logged_user.steps.js index 1a97a1cc..f76452d3 100644 --- a/webapp/e2e/steps/seeing_stats_negative_non_logged_user.steps.js +++ b/webapp/e2e/steps/seeing_stats_negative_non_logged_user.steps.js @@ -59,7 +59,8 @@ defineFeature(feature, test => { }); }, 600000); - afterAll((done) => { - done(); - }); + afterAll(async (done) => {ç + done(); + await browser.close(); + }); }); \ No newline at end of file diff --git a/webapp/e2e/steps/seeing_stats_positive.steps.js b/webapp/e2e/steps/seeing_stats_positive.steps.js index 7db3e127..ef807fb7 100644 --- a/webapp/e2e/steps/seeing_stats_positive.steps.js +++ b/webapp/e2e/steps/seeing_stats_positive.steps.js @@ -74,7 +74,8 @@ defineFeature(feature, test => { }); }, 600000); - afterAll((done) => { - done(); - }); + afterAll(async (done) => {ç + done(); + await browser.close(); + }); }); \ No newline at end of file