Skip to content

How to access the Mink Element in a custom comparator ? #3

Description

@yannbertrand

I'd like to create a custom comparator and compare the expected content to the actual element html ($actual->getHtml()). I'm currently using the fromMinkTable method to construct my "actual" table but can't get it working ($actual just contains a string).

Is there any way to achieve that?

E.g.
I have checkboxes icon in some row columns and I would like to verify that some are checked.

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