diff --git a/services/test_results.py b/services/test_results.py index 384deb1cd..fb882eed5 100644 --- a/services/test_results.py +++ b/services/test_results.py @@ -211,7 +211,7 @@ def generate_failure_info( def generate_view_test_analytics_line(commit: Commit) -> str: repo = commit.repository test_analytics_url = get_test_analytics_url(repo, commit) - return f"\nTo view more test analytics, go to the [Test Analytics Dashboard]({test_analytics_url})\n:loudspeaker: Thoughts on this report? [Let us know!](https://github.com/codecov/feedback/issues/304)" + return f"\nTo view more test analytics, go to the [Test Analytics Dashboard]({test_analytics_url})\n" def messagify_failure( diff --git a/services/tests/test_test_results.py b/services/tests/test_test_results.py index 405a315a5..8974ff003 100644 --- a/services/tests/test_test_results.py +++ b/services/tests/test_test_results.py @@ -147,8 +147,7 @@ def test_build_message(): -To view more test analytics, go to the [Test Analytics Dashboard](https://app.codecov.io/{services_short_dict.get(commit.repository.service)}/{commit.repository.owner.username}/{commit.repository.name}/tests/thing%2Fthing) -:loudspeaker: Thoughts on this report? [Let us know!](https://github.com/codecov/feedback/issues/304)""" +To view more test analytics, go to the [Test Analytics Dashboard](https://app.codecov.io/{services_short_dict.get(commit.repository.service)}/{commit.repository.owner.username}/{commit.repository.name}/tests/thing%2Fthing)""" ) @@ -197,8 +196,7 @@ def test_build_message_with_flake(): -To view more test analytics, go to the [Test Analytics Dashboard](https://app.codecov.io/{services_short_dict.get(commit.repository.service)}/{commit.repository.owner.username}/{commit.repository.name}/tests/{commit.branch}) -:loudspeaker: Thoughts on this report? [Let us know!](https://github.com/codecov/feedback/issues/304)""" +To view more test analytics, go to the [Test Analytics Dashboard](https://app.codecov.io/{services_short_dict.get(commit.repository.service)}/{commit.repository.owner.username}/{commit.repository.name}/tests/{commit.branch})""" ) diff --git a/tasks/tests/unit/test_ta_finisher_task.py b/tasks/tests/unit/test_ta_finisher_task.py index e4464bdee..105c51741 100644 --- a/tasks/tests/unit/test_ta_finisher_task.py +++ b/tasks/tests/unit/test_ta_finisher_task.py @@ -305,6 +305,5 @@ def test_test_analytics( -To view more test analytics, go to the [Test Analytics Dashboard](https://app.codecov.io/{short_form_service_name}/{upload.report.commit.repository.owner.username}/{upload.report.commit.repository.name}/tests/{upload.report.commit.branch}) -:loudspeaker: Thoughts on this report? [Let us know!](https://github.com/codecov/feedback/issues/304)""", +To view more test analytics, go to the [Test Analytics Dashboard](https://app.codecov.io/{short_form_service_name}/{upload.report.commit.repository.owner.username}/{upload.report.commit.repository.name}/tests/{upload.report.commit.branch})""", ) diff --git a/tasks/tests/unit/test_test_results_finisher.py b/tasks/tests/unit/test_test_results_finisher.py index fa32e5366..1626c98fb 100644 --- a/tasks/tests/unit/test_test_results_finisher.py +++ b/tasks/tests/unit/test_test_results_finisher.py @@ -453,8 +453,7 @@ def test_upload_finisher_task_call( -To view more test analytics, go to the [Test Analytics Dashboard](https://app.codecov.io/gh/test-username/test-repo-name/tests/main) -:loudspeaker: Thoughts on this report? [Let us know!](https://github.com/codecov/feedback/issues/304)""", +To view more test analytics, go to the [Test Analytics Dashboard](https://app.codecov.io/gh/test-username/test-repo-name/tests/main)""", ) @pytest.mark.integration @@ -766,8 +765,7 @@ def test_upload_finisher_task_call_existing_comment( -To view more test analytics, go to the [Test Analytics Dashboard](https://app.codecov.io/gh/test-username/test-repo-name/tests/main) -:loudspeaker: Thoughts on this report? [Let us know!](https://github.com/codecov/feedback/issues/304)""", +To view more test analytics, go to the [Test Analytics Dashboard](https://app.codecov.io/gh/test-username/test-repo-name/tests/main)""", ) assert expected_result == result @@ -927,8 +925,7 @@ def test_upload_finisher_task_call_with_flaky( -To view more test analytics, go to the [Test Analytics Dashboard](https://app.codecov.io/gh/test-username/test-repo-name/tests/main) -:loudspeaker: Thoughts on this report? [Let us know!](https://github.com/codecov/feedback/issues/304)""", +To view more test analytics, go to the [Test Analytics Dashboard](https://app.codecov.io/gh/test-username/test-repo-name/tests/main)""", ) @pytest.mark.integration @@ -1100,8 +1097,7 @@ def test_upload_finisher_task_call_computed_name( -To view more test analytics, go to the [Test Analytics Dashboard](https://app.codecov.io/gh/test-username/test-repo-name/tests/main) -:loudspeaker: Thoughts on this report? [Let us know!](https://github.com/codecov/feedback/issues/304)""", +To view more test analytics, go to the [Test Analytics Dashboard](https://app.codecov.io/gh/test-username/test-repo-name/tests/main)""", ) @pytest.mark.integration