public function ChosenFormTest::testFormPage in Chosen 3.0.x
Same name and namespace in other branches
- 8.2 tests/src/Functional/ChosenFormTest.php \Drupal\Tests\chosen\Functional\ChosenFormTest::testFormPage()
Test the form page.
File
- tests/
src/ Functional/ ChosenFormTest.php, line 28
Class
- ChosenFormTest
- Chosen form API test.
Namespace
Drupal\Tests\chosen\FunctionalCode
public function testFormPage() {
$this
->drupalGet('chosen-test');
$this
->assertText('Select');
$this
->assertSession()
->elementExists('css', 'select#edit-select.chosen-enable');
}