You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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);
The text was updated successfully, but these errors were encountered:
dimazhiv
changed the title
element().should().have() for CSS attributes.
element().should().haveAttribute() for CSS attributes.
Apr 10, 2018
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);
The text was updated successfully, but these errors were encountered: