Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only first selector in the page is tested #23

Open
vfhrr opened this issue Nov 26, 2013 · 1 comment
Open

Only first selector in the page is tested #23

vfhrr opened this issue Nov 26, 2013 · 1 comment

Comments

@vfhrr
Copy link

vfhrr commented Nov 26, 2013

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).

@fuhlig
Copy link

fuhlig commented Nov 28, 2013

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants