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

element().should().haveAttribute() for CSS attributes. #165

Closed
dimazhiv opened this issue Apr 10, 2018 · 1 comment
Closed

element().should().haveAttribute() for CSS attributes. #165

dimazhiv opened this issue Apr 10, 2018 · 1 comment

Comments

@dimazhiv
Copy link

Seems it would be useful if we were able to check CSS attribute through pattern like for simple element attributes: element().should().haveAttribute(nameAttribute, value)

For example:
element().should().haveCssAttribute(nameAttribute, expectedValue)
instead of using something like this:
assertThat(element().getCssValue("nameAttribute")).isEqualTo(expectedColor);

@dimazhiv dimazhiv changed the title element().should().have() for CSS attributes. element().should().haveAttribute() for CSS attributes. Apr 10, 2018
@vefimofff
Copy link
Contributor

duplicates #77

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

No branches or pull requests

2 participants