Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagetext
titleElementComparators YAML example
linenumberstrue
collapsetrue
comparators:
- type: Equals
  elements:
  - locator: //div[@id='whitematter']
    value: 44.4
  - locator:
      - type: xpath
        value: //div[@id='graymatter']
    value: 55.5
  - locator:
      - type: id
        value: errors
    value: No errors.
- type: maxPercentTolerance
  percent: 1.0
  elements:
  - locator: //div[@id='whitematter']
    value: 44.4

...