-
Notifications
You must be signed in to change notification settings - Fork 13
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
test(sbb-form-field): add visual spec #2807
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! Basically I think it's ok if there are a lot of combinations. It's in the nature of the form field that there are a lot of possible combinations and visual outcomes.
src/elements/form-field/form-field-clear/form-field-clear.snapshot.spec.ts
Outdated
Show resolved
Hide resolved
src/elements/form-field/form-field-clear/form-field-clear.visual.spec.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, not sure whether the active and focus state should also be tested with negative? I tend to a yes
To discuss: reduce test cases?