public function RadioTest::testSelectOption in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/behat/mink/driver-testsuite/tests/Form/RadioTest.php \Behat\Mink\Tests\Driver\Form\RadioTest::testSelectOption()
File
- vendor/
behat/ mink/ driver-testsuite/ tests/ Form/ RadioTest.php, line 28
Class
Namespace
Behat\Mink\Tests\Driver\FormCode
public function testSelectOption() {
$option = $this
->findById('first');
$this
->assertEquals('set', $option
->getValue());
$option
->selectOption('updated');
$this
->assertEquals('updated', $option
->getValue());
$option
->selectOption('set');
$this
->assertEquals('set', $option
->getValue());
}