diff --git a/tests/www/employee_record_views/test_list.py b/tests/www/employee_record_views/test_list.py index b9a59081a6..bb3b7c4f11 100644 --- a/tests/www/employee_record_views/test_list.py +++ b/tests/www/employee_record_views/test_list.py @@ -175,7 +175,16 @@ def test_employee_records_with_nir_associated_to_other(self, client, snapshot): parse_response_to_soup( response, selector=".employee-records-list .c-box--results__footer", - replace_in_attr=[self.employee_record, self.job_application], + replace_in_attr=[ + ( + "href", + f"https://tally.so/r/wzxQlg?employeerecord={self.employee_record.pk}&jobapplication={self.job_application.pk}", + ( + "https://tally.so/r/wzxQlg" + "?employeerecord=[PK of EmployeeRecord]&jobapplication=[PK of JobApplication]" + ), + ) + ], ) ) == snapshot(name="action")