Skip to content
Snippets Groups Projects
Commit c391de18 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

Issue #2125725 by Sweetchuck: Wrong XPath query in FieldUiTestBase.php.

parent 798850df
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,7 @@ function fieldUIAddNewField($bundle_path, $initial_edit, $field_edit = array(),
$this->assertRaw(t('Saved %label configuration.', array('%label' => $label)), 'Redirected to "Manage fields" page.');
// Check that the field appears in the overview form.
$this->assertFieldByXPath('//table[@id="field-overview"]//td[1]', $label, 'Field was created and appears in the overview page.');
$this->assertFieldByXPath('//table[@id="field-overview"]//tr/td[1]', $label, 'Field was created and appears in the overview page.');
}
/**
......@@ -109,7 +109,7 @@ function fieldUIAddExistingField($bundle_path, $initial_edit, $instance_edit = a
$this->assertRaw(t('Saved %label configuration.', array('%label' => $label)), 'Redirected to "Manage fields" page.');
// Check that the field appears in the overview form.
$this->assertFieldByXPath('//table[@id="field-overview"]//td[1]', $label, 'Field was created and appears in the overview page.');
$this->assertFieldByXPath('//table[@id="field-overview"]//tr/td[1]', $label, 'Field was created and appears in the overview page.');
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment