You are here

public function CrawlerTest::testFilterXPathWithAttributeAxisAfterElementAxis in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dom-crawler/Tests/CrawlerTest.php \Symfony\Component\DomCrawler\Tests\CrawlerTest::testFilterXPathWithAttributeAxisAfterElementAxis()

File

vendor/symfony/dom-crawler/Tests/CrawlerTest.php, line 528

Class

CrawlerTest

Namespace

Symfony\Component\DomCrawler\Tests

Code

public function testFilterXPathWithAttributeAxisAfterElementAxis() {
  $this
    ->assertCount(3, $this
    ->createTestCrawler()
    ->filterXPath('//form/button/attribute::*'), '->filterXPath() handles attribute axes properly when they are preceded by an element filtering axis');
}