def METHOD_NAME(self):
    self.profile.dismissibles[self.dismissible_id] = True
    self.profile.save(update_fields=["dismissibles"])
    response = self.get()
    html_content = response.content.decode("utf-8")
    expected_data_attrs = [
        'data-controller="w-dismissible"',
        'data-w-dismissible-dismissed-class="w-dismissible--dismissed"',
        f'data-w-dismissible-id-value="{self.dismissible_id}"',
    ]
    for data_attr in expected_data_attrs:
        self.assertNotIn(data_attr, html_content)
    self.assertNotContains(response, "Things in Wagtail 4 have changed!")