You are here

public function BlockAriaLandmarkRolesLabelTest::testAdminFormSetting in Block ARIA Landmark Roles 7

Same name and namespace in other branches
  1. 7.2 tests/label_tests.test \BlockAriaLandmarkRolesLabelTest::testAdminFormSetting()

Ensure the ARIA label input field exists.

File

tests/label_tests.test, line 53
Tests for adding ARIA labels to blocks.

Class

BlockAriaLandmarkRolesLabelTest
Test adding ARIA labels to blocks.

Code

public function testAdminFormSetting() {
  $this
    ->drupalLogin($this
    ->drupalCreateUser(array(
    'administer blocks',
  )));
  $this
    ->drupalGet('admin/structure/block/manage/system/main/configure');
  $this
    ->assertFieldByName('aria_label');
}