You are here

public function SelectTest::testAccentuatedOption in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/behat/mink/driver-testsuite/tests/Form/SelectTest.php \Behat\Mink\Tests\Driver\Form\SelectTest::testAccentuatedOption()

See also

https://github.com/Behat/Mink/issues/131

File

vendor/behat/mink/driver-testsuite/tests/Form/SelectTest.php, line 125

Class

SelectTest

Namespace

Behat\Mink\Tests\Driver\Form

Code

public function testAccentuatedOption() {
  $this
    ->getSession()
    ->visit($this
    ->pathTo('/issue131.html'));
  $page = $this
    ->getSession()
    ->getPage();
  $page
    ->selectFieldOption('foobar', 'Gimme some accentués characters');
  $this
    ->assertEquals('1', $page
    ->findField('foobar')
    ->getValue());
}