atoum / AtoumBundle

This bundle provides a simple integration of atoum into Symfony 2.
MIT License
45 stars 25 forks source link

CssSelector removed in symfony 3 #96

Closed gaetanbuellet closed 7 years ago

gaetanbuellet commented 8 years ago

Hi all,

Since symfony 3, the CssSelector class in Symfony\Component\CssSelector\ has been removed.

This class is used atoum-bundle/atoum/AtoumBundle/Test/Units/WebTestCase.php, when we set the handler on 'crawler'.

So, it's not possible to use something like :

->crawler ->hasElement('#contact_form') ->hasChild('input')->exactly(3)->end() ->hasChild('input')

lolautruche commented 7 years ago

I have the same issue 😢