Skip to content

[1.0.0-beta.0] className assertion failing when element has multiple classNames #210

Open
@dptoot

Description

As you can see the element selection has the correct className asserted but only seems to respect the first. Any suggestions?

 AssertionError: expected the node in <div /> to have a 'glyphicon-menu-right' class, but it has 'text-link'

     HTML:

     <span class="text-link glyphicon glyphicon-menu-right"></span>
      + expected - actual

      -text-link
      +glyphicon-menu-right

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions