diff --git a/script/actions_utils/pytest_failed_test_report.py b/script/actions_utils/pytest_failed_test_report.py index 2ed6301ad6..add42f574a 100755 --- a/script/actions_utils/pytest_failed_test_report.py +++ b/script/actions_utils/pytest_failed_test_report.py @@ -19,10 +19,11 @@ def write_failed_tests_comment(failed_tests_comment_path: Path, failed_tests_rep # Write the comment's title and main header if failed_tests_report["all_failed_tests_are_flaky"]: - f.write("## :warning: Known flaky tests have been re-run :warning:\n\n") + f.write("## :warning: Known flaky tests have been rerun :warning:\n\n") failed_tests_header = ( - "One or several tests initially failed but were detected as known flaky tests. " - "They therefore have been re-run and passed. See below for more details.\n\n" + "One or several tests initially failed but were identified as known flaky. " + "tests. Therefore, they have been rerun and passed. See below for more " + "details.\n\n" ) else: f.write("## ❌ Some tests failed after re-run ❌\n\n")