-
Notifications
You must be signed in to change notification settings - Fork 69
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
feat: integrate client-side validation into TimePicker #3515
Conversation
...s/src/test/java/com/vaadin/flow/component/timepicker/tests/TimePickerValidationBinderIT.java
Outdated
Show resolved
Hide resolved
3ba64f4
to
95cc604
Compare
As was discovered, the time-picker web component prevents the This is why integration tests are failing. |
0069e06
to
ff60c52
Compare
8627ded
to
166527a
Compare
64f077a
to
658c925
Compare
76e9836
to
9d81d02
Compare
9d81d02
to
30e9b9a
Compare
d0bd316
to
a4ceb3d
Compare
import com.vaadin.tests.AbstractValidationTest; | ||
import com.vaadin.flow.testutil.TestPath; | ||
import org.junit.Assert; | ||
import org.junit.Test; | ||
import org.openqa.selenium.WebElement; | ||
|
||
/** | ||
* Integration tests for {@link TimePicker} validation. | ||
*/ | ||
@TestPath("vaadin-time-picker/time-picker-validation") | ||
public class TimePickerValidationPageIT extends AbstractValidationTest { |
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.
Do we still need TimePickerValidationPageIT
and corresponding view for it?
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.
Yes, it verifies that the HasValidation
interface is implemented for TimePicker
. Improved the description. As we discussed internally, these integration tests can be rewritten into unit tests, but we will do that separately.
50dedfc
to
3c8dd15
Compare
SonarCloud Quality Gate failed.
|
This ticket/PR has been released with Vaadin 23.2.0. |
Description
Implement the
addValidationStatusChangeListener
to triggerBinder
validation whenvalidated
event is received from the web component.Depends on
Part of vaadin/platform#3066
Type of change