Skip to content

Commit

Permalink
Merge pull request #2045 from headlamp-k8s/snapshot-fix
Browse files Browse the repository at this point in the history
frontend: Improve snapshot tests to be more deterministic
  • Loading branch information
illume authored Jun 17, 2024
2 parents d97753d + 52d2aed commit 0dad41e
Show file tree
Hide file tree
Showing 261 changed files with 630 additions and 1,163 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<DocumentFragment>
<div
aria-labelledby="#recent-clusters-label"
class="MuiGrid-root MuiGrid-container MuiGrid-item MuiGrid-spacing-xs-2 css-1vj4bu4-MuiGrid-root"
Expand Down Expand Up @@ -85,4 +85,4 @@
</button>
</div>
</div>
</div>
</DocumentFragment>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div>
<DocumentFragment>
<div
aria-labelledby="#recent-clusters-label"
class="MuiGrid-root MuiGrid-container MuiGrid-item MuiGrid-spacing-xs-2 css-1vj4bu4-MuiGrid-root"
/>
</div>
</DocumentFragment>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<DocumentFragment>
<div
aria-labelledby="#recent-clusters-label"
class="MuiGrid-root MuiGrid-container MuiGrid-item MuiGrid-spacing-xs-2 css-1vj4bu4-MuiGrid-root"
Expand Down Expand Up @@ -31,4 +31,4 @@
</button>
</div>
</div>
</div>
</DocumentFragment>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<DocumentFragment>
<div
aria-labelledby="#recent-clusters-label"
class="MuiGrid-root MuiGrid-container MuiGrid-item MuiGrid-spacing-xs-2 css-1vj4bu4-MuiGrid-root"
Expand Down Expand Up @@ -85,4 +85,4 @@
</button>
</div>
</div>
</div>
</DocumentFragment>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<DocumentFragment>
<div
aria-labelledby="#recent-clusters-label"
class="MuiGrid-root MuiGrid-container MuiGrid-item MuiGrid-spacing-xs-2 css-1vj4bu4-MuiGrid-root"
Expand Down Expand Up @@ -85,4 +85,4 @@
</button>
</div>
</div>
</div>
</DocumentFragment>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<DocumentFragment>
<div
aria-labelledby="#recent-clusters-label"
class="MuiGrid-root MuiGrid-container MuiGrid-item MuiGrid-spacing-xs-2 css-1vj4bu4-MuiGrid-root"
Expand Down Expand Up @@ -58,4 +58,4 @@
</button>
</div>
</div>
</div>
</DocumentFragment>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<DocumentFragment>
<div
aria-labelledby="#recent-clusters-label"
class="MuiGrid-root MuiGrid-container MuiGrid-item MuiGrid-spacing-xs-2 css-1vj4bu4-MuiGrid-root"
Expand Down Expand Up @@ -85,4 +85,4 @@
</button>
</div>
</div>
</div>
</DocumentFragment>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<DocumentFragment>
<div
aria-labelledby="#recent-clusters-label"
class="MuiGrid-root MuiGrid-container MuiGrid-item MuiGrid-spacing-xs-2 css-1vj4bu4-MuiGrid-root"
Expand Down Expand Up @@ -85,4 +85,4 @@
</button>
</div>
</div>
</div>
</DocumentFragment>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<DocumentFragment>
<button
class="MuiButtonBase-root css-10d1a0h-MuiButtonBase-root"
tabindex="0"
Expand All @@ -22,4 +22,4 @@
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</button>
</div>
</DocumentFragment>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<DocumentFragment>
<button
class="MuiButtonBase-root css-10d1a0h-MuiButtonBase-root"
tabindex="0"
Expand All @@ -22,4 +22,4 @@
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</button>
</div>
</DocumentFragment>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<DocumentFragment>
<button
class="MuiButtonBase-root css-10d1a0h-MuiButtonBase-root"
tabindex="0"
Expand All @@ -22,4 +22,4 @@
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</button>
</div>
</DocumentFragment>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<DocumentFragment>
<button
class="MuiButtonBase-root css-10d1a0h-MuiButtonBase-root"
tabindex="0"
Expand All @@ -22,4 +22,4 @@
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</button>
</div>
</DocumentFragment>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<DocumentFragment>
<div
class="MuiGrid-root MuiGrid-container MuiGrid-spacing-xs-1 css-1ub3t8b-MuiGrid-root"
>
Expand Down Expand Up @@ -1008,4 +1008,4 @@
</div>
</div>
</div>
</div>
</DocumentFragment>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<DocumentFragment>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary css-w7fpvq-MuiButtonBase-root-MuiButton-root"
tabindex="0"
Expand Down Expand Up @@ -1571,4 +1571,4 @@
</div>
</div>
</div>
</div>
</DocumentFragment>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<DocumentFragment>
<div
class="MuiBox-root css-j1fy4m"
>
Expand Down Expand Up @@ -794,4 +794,4 @@
/>
</button>
</div>
</div>
</DocumentFragment>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<DocumentFragment>
<div
class="MuiBox-root css-j1fy4m"
>
Expand Down Expand Up @@ -40,4 +40,4 @@
</div>
</div>
</div>
</div>
</DocumentFragment>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<DocumentFragment>
<div
class="MuiBox-root css-j1fy4m"
>
Expand Down Expand Up @@ -780,4 +780,4 @@
</div>
</div>
</div>
</div>
</DocumentFragment>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<DocumentFragment>
<div
class="MuiBox-root css-j1fy4m"
>
Expand Down Expand Up @@ -780,4 +780,4 @@
</div>
</div>
</div>
</div>
</DocumentFragment>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<DocumentFragment>
<div
class="MuiBox-root css-j1fy4m"
>
Expand Down Expand Up @@ -1190,4 +1190,4 @@
</div>
</div>
</div>
</div>
</DocumentFragment>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<DocumentFragment>
<div
class="MuiBox-root css-j1fy4m"
>
Expand Down Expand Up @@ -1192,4 +1192,4 @@
</div>
</div>
</div>
</div>
</DocumentFragment>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<DocumentFragment>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary css-w7fpvq-MuiButtonBase-root-MuiButton-root"
tabindex="0"
Expand Down Expand Up @@ -99,4 +99,4 @@
/>
</div>
</div>
</div>
</DocumentFragment>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<DocumentFragment>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary css-w7fpvq-MuiButtonBase-root-MuiButton-root"
tabindex="0"
Expand Down Expand Up @@ -120,4 +120,4 @@
</div>
</div>
</div>
</div>
</DocumentFragment>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<DocumentFragment>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary css-w7fpvq-MuiButtonBase-root-MuiButton-root"
tabindex="0"
Expand Down Expand Up @@ -271,4 +271,4 @@
</dl>
</div>
</div>
</div>
</DocumentFragment>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<DocumentFragment>
<nav
aria-label="Appbar Tools"
class="MuiPaper-root MuiPaper-elevation MuiPaper-elevation1 MuiAppBar-root MuiAppBar-colorPrimary MuiAppBar-positionFixed mui-fixed css-1nczbvg-MuiPaper-root-MuiAppBar-root"
Expand Down Expand Up @@ -105,4 +105,4 @@
/>
</div>
</nav>
</div>
</DocumentFragment>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<DocumentFragment>
<nav
aria-label="Appbar Tools"
class="MuiPaper-root MuiPaper-elevation MuiPaper-elevation1 MuiAppBar-root MuiAppBar-colorPrimary MuiAppBar-positionFixed mui-fixed css-1nczbvg-MuiPaper-root-MuiAppBar-root"
Expand Down Expand Up @@ -117,4 +117,4 @@
</button>
</div>
</nav>
</div>
</DocumentFragment>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<DocumentFragment>
<nav
aria-label="Appbar Tools"
class="MuiPaper-root MuiPaper-elevation MuiPaper-elevation1 MuiAppBar-root MuiAppBar-colorPrimary MuiAppBar-positionFixed mui-fixed css-1nczbvg-MuiPaper-root-MuiAppBar-root"
Expand Down Expand Up @@ -108,4 +108,4 @@
</p>
</div>
</nav>
</div>
</DocumentFragment>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<DocumentFragment>
<nav
aria-label="Appbar Tools"
class="MuiPaper-root MuiPaper-elevation MuiPaper-elevation1 MuiAppBar-root MuiAppBar-colorPrimary MuiAppBar-positionFixed mui-fixed css-1nczbvg-MuiPaper-root-MuiAppBar-root"
Expand Down Expand Up @@ -105,4 +105,4 @@
/>
</div>
</nav>
</div>
</DocumentFragment>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<DocumentFragment>
<nav
aria-label="Appbar Tools"
class="MuiPaper-root MuiPaper-elevation MuiPaper-elevation1 MuiAppBar-root MuiAppBar-colorPrimary MuiAppBar-positionFixed mui-fixed css-1nczbvg-MuiPaper-root-MuiAppBar-root"
Expand Down Expand Up @@ -133,4 +133,4 @@
</button>
</div>
</nav>
</div>
</DocumentFragment>
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
<div
aria-hidden="true"
/>
<DocumentFragment />
Loading

0 comments on commit 0dad41e

Please sign in to comment.