Skip to content

Could assertSelectorTextContains return current value in WebTestCase? #33551

Closed
@sabat24

Description

@sabat24

Right now when test fails there is information about selector and expected value, but there is no information about actual value from test.

Matches selector "#selector" and has a node matching selector "#selector" with content containing "expected_value"

I would like to now, what was the actual value of the test which was found in that #selector to get more details why it failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DXDX = Developer eXperience (anything that improves the experience of using Symfony)FrameworkBundleStalled

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions