public function NamedSelectorTest::testEscapedSelectors in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/tests/Selector/NamedSelectorTest.php \Behat\Mink\Tests\Selector\NamedSelectorTest::testEscapedSelectors()
@dataProvider getSelectorTests @group legacy
File
- vendor/
behat/ mink/ tests/ Selector/ NamedSelectorTest.php, line 59
Class
Namespace
Behat\Mink\Tests\SelectorCode
public function testEscapedSelectors($fixtureFile, $selector, $locator, $expectedExactCount, $expectedPartialCount = null) {
// Escape the locator as Mink 1.x expects the caller of the NamedSelector to handle it
$escaper = new Escaper();
$locator = $escaper
->escapeLiteral($locator);
$this
->testSelectors($fixtureFile, $selector, $locator, $expectedExactCount, $expectedPartialCount);
}