Skip to content

Text spanning multiple invisible elements can be matched #13

Description

@koterpillar

The following step:

Then I should see "A unicorn"

will match on an HTML:

<div>
  <span style="display: none">A</span> <span style="display: none">unicorn</span>
</div>

because even though none of the spans are visible, the outer div is, and it contains the specified text.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions