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

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 3.0
    • Component/s: Testing Infrastructure
    • Labels:
      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

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

              Dates

              Created:
              Updated: