diff --git a/core/modules/contact/src/Tests/ContactSitewideTest.php b/core/modules/contact/src/Tests/ContactSitewideTest.php index c815d35..5962b95 100644 --- a/core/modules/contact/src/Tests/ContactSitewideTest.php +++ b/core/modules/contact/src/Tests/ContactSitewideTest.php @@ -253,7 +253,7 @@ function testSiteWideContact() { // Find out in which row the form we want to add a field to is. $i = 0; foreach($this->xpath('//table/tbody/tr') as $row) { - if (((string)$row->td[0]) == $label) { + if (((string)$row->td[0]->a) == $label) { break; } $i++;