public function ConfigDeleteUITest::testFormStructure in Config Delete 8
Tests form structure.
File
- tests/
src/ Functional/ ConfigDeleteUITest.php, line 46
Class
- ConfigDeleteUITest
- Tests the user interface for deleting configuration.
Namespace
Drupal\Tests\config_delete\FunctionalCode
public function testFormStructure() {
$this
->drupalGet('admin/config/development/configuration/delete');
$this
->assertSession()
->statusCodeEquals(200);
$this
->assertSession()
->titleEquals('Delete | Drupal');
$this
->assertSession()
->selectExists('edit-config-type');
$this
->assertSession()
->selectExists('edit-config-name');
$this
->assertSession()
->buttonExists($this
->t('Delete'));
}