Skip to content

feat: add test-support seam for simulating triggers and actions - #25045

Draft
mcollovati wants to merge 1 commit into
mainfrom
pr/trigger-seam
Draft

feat: add test-support seam for simulating triggers and actions#25045
mcollovati wants to merge 1 commit into
mainfrom
pr/trigger-seam

Conversation

@mcollovati

Copy link
Copy Markdown
Collaborator

Expose an internal seam in com.vaadin.flow.component.trigger.internal
so test frameworks can reproduce the server-observable effect of
client-side triggers and actions without a browser.

Adds a VaadinService-scoped arming-listener registry in Triggers,
DomEventTrigger.getEventName, Action.Input.evaluate, delivery
helpers on PromiseAction and CallbackAction, and accessors on
WriteToClipboardAction. Internal test-support API only.

@mcollovati

Copy link
Copy Markdown
Collaborator Author

Part of a 4-PR split of the trigger/action + clipboard test-support work (2 PRs per repo).

@github-actions

github-actions Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Test Results

 1 442 files  + 1   1 442 suites  +1   1h 42m 26s ⏱️ + 4m 19s
10 317 tests +11  10 250 ✅ +11  67 💤 ±0  0 ❌ ±0 
10 771 runs  +11  10 703 ✅ +11  68 💤 ±0  0 ❌ ±0 

Results for commit 6c1a040. ± Comparison against base commit 626a502.

♻️ This comment has been updated with latest results.

Expose an internal seam in `com.vaadin.flow.component.trigger.internal`
so test frameworks can reproduce the server-observable effect of
client-side triggers and actions without a browser.

Adds a `VaadinService`-scoped arming-listener registry in `Triggers`,
`DomEventTrigger.getEventName`, `Action.Input.evaluate`, delivery
helpers on `PromiseAction` and `CallbackAction`, and accessors on
`WriteToClipboardAction`. Internal test-support API only.
@sonarqubecloud

Copy link
Copy Markdown

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant