WebformElementExcludedColumnsTest.php in Webform 6.x
File
tests/src/Functional/Element/WebformElementExcludedColumnsTest.php
View source
<?php
namespace Drupal\Tests\webform\Functional\Element;
class WebformElementExcludedColumnsTest extends WebformElementBrowserTestBase {
protected static $testWebforms = [
'test_element_excluded_columns',
];
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]');
}
}