WebformElementMultiplePropertyTest.php in Webform 6.x
File
tests/src/Functional/Element/WebformElementMultiplePropertyTest.php
View source
<?php
namespace Drupal\Tests\webform\Functional\Element;
class WebformElementMultiplePropertyTest extends WebformElementBrowserTestBase {
protected static $testWebforms = [
'test_element_multiple_property',
];
public function testMultipleProperty() {
$this
->drupalPostForm('/webform/test_element_multiple_property', [], 'Submit');
$this
->assertRaw('webform_element_multiple: false
webform_element_multiple_true: true
webform_element_multiple_false: false
webform_element_multiple_custom: 5
webform_element_multiple_disabled: 5
webform_element_multiple_true_access: true
webform_element_multiple_false_access: false
webform_element_multiple_custom_access: 5');
}
}