Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

test: consolidate grid header/footer row ITs into one view#9787

Merged
web-padawan merged 1 commit into
mainvaadin/flow-components:mainfrom
chore/consolidate-grid-header-footer-itvaadin/flow-components:chore/consolidate-grid-header-footer-itCopy head branch name to clipboard
Jul 24, 2026
Merged

test: consolidate grid header/footer row ITs into one view#9787
web-padawan merged 1 commit into
mainvaadin/flow-components:mainfrom
chore/consolidate-grid-header-footer-itvaadin/flow-components:chore/consolidate-grid-header-footer-itCopy head branch name to clipboard

Conversation

@web-padawan

Copy link
Copy Markdown
Member

The grid IT module has two separate header/footer-row test setups: the dedicated GridHeaderFooterRowPage/GridHeaderFooterRowIT (route vaadin-grid/grid-header-footer-rows) and the older demo-style GridViewHeaderAndFooterRowsPage/GridViewHeaderAndFooterRowsIT (route vaadin-grid-it-demo/header-and-footer-rows, a leftover from the old demo project structure). They cover the same feature, so this keeps only the dedicated pair.

The demo pair had two assertions not present in the dedicated IT: a grid with joined text group headers (Basic Information / Address Information) plus a footer aggregate (Total: 500 people), and the same built with component headers/footer. Both are moved into the dedicated page/IT before the demo pair is deleted, so no coverage is lost.

The migrated component test asserts the joined group headers and footer through getHeaderCellContent/getFooterCellContent (which resolve the cell-content element) instead of the demo's ad-hoc DOM scan.

Verified: full GridHeaderFooterRowIT passes (24 tests, 0 failures). No references to the removed route or element IDs remain.

Part of the grid vaadin-grid-it-demo/* demo-view consolidation.


🤖 Generated with Claude Code

Move the two unique assertions from the demo GridViewHeaderAndFooterRows
page/IT (text and component group headers + footer) into the dedicated
GridHeaderFooterRowPage/IT, then delete the demo pair. Component group
header/footer are asserted via getHeaderCellContent/getFooterCellContent.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

@vaadin-review-bot vaadin-review-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

✅ Nothing to flag — the changes look good.

@sonarqubecloud

Copy link
Copy Markdown

@web-padawan
web-padawan removed the request for review from tomivirkki July 24, 2026 13:41
@web-padawan
web-padawan added this pull request to the merge queue Jul 24, 2026
Merged via the queue into main with commit 22ee6da Jul 24, 2026
25 checks passed
@web-padawan
web-padawan deleted the chore/consolidate-grid-header-footer-it branch July 24, 2026 13:48
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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.