diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-06-26 02:06:53 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-06-26 02:06:53 +0000 |
commit | f0a49e662de237c4096d6384a07e3ccc2b43999c (patch) | |
tree | 845a318cd92ad9f0cc38e034fba1679064b0a0d8 /modules/field_ui/field_ui.test | |
parent | 4114d3ce58d61240faf0b667858bd127436a7a4d (diff) | |
download | brdo-f0a49e662de237c4096d6384a07e3ccc2b43999c.tar.gz brdo-f0a49e662de237c4096d6384a07e3ccc2b43999c.tar.bz2 |
- Patch #616240 by yched, marcingy: make field UI screens extensible from contrib.
Diffstat (limited to 'modules/field_ui/field_ui.test')
-rw-r--r-- | modules/field_ui/field_ui.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/field_ui/field_ui.test b/modules/field_ui/field_ui.test index a45e0bcca..4a82c7a2e 100644 --- a/modules/field_ui/field_ui.test +++ b/modules/field_ui/field_ui.test @@ -289,7 +289,7 @@ class FieldUITestCase extends DrupalWebTestCase { // Check that the newly added instance appears on the 'Manage Fields' // screen. $this->drupalGet($bundle_path); - $this->assertFieldByXPath('//table[@id="field-overview"]//span[@class="label-field"]', $instance['label'], t('Field was created and appears in the overview page.')); + $this->assertFieldByXPath('//table[@id="field-overview"]//td[1]', $instance['label'], t('Field was created and appears in the overview page.')); // Check that the instance does not appear in the 'add existing field' row // on other bundles. @@ -338,7 +338,7 @@ class FieldUITestCase extends DrupalWebTestCase { $this->assertRaw(t('Saved %label configuration.', array('%label' => $label)), t('Redirected to "Manage fields" page.')); // Check that the field appears in the overview form. - $this->assertFieldByXPath('//table[@id="field-overview"]//span[@class="label-field"]', $label, t('Field was created and appears in the overview page.')); + $this->assertFieldByXPath('//table[@id="field-overview"]//td[1]', $label, t('Field was created and appears in the overview page.')); } /** @@ -369,7 +369,7 @@ class FieldUITestCase extends DrupalWebTestCase { $this->assertRaw(t('Saved %label configuration.', array('%label' => $label)), t('Redirected to "Manage fields" page.')); // Check that the field appears in the overview form. - $this->assertFieldByXPath('//table[@id="field-overview"]//span[@class="label-field"]', $label, t('Field was created and appears in the overview page.')); + $this->assertFieldByXPath('//table[@id="field-overview"]//td[1]', $label, t('Field was created and appears in the overview page.')); } /** |