From d1c0b93319ba001d6a413387fc99a6d14f5274ab Mon Sep 17 00:00:00 2001 From: HJetpoluru Date: Wed, 18 Sep 2024 14:04:47 -0400 Subject: [PATCH] Changed the order of the report --- test/e2e/helpers.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/e2e/helpers.js b/test/e2e/helpers.js index 15fc5eff1ade..cf337b84e8f5 100644 --- a/test/e2e/helpers.js +++ b/test/e2e/helpers.js @@ -229,10 +229,6 @@ async function withFixtures(options, testSuite) { throw new Error(errorsAndExceptions); } - // At this point the suite has executed successfully, so we can log out a success message - // (Note: a Chrome browser error will unfortunately pop up after this success message) - console.log(`\nSuccess on testcase: '${title}'\n`); - // Evaluate whether any new hosts received network requests during E2E test // suite execution. If so, fail the test unless the // --update-privacy-snapshot was specified. In that case, update the @@ -271,6 +267,10 @@ async function withFixtures(options, testSuite) { ); } } + + // At this point the suite has executed successfully, so we can log out a success message + // (Note: a Chrome browser error will unfortunately pop up after this success message) + console.log(`\nSuccess on testcase: '${title}'\n`); } catch (error) { failed = true; if (webDriver) {