public function RadioTest::testSameNameInMultipleForms in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/driver-testsuite/tests/Form/RadioTest.php \Behat\Mink\Tests\Driver\Form\RadioTest::testSameNameInMultipleForms()
File
- vendor/
behat/ mink/ driver-testsuite/ tests/ Form/ RadioTest.php, line 55
Class
Namespace
Behat\Mink\Tests\Driver\FormCode
public function testSameNameInMultipleForms() {
$option1 = $this
->findById('reused_form1');
$option2 = $this
->findById('reused_form2');
$this
->assertEquals('test2', $option1
->getValue());
$this
->assertEquals('test3', $option2
->getValue());
$option1
->selectOption('test');
$this
->assertEquals('test', $option1
->getValue());
$this
->assertEquals('test3', $option2
->getValue());
}