Hardy
Hardy copied to clipboard
Only first selector in the page is tested
I tryed to test group of selectors.
My rule: "h2" should have "font-size" of "32px"
Page has few h2 tags. If first h2 selector successfully passed test, then test will be successfull even in case when other h2 tag will have other font-size (modified with inline styles or classes).
similar for regression testing: when testing components for visual regression, only the first found selector is compared to previous reference. it would be great to compare all found selectors to the reference
component(0) > component PASS component(1) > component FAIL > create .diff image component(2) > component PASS