symfony/symfony — Issue #3330: Crawler count() issue.
Author: drupalmk
Created: 2012-02-11 22:16:53+00:00
State: open

Code from my twig template:

On my page there is class category_190. I try to test it:

$this->assertTrue($crawler->filter('#jobs .category_190')->count() == 1);

but expression returns FALSE,

Now I changed my twig templete to:

know I have class category_Programming (id is 190)

and

$this->assertTrue($crawler->filter('#jobs .category_Programming')->count() == 1);

returns TRUE, so It is probably a bug.