Skip to content

Commit 437bd4e

Browse files
Artur-claude
andcommitted
test: update DOM snapshots for grid header and footer slots
Updated the DOM snapshot tests to reflect the new header and footer slot elements that were added to the grid component structure. Part of #986 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 01ee2c7 commit 437bd4e

File tree

1 file changed

+70
-0
lines changed

1 file changed

+70
-0
lines changed

packages/grid/test/dom/__snapshots__/grid.test.snap.js

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ snapshots["vaadin-grid shadow default"] =
4242
id="scroller"
4343
style="touch-action: none;"
4444
>
45+
<div
46+
id="gridHeader"
47+
part="header"
48+
>
49+
<slot name="header">
50+
</slot>
51+
</div>
4552
<table
4653
aria-colcount="2"
4754
aria-multiselectable="true"
@@ -248,6 +255,13 @@ snapshots["vaadin-grid shadow default"] =
248255
</tr>
249256
</tfoot>
250257
</table>
258+
<div
259+
id="gridFooter"
260+
part="footer"
261+
>
262+
<slot name="footer">
263+
</slot>
264+
</div>
251265
<div part="reorder-ghost">
252266
</div>
253267
</div>
@@ -266,6 +280,13 @@ snapshots["vaadin-grid shadow selected"] =
266280
id="scroller"
267281
style="touch-action: none;"
268282
>
283+
<div
284+
id="gridHeader"
285+
part="header"
286+
>
287+
<slot name="header">
288+
</slot>
289+
</div>
269290
<table
270291
aria-colcount="2"
271292
aria-multiselectable="true"
@@ -473,6 +494,13 @@ snapshots["vaadin-grid shadow selected"] =
473494
</tr>
474495
</tfoot>
475496
</table>
497+
<div
498+
id="gridFooter"
499+
part="footer"
500+
>
501+
<slot name="footer">
502+
</slot>
503+
</div>
476504
<div part="reorder-ghost">
477505
</div>
478506
</div>
@@ -491,6 +519,13 @@ snapshots["vaadin-grid shadow details opened"] =
491519
id="scroller"
492520
style="touch-action: none;"
493521
>
522+
<div
523+
id="gridHeader"
524+
part="header"
525+
>
526+
<slot name="header">
527+
</slot>
528+
</div>
494529
<table
495530
aria-colcount="2"
496531
aria-multiselectable="true"
@@ -697,6 +732,13 @@ snapshots["vaadin-grid shadow details opened"] =
697732
</tr>
698733
</tfoot>
699734
</table>
735+
<div
736+
id="gridFooter"
737+
part="footer"
738+
>
739+
<slot name="footer">
740+
</slot>
741+
</div>
700742
<div part="reorder-ghost">
701743
</div>
702744
</div>
@@ -716,6 +758,13 @@ snapshots["vaadin-grid shadow hidden column"] =
716758
scrolling=""
717759
style="touch-action: none;"
718760
>
761+
<div
762+
id="gridHeader"
763+
part="header"
764+
>
765+
<slot name="header">
766+
</slot>
767+
</div>
719768
<table
720769
aria-colcount="2"
721770
aria-multiselectable="true"
@@ -870,6 +919,13 @@ snapshots["vaadin-grid shadow hidden column"] =
870919
</tr>
871920
</tfoot>
872921
</table>
922+
<div
923+
id="gridFooter"
924+
part="footer"
925+
>
926+
<slot name="footer">
927+
</slot>
928+
</div>
873929
<div part="reorder-ghost">
874930
</div>
875931
</div>
@@ -889,6 +945,13 @@ snapshots["vaadin-grid shadow hidden column selected"] =
889945
scrolling=""
890946
style="touch-action: none;"
891947
>
948+
<div
949+
id="gridHeader"
950+
part="header"
951+
>
952+
<slot name="header">
953+
</slot>
954+
</div>
892955
<table
893956
aria-colcount="2"
894957
aria-multiselectable="true"
@@ -1044,6 +1107,13 @@ snapshots["vaadin-grid shadow hidden column selected"] =
10441107
</tr>
10451108
</tfoot>
10461109
</table>
1110+
<div
1111+
id="gridFooter"
1112+
part="footer"
1113+
>
1114+
<slot name="footer">
1115+
</slot>
1116+
</div>
10471117
<div part="reorder-ghost">
10481118
</div>
10491119
</div>

0 commit comments

Comments
 (0)