Skip to content

Commit

Permalink
Changed the order of the report
Browse files Browse the repository at this point in the history
  • Loading branch information
hjetpoluru committed Sep 18, 2024
1 parent 107f8da commit d1c0b93
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/e2e/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit d1c0b93

Please sign in to comment.