Skip to content

Commit

Permalink
test: bump snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
Tethik committed May 21, 2024
1 parent e2ff01b commit a3962ac
Show file tree
Hide file tree
Showing 3 changed files with 177 additions and 153 deletions.
100 changes: 54 additions & 46 deletions app/src/components/home/__snapshots__/Home.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,60 @@ exports[`Home renders Home 1`] = `
"baseElement": <body>
<div>
<div
class="page bump MuiBox-root css-0"
class="MuiGrid-root MuiGrid-container css-go2vvz-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-item css-oo6ucr-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-container MuiGrid-spacing-xs-2 css-1fwwhll-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-6 css-14uoix4-MuiGrid-root"
>
<h5
class="MuiTypography-root MuiTypography-h5 css-ag7rrr-MuiTypography-root"
>
Recent Threat Models
</h5>
<p
class="MuiTypography-root MuiTypography-body1 dimmed css-ahj2mt-MuiTypography-root"
>
Threat models you recently interacted with
</p>
<div
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 MuiCard-root css-d5ceyd-MuiPaper-root-MuiCard-root"
>
<div
class="MuiCardContent-root css-46bh2p-MuiCardContent-root"
>
<ul
class="MuiList-root MuiList-padding css-h4y409-MuiList-root"
>
<div
class="MuiListItemText-root css-tlelie-MuiListItemText-root"
>
<span
class="MuiTypography-root MuiTypography-body1 MuiListItemText-primary css-10hburv-MuiTypography-root"
>
No models exist
</span>
</div>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>,
"container": <div>
<div
class="MuiGrid-root MuiGrid-container css-go2vvz-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-item css-oo6ucr-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-container MuiGrid-spacing-xs-2 css-1fwwhll-MuiGrid-root"
Expand Down Expand Up @@ -49,51 +102,6 @@ exports[`Home renders Home 1`] = `
</div>
</div>
</div>
</body>,
"container": <div>
<div
class="page bump MuiBox-root css-0"
>
<div
class="MuiGrid-root MuiGrid-container MuiGrid-spacing-xs-2 css-1fwwhll-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-6 css-14uoix4-MuiGrid-root"
>
<h5
class="MuiTypography-root MuiTypography-h5 css-ag7rrr-MuiTypography-root"
>
Recent Threat Models
</h5>
<p
class="MuiTypography-root MuiTypography-body1 dimmed css-ahj2mt-MuiTypography-root"
>
Threat models you recently interacted with
</p>
<div
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 MuiCard-root css-d5ceyd-MuiPaper-root-MuiCard-root"
>
<div
class="MuiCardContent-root css-46bh2p-MuiCardContent-root"
>
<ul
class="MuiList-root MuiList-padding css-h4y409-MuiList-root"
>
<div
class="MuiListItemText-root css-tlelie-MuiListItemText-root"
>
<span
class="MuiTypography-root MuiTypography-body1 MuiListItemText-primary css-10hburv-MuiTypography-root"
>
No models exist
</span>
</div>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>,
"debug": [Function],
"findAllByAltText": [Function],
Expand Down
68 changes: 38 additions & 30 deletions app/src/components/systems/Search/__snapshots__/Search.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,32 @@ exports[`Search renders Search 1`] = `
"baseElement": <body>
<div>
<div
class="page bump MuiBox-root css-0"
class="MuiGrid-root MuiGrid-container css-go2vvz-MuiGrid-root"
>
<div
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 MuiCard-root css-1b048bk-MuiPaper-root-MuiCard-root"
class="MuiGrid-root MuiGrid-item css-oo6ucr-MuiGrid-root"
>
<div
class="MuiCardContent-root css-46bh2p-MuiCardContent-root"
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 MuiCard-root css-1b048bk-MuiPaper-root-MuiCard-root"
>
<h5
class="MuiTypography-root MuiTypography-h5 css-ag7rrr-MuiTypography-root"
>
Search results for "
"
</h5>
<div
class="loading"
class="MuiCardContent-root css-46bh2p-MuiCardContent-root"
>
<div />
<div />
<div />
<div />
<h5
class="MuiTypography-root MuiTypography-h5 css-ag7rrr-MuiTypography-root"
>
Search results for "
"
</h5>
<div
class="loading"
>
<div />
<div />
<div />
<div />
</div>
</div>
</div>
</div>
Expand All @@ -36,28 +40,32 @@ exports[`Search renders Search 1`] = `
</body>,
"container": <div>
<div
class="page bump MuiBox-root css-0"
class="MuiGrid-root MuiGrid-container css-go2vvz-MuiGrid-root"
>
<div
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 MuiCard-root css-1b048bk-MuiPaper-root-MuiCard-root"
class="MuiGrid-root MuiGrid-item css-oo6ucr-MuiGrid-root"
>
<div
class="MuiCardContent-root css-46bh2p-MuiCardContent-root"
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 MuiCard-root css-1b048bk-MuiPaper-root-MuiCard-root"
>
<h5
class="MuiTypography-root MuiTypography-h5 css-ag7rrr-MuiTypography-root"
>
Search results for "
"
</h5>
<div
class="loading"
class="MuiCardContent-root css-46bh2p-MuiCardContent-root"
>
<div />
<div />
<div />
<div />
<h5
class="MuiTypography-root MuiTypography-h5 css-ag7rrr-MuiTypography-root"
>
Search results for "
"
</h5>
<div
class="loading"
>
<div />
<div />
<div />
<div />
</div>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,91 @@ exports[`UserModels renders 1`] = `
"baseElement": <body>
<div>
<div
class="page bump MuiBox-root css-0"
class="MuiGrid-root MuiGrid-container css-go2vvz-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-item css-oo6ucr-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-container css-11lq3yg-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-6 css-1osj8n2-MuiGrid-root"
>
<h5
class="MuiTypography-root MuiTypography-h5 css-ag7rrr-MuiTypography-root"
>
Your Models
</h5>
<p
class="MuiTypography-root MuiTypography-body1 dimmed css-ahj2mt-MuiTypography-root"
>
These models are bound to your account and not bound to a specific system.
</p>
<br />
<div
class="MuiBox-root css-0"
>
<a
href="/model/new"
>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium css-1rwt2y5-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
>
Create New Model
<span
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</button>
</a>
</div>
<br />
<hr
class="MuiDivider-root MuiDivider-fullWidth css-9mgopn-MuiDivider-root"
/>
<div
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 MuiCard-root css-d5ceyd-MuiPaper-root-MuiCard-root"
>
<div
class="MuiCardContent-root css-46bh2p-MuiCardContent-root"
>
<div
class="loading"
>
<div />
<div />
<div />
<div />
</div>
<ul
class="MuiList-root MuiList-padding css-h4y409-MuiList-root"
>
<div
class="MuiListItemText-root css-tlelie-MuiListItemText-root"
>
<span
class="MuiTypography-root MuiTypography-body1 MuiListItemText-primary css-10hburv-MuiTypography-root"
>
No models exist
</span>
</div>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>,
"container": <div>
<div
class="MuiGrid-root MuiGrid-container css-go2vvz-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-item css-oo6ucr-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-container css-11lq3yg-MuiGrid-root"
Expand Down Expand Up @@ -80,82 +164,6 @@ exports[`UserModels renders 1`] = `
</div>
</div>
</div>
</body>,
"container": <div>
<div
class="page bump MuiBox-root css-0"
>
<div
class="MuiGrid-root MuiGrid-container css-11lq3yg-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-6 css-1osj8n2-MuiGrid-root"
>
<h5
class="MuiTypography-root MuiTypography-h5 css-ag7rrr-MuiTypography-root"
>
Your Models
</h5>
<p
class="MuiTypography-root MuiTypography-body1 dimmed css-ahj2mt-MuiTypography-root"
>
These models are bound to your account and not bound to a specific system.
</p>
<br />
<div
class="MuiBox-root css-0"
>
<a
href="/model/new"
>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium css-1rwt2y5-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
>
Create New Model
<span
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</button>
</a>
</div>
<br />
<hr
class="MuiDivider-root MuiDivider-fullWidth css-9mgopn-MuiDivider-root"
/>
<div
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 MuiCard-root css-d5ceyd-MuiPaper-root-MuiCard-root"
>
<div
class="MuiCardContent-root css-46bh2p-MuiCardContent-root"
>
<div
class="loading"
>
<div />
<div />
<div />
<div />
</div>
<ul
class="MuiList-root MuiList-padding css-h4y409-MuiList-root"
>
<div
class="MuiListItemText-root css-tlelie-MuiListItemText-root"
>
<span
class="MuiTypography-root MuiTypography-body1 MuiListItemText-primary css-10hburv-MuiTypography-root"
>
No models exist
</span>
</div>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>,
"debug": [Function],
"findAllByAltText": [Function],
Expand Down

0 comments on commit a3962ac

Please sign in to comment.