Uploaded image for project: 'Fluid Infusion'
  1. Fluid Infusion
  2. FLUID-4931

Extend assertNode to handle hasClass, for testing if a class exists on an node

    XMLWordPrintable

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Testing Infrastructure
    • None

    Description

      assertNode can compare all classes on a node against an expected value, but doesn't provide a facility for just testing that a single specific class is present on a node. Something like what jQuery's hasClass method provides.

      assertNode could be extended to have a hasClass key taking one or more classes to test against.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jobara Justin Obara
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: