Hi,
I try to use Tester\DomQuery::css2xpath('input[name=container[item]]') to test Nette\Forms, but css2xpath response: //input[@name='container[item'] instead of //input[@name='container[item]'].
I think problem is in regex here:
https://github.com/nette/tester/blob/master/src/Framework/DomQuery.php#L84
But I don't know correct code.
Hi,
I try to use
Tester\DomQuery::css2xpath('input[name=container[item]]')to test Nette\Forms, but css2xpath response://input[@name='container[item']instead of//input[@name='container[item]'].I think problem is in regex here:
https://github.com/nette/tester/blob/master/src/Framework/DomQuery.php#L84
But I don't know correct code.