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

Support for isInvalid() #1877

Open
mvysny opened this issue Mar 7, 2025 · 1 comment
Open

Support for isInvalid() #1877

mvysny opened this issue Mar 7, 2025 · 1 comment

Comments

@mvysny
Copy link
Member

mvysny commented Mar 7, 2025

Vaadin 23 TestBench 23: the ComboBoxElement doesn't support isInvalid().

@TatuLund
Copy link
Contributor

TatuLund commented Mar 7, 2025

The method is missing also in Vaadin 24.

The workaround is to check presence of "invalid" attribute.

        Assert.assertEquals("true",
                comboBoxElement.getAttribute("invalid"));

By brief glance there are other components which do not have this method as well.

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

No branches or pull requests

2 participants