Skip to content

[DomCrawler] symfony 2.4.5 breaks my behat acceptance tests #10986

Closed
@chanakasan

Description

@chanakasan

After a composer update which installed symfony 2.4.5 my behat acceptance tests are broken. I get below error message:

Warning: DOMXPath::query(): Invalid expression in /vendor/symfony/symfony/src/Symfony/Component/DomCrawler/Crawler.php on line 832

When I manually set symfony 2.4.4 version in composer.json and install symfony 2.4.4 everything works again.

I viewed some commits from v2.4.4 until v2.4.5 and saw there have been changes in the Symfony\Component\DomCrawler\Crawler. But I couldn't say what causes this break.

Does anyone else have this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions