diff --git a/src/Tests/InlineEntityFormComplexWebTest.php b/src/Tests/InlineEntityFormComplexWebTest.php index eb390b3..f341bae 100644 --- a/src/Tests/InlineEntityFormComplexWebTest.php +++ b/src/Tests/InlineEntityFormComplexWebTest.php @@ -157,7 +157,7 @@ class InlineEntityFormComplexWebTest extends WebTestBase { 'multi[form][inline_entity_form][entities][0][form][title][0][value]' => 'Some changed reference', ]; $this->drupalPostAjaxForm(NULL, $edit, $this->getButtonName('//input[@type="submit" and @value="Update node"]')); - $this->assertTrue((bool) $this->xpath('//td[@class="inline-entity-form-node-title" and ./span[contains(.,"Some changed reference")]]'), 'Node title field appears in the table'); + $this->assertTrue((bool) $this->xpath('//td[@class="inline-entity-form-node-label" and contains(.,"Some changed reference")]'), 'Node title field appears in the table'); $this->assertTrue((bool) $this->xpath('//td[@class="inline-entity-form-node-status" and ./div[contains(.,"Published")]]'), 'Node status field appears in the table'); // Create ief_test_complex node.