Skip to content

Conversation

@Artur-
Copy link
Member

@Artur- Artur- commented Jan 22, 2026

Adds support for retrieving the header title from Dialog components during browser-based testing with TestBench.

Changes

  • Added getHeaderTitle() method to DialogElement class
  • Added test case headerTitle_getHeaderTitleReturnsCorrectValue() to verify functionality

Implementation

The method uses getPropertyString("headerTitle") to access the web component's headerTitle property, following the same pattern as ConfirmDialogElement.getHeaderText().

Fixes vaadin/testbench#1880

Adds support for retrieving the header title from Dialog components
during browser-based testing with TestBench.

Fixes vaadin/testbench#1880
@sonarqubecloud
Copy link

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.

Add support for DialogElement.getHeaderTitle

2 participants