Commit b94dbff
test: cover cell content attach and detach on column add/remove (#12181)
When a column is removed, the grid also removes the column's
`<vaadin-grid-cell-content>` elements from its light DOM, and adds them
back when the column is added again. This behavior wasn't covered by
tests for header and footer cells. The declarative header/footer
rendering refactor changes how header and footer cell content is
managed, so this adds tests to lock in the current behavior first.
Extracted from #12134
Part of #10789
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent 315c748 commit b94dbff
1 file changed
Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
503 | 503 | | |
504 | 504 | | |
505 | 505 | | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
506 | 546 | | |
507 | 547 | | |
508 | 548 | | |
| |||
0 commit comments