function ManageFieldsTest::fieldListAdminPage in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/field_ui/src/Tests/ManageFieldsTest.php \Drupal\field_ui\Tests\ManageFieldsTest::fieldListAdminPage()
Tests that the field list administration page operates correctly.
1 call to ManageFieldsTest::fieldListAdminPage()
- ManageFieldsTest::testCRUDFields in core/
modules/ field_ui/ src/ Tests/ ManageFieldsTest.php - Runs the field CRUD tests.
File
- core/
modules/ field_ui/ src/ Tests/ ManageFieldsTest.php, line 686 - Contains \Drupal\field_ui\Tests\ManageFieldsTest.
Class
- ManageFieldsTest
- Tests the Field UI "Manage fields" screen.
Namespace
Drupal\field_ui\TestsCode
function fieldListAdminPage() {
$this
->drupalGet('admin/reports/fields');
$this
->assertText($this->fieldName, 'Field name is displayed in field list.');
$this
->assertTrue($this
->assertLinkByHref('admin/structure/types/manage/' . $this->contentType . '/fields'), 'Link to content type using field is displayed in field list.');
}