@@ -231,7 +231,7 @@ def test_run_detection_produces_occurrences(self, mock_produce_occurrence_to_kaf
231231 lcp_call = call_args_list [0 ]
232232 lcp_occurrence = lcp_call .kwargs ["occurrence" ]
233233 assert lcp_occurrence .fingerprint == ["d94185e6d794589212c74476702515734b703f86" ]
234- assert lcp_occurrence .issue_title == "Render time Web Vital scores need improvement "
234+ assert lcp_occurrence .issue_title == "The page /home was slow to load and render "
235235 assert (
236236 lcp_occurrence .subtitle == "/home has an LCP score of 0.5 and an FCP score of 0.8"
237237 )
@@ -242,7 +242,9 @@ def test_run_detection_produces_occurrences(self, mock_produce_occurrence_to_kaf
242242 inp_call = call_args_list [1 ]
243243 inp_occurrence = inp_call .kwargs ["occurrence" ]
244244 assert inp_occurrence .fingerprint == ["d8b421cb6e5476121654d1383e80f4515a7f58b9" ]
245- assert inp_occurrence .issue_title == "INP score needs improvement"
245+ assert (
246+ inp_occurrence .issue_title == "The page /home responded slowly to user interactions"
247+ )
246248 assert inp_occurrence .subtitle == "/home has an INP score of 0.85"
247249 inp_event_data = inp_call .kwargs ["event_data" ]
248250 assert inp_event_data ["tags" ]["inp_score" ] == "0.85"
@@ -347,7 +349,7 @@ def test_run_detection_groups_rendering_vitals(self, mock_produce_occurrence_to_
347349 lcp_call = call_args_list [0 ]
348350 lcp_occurrence = lcp_call .kwargs ["occurrence" ]
349351 assert lcp_occurrence .fingerprint == ["d94185e6d794589212c74476702515734b703f86" ]
350- assert lcp_occurrence .issue_title == "Render time Web Vital scores need improvement "
352+ assert lcp_occurrence .issue_title == "The page /home was slow to load and render "
351353 assert (
352354 lcp_occurrence .subtitle
353355 == "/home has an LCP score of 0.5, an FCP score of 0.8 and a TTFB score of 0.6"
0 commit comments