Set client-side tests

Adapted from the Distal test cases.

data-set-repeat

  • (There will be 3 bullets)
three, comma‐separated, items

data-set-repeat (with html)

  • (There will be 3 html bullets)
  • (There will be 3 escaped bullets)

data-set-repeat (of list options & groups)

data-set-repeat (with array length of 1)

  • (There will be 1 bullet)
  • (There will be 1 bullet)
  • (There will be 1 bullet)

data-set-repeat (with null array)

  • there will only be 1 bullet (cost: $1,000.00)
    1. (this will not show)

data-set-repeat (of table rows)

#Age
(test)

data-set-if

  • 5 is truthy
  • null is falsy
  • 5 > 3
  • 5 > 4
  • 5 > 4.5
  • 5 < 4, hide me!
  • 5 < 6
  • 5 == 5
  • 5 != 5, hide me!
  • not true, hide me!
  • "brown fox jumped" contains "brown fox"
  • "brown fox jumped" doesn't contain "brown", hide me!
  • "brown fox jumped" contains "bird", hide me!
  • "brown fox jumped" doesn't contain "bird"

data-set-attribute (with class name)

make class .bluish
make css pink

data-set-attribute


(...)

:

see tooltip