From 83944dc6418c6a1c5a36091f582b3e7a4d7e9de8 Mon Sep 17 00:00:00 2001 From: Dario Date: Wed, 1 May 2024 11:49:14 +0200 Subject: [PATCH] fix: reverted commits Co-authored-by: Gonzalo Suarez Losada Co-authored-by: Jorge Gancedo --- webapp/e2e/steps/about.steps.js | 6 +++--- .../about_positive_logged_user_seeing_about_screen.steps.js | 6 +++--- ...ut_positive_non_logged_user_seeing_about_screen.steps.js | 6 +++--- webapp/e2e/steps/login_positive.steps.js | 6 +++--- .../steps/login_register_negative_bad_email_format.steps.js | 6 +++--- ...login_register_negative_blank_email_credentials.steps.js | 6 +++--- ...in_register_negative_blank_password_credentials.steps.js | 6 +++--- .../login_register_negative_incorrect_credentials.steps.js | 6 +++--- webapp/e2e/steps/logout_positive_logged_user.steps.js | 6 +++--- webapp/e2e/steps/logout_positive_non_logged_user.steps.js | 6 +++--- webapp/e2e/steps/playing_full_game_positive.steps.js | 6 +++--- .../steps/playing_game_negative_non_logged_user.steps.js | 6 +++--- webapp/e2e/steps/register_negative_blank_password.steps.js | 6 +++--- .../register_negative_blank_repeated_password.steps.js | 6 +++--- webapp/e2e/steps/register_negative_blank_username.steps.js | 6 +++--- .../register_negative_email_already_in_use_form.steps.js | 6 +++--- .../register_negative_username_already_in_use_form.steps.js | 6 +++--- .../e2e/steps/register_negative_wrong_email_format.steps.js | 6 +++--- webapp/e2e/steps/register_positive_form.steps.js | 6 +++--- .../steps/seeing_rules_negative_non_logged_user.steps.js | 6 +++--- webapp/e2e/steps/seeing_rules_positive.steps.js | 6 +++--- .../steps/seeing_stats_negative_non_logged_user.steps.js | 6 +++--- webapp/e2e/steps/seeing_stats_positive.steps.js | 6 +++--- 23 files changed, 69 insertions(+), 69 deletions(-) diff --git a/webapp/e2e/steps/about.steps.js b/webapp/e2e/steps/about.steps.js index 539acd97..4730db3a 100644 --- a/webapp/e2e/steps/about.steps.js +++ b/webapp/e2e/steps/about.steps.js @@ -54,7 +54,7 @@ defineFeature(feature, test => { }); }); - afterAll(async (done) => { - await browser.close(); - }); + afterAll((done) => { + done(); + }); }); \ 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 2847a5ed..311d0908 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,7 @@ defineFeature(feature, test => { }); }, 600000); - afterAll(async (done) => { - await browser.close(); - }); + afterAll((done) => { + done(); + }); }); \ 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 672c3a58..9072d93f 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,7 @@ defineFeature(feature, test => { }); }, 600000); - afterAll(async (done) => { - await browser.close(); - }); + afterAll((done) => { + done(); + }); }); \ 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 bcfaccc2..7a9a4678 100644 --- a/webapp/e2e/steps/login_positive.steps.js +++ b/webapp/e2e/steps/login_positive.steps.js @@ -72,7 +72,7 @@ defineFeature(feature, test => { }); }, 600000); - afterAll(async (done) => { - await browser.close(); - }); + afterAll((done) => { + done(); + }); }); \ 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 8cb5ce4a..7df25a3b 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,7 @@ defineFeature(feature, test => { }); }, 600000); - afterAll(async (done) => { - await browser.close(); - }); + afterAll((done) => { + done(); + }); }); \ 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 decfe4b7..077730cf 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,7 @@ defineFeature(feature, test => { }); }, 600000); - afterAll(async (done) => { - await browser.close(); - }); + afterAll((done) => { + done(); + }); }); \ 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 c41eae26..ea59247b 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,7 @@ defineFeature(feature, test => { }); }, 600000); - afterAll(async (done) => { - await browser.close(); - }); + afterAll((done) => { + done(); + }); }); \ 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 553a307a..3f1cddfc 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,7 @@ defineFeature(feature, test => { }); }, 600000); - afterAll(async (done) => { - await browser.close(); - }); + afterAll((done) => { + done(); + }); }); \ 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 fc7b7d57..f953de75 100644 --- a/webapp/e2e/steps/logout_positive_logged_user.steps.js +++ b/webapp/e2e/steps/logout_positive_logged_user.steps.js @@ -73,7 +73,7 @@ defineFeature(feature, test => { }); }, 600000); - afterAll(async (done) => { - await browser.close(); - }); + afterAll((done) => { + done(); + }); }); \ 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 9adc9f41..508d3c73 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,7 @@ defineFeature(feature, test => { }); }, 600000); - afterAll(async (done) => { - await browser.close(); - }); + afterAll((done) => { + done(); + }); }); \ 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 11e1861c..98567029 100644 --- a/webapp/e2e/steps/playing_full_game_positive.steps.js +++ b/webapp/e2e/steps/playing_full_game_positive.steps.js @@ -341,7 +341,7 @@ defineFeature(feature, test => { }, TEST_TIMEOUT); - afterAll(async (done) => { - await browser.close(); - }); + afterAll((done) => { + done(); + }); }); \ 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 c8a99806..a644b5a7 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,7 @@ defineFeature(feature, test => { }); }, 600000); - afterAll(async (done) => { - await browser.close(); - }); + afterAll((done) => { + done(); + }); }); \ 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 4017ab92..5977074a 100644 --- a/webapp/e2e/steps/register_negative_blank_password.steps.js +++ b/webapp/e2e/steps/register_negative_blank_password.steps.js @@ -69,7 +69,7 @@ defineFeature(feature, test => { }); }, 600000); - afterAll(async (done) => { - await browser.close(); - }); + afterAll((done) => { + done(); + }); }); \ 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 94268975..96349b77 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,7 @@ defineFeature(feature, test => { }); }, 600000); - afterAll(async (done) => { - await browser.close(); - }); + afterAll((done) => { + done(); + }); }); \ 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 a913b0a0..fa8d7e29 100644 --- a/webapp/e2e/steps/register_negative_blank_username.steps.js +++ b/webapp/e2e/steps/register_negative_blank_username.steps.js @@ -59,7 +59,7 @@ defineFeature(feature, test => { }); }, 600000); - afterAll(async (done) => { - await browser.close(); - }); + afterAll((done) => { + done(); + }); }); \ 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 b7f70439..8cd00a7b 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,7 @@ defineFeature(feature, test => { }); }, 600000); - afterAll(async (done) => { - await browser.close(); - }); + afterAll((done) => { + done(); + }); }); \ 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 f0ad4b18..68e4971d 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,7 @@ defineFeature(feature, test => { }); }, 600000); - afterAll(async (done) => { - await browser.close(); - }); + afterAll((done) => { + done(); + }); }); \ 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 1bfd75f8..18ad8805 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,7 @@ defineFeature(feature, test => { }); }, 600000); - afterAll(async (done) => { - await browser.close(); - }); + afterAll((done) => { + done(); + }); }); \ 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 e95c076f..ccb366e9 100644 --- a/webapp/e2e/steps/register_positive_form.steps.js +++ b/webapp/e2e/steps/register_positive_form.steps.js @@ -69,7 +69,7 @@ defineFeature(feature, test => { }); }, 600000); - afterAll(async (done) => { - await browser.close(); - }); + afterAll((done) => { + done(); + }); }); \ 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 8d50a548..71dcbc2c 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,7 @@ defineFeature(feature, test => { }); }, 600000); - afterAll(async (done) => { - await browser.close(); - }); + afterAll((done) => { + done(); + }); }); \ 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 b5af1e6a..05bd5159 100644 --- a/webapp/e2e/steps/seeing_rules_positive.steps.js +++ b/webapp/e2e/steps/seeing_rules_positive.steps.js @@ -73,7 +73,7 @@ defineFeature(feature, test => { }); }, 600000); - afterAll(async (done) => { - await browser.close(); - }); + afterAll((done) => { + done(); + }); }); \ 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 45ecf088..1a97a1cc 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,7 @@ defineFeature(feature, test => { }); }, 600000); - afterAll(async (done) => { - await browser.close(); - }); + afterAll((done) => { + done(); + }); }); \ 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 4ea122e1..7db3e127 100644 --- a/webapp/e2e/steps/seeing_stats_positive.steps.js +++ b/webapp/e2e/steps/seeing_stats_positive.steps.js @@ -74,7 +74,7 @@ defineFeature(feature, test => { }); }, 600000); - afterAll(async (done) => { - await browser.close(); - }); + afterAll((done) => { + done(); + }); }); \ No newline at end of file