public function WebformElementExcludedColumnsTest::testExcluedElements in Webform 8.5
Same name and namespace in other branches
- 6.x tests/src/Functional/Element/WebformElementExcludedColumnsTest.php \Drupal\Tests\webform\Functional\Element\WebformElementExcludedColumnsTest::testExcluedElements()
Test excluded columns element.
File
- tests/
src/ Functional/ Element/ WebformElementExcludedColumnsTest.php, line 22
Class
- WebformElementExcludedColumnsTest
- Tests for excluded columns element.
Namespace
Drupal\Tests\webform\Functional\ElementCode
public function testExcluedElements() {
$this
->drupalGet('/webform/test_element_excluded_columns');
$this
->assertFieldByName('webform_excluded_columns[tableselect][textfield]');
$this
->assertNoFieldByName('webform_excluded_columns[tableselect][markup]');
$this
->assertNoFieldByName('webform_excluded_columns[tableselect][details]');
}