Skip to content

feat: Add HasClearButton mixin to TestBench elements #7337

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

mshabarov
Copy link
Contributor

Description

Adds a helper interface to TestBench elements having clear button.
A second part for vaadin/testbench#1902 and vaadin/testbench#1903.

Type of change

  • Bugfix
  • Feature

Checklist

  • I have read the contribution guide: https://vaadin.com/docs/latest/contributing/overview
  • I have added a description following the guideline.
  • The issue is created in the corresponding repository and I have referenced it.
  • I have added tests to ensure my change is effective and works as intended.
  • New and existing tests are passing locally with my change.
  • I have performed self-review and corrected misspellings.
  • I have not completed some of the steps above and my pull request can be closed immediately.

Additional for Feature type of change

  • Enhancement / new feature was discussed in a corresponding GitHub issue and Acceptance Criteria were created.

@mshabarov mshabarov marked this pull request as ready for review May 9, 2025 13:53
@mshabarov mshabarov requested a review from TatuLund May 9, 2025 13:54
Copy link

sonarqubecloud bot commented May 9, 2025

@@ -34,7 +35,7 @@
*/
@Element("vaadin-date-time-picker")
public class DateTimePickerElement extends TestBenchElement
implements HasLabel, HasHelper {
implements HasLabel, HasHelper, HasClearButton {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DateTimePicker does not have clear button API in Flow.

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

Successfully merging this pull request may close these issues.

2 participants