public function SelectTest::testSetValueSingleSelect in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/driver-testsuite/tests/Form/SelectTest.php \Behat\Mink\Tests\Driver\Form\SelectTest::testSetValueSingleSelect()
File
- vendor/
behat/ mink/ driver-testsuite/ tests/ Form/ SelectTest.php, line 84
Class
Namespace
Behat\Mink\Tests\Driver\FormCode
public function testSetValueSingleSelect() {
$session = $this
->getSession();
$session
->visit($this
->pathTo('/multiselect_form.html'));
$select = $this
->getAssertSession()
->fieldExists('select_number');
$select
->setValue('10');
$this
->assertEquals('10', $select
->getValue());
}