WebformElementExcludedElementsTest.php in Webform 8.5
File
tests/src/Functional/Element/WebformElementExcludedElementsTest.php
View source
<?php
namespace Drupal\Tests\webform\Functional\Element;
class WebformElementExcludedElementsTest extends WebformElementBrowserTestBase {
protected static $testWebforms = [
'test_element_excluded_elements',
];
public function testExcluedElements() {
$this
->drupalGet('/webform/test_element_excluded_elements');
$this
->assertNoFieldByName('webform_excluded_elements[tableselect][markup]');
$this
->assertFieldByName('webform_excluded_elements_markup[tableselect][markup]');
}
}