function ElementTest::testDetailsSummaryAttributes
Tests summary attributes of details.
File
-
core/
modules/ system/ tests/ src/ Functional/ Form/ ElementTest.php, line 199
Class
- ElementTest
- Tests building and processing of core form elements.
Namespace
Drupal\Tests\system\Functional\FormCode
public function testDetailsSummaryAttributes() {
$this->drupalGet('form-test/group-details');
$this->assertSession()
->elementExists('css', 'summary[data-summary-attribute="test"]');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.