Here, I'd prefer to have the element name in the assertContains to make it clear that the p element is matched.