* Create multiselect car table control Remove table overflow containers * Include trim to add car form * CEC-252 Replace modal status with link to car details page * Remove send command from car status page Fix menu key warning * Change car command control data Add Grafana menu items * Revert
276 lines
7.2 KiB
Plaintext
276 lines
7.2 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`SideMenu Authenticated 1`] = `
|
|
<div>
|
|
<div
|
|
data-testid="mocked-userprovider"
|
|
>
|
|
<ul
|
|
class="MuiList-root MuiList-padding"
|
|
>
|
|
<li>
|
|
<a
|
|
aria-disabled="false"
|
|
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-button"
|
|
href="/home"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
<div
|
|
class="MuiListItemText-root"
|
|
>
|
|
<span
|
|
class="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
|
|
>
|
|
Home
|
|
</span>
|
|
</div>
|
|
<span
|
|
class="MuiTouchRipple-root"
|
|
/>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a
|
|
aria-disabled="false"
|
|
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-button"
|
|
href="/dashboard"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
<div
|
|
class="MuiListItemText-root"
|
|
>
|
|
<span
|
|
class="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
|
|
>
|
|
Dashboard
|
|
</span>
|
|
</div>
|
|
<span
|
|
class="MuiTouchRipple-root"
|
|
/>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a
|
|
aria-disabled="false"
|
|
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-button"
|
|
href="/updates"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
<div
|
|
class="MuiListItemText-root"
|
|
>
|
|
<span
|
|
class="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
|
|
>
|
|
Deploy Packages
|
|
</span>
|
|
</div>
|
|
<span
|
|
class="MuiTouchRipple-root"
|
|
/>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a
|
|
aria-disabled="false"
|
|
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-button"
|
|
href="/package-upload"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
<div
|
|
class="MuiListItemText-root"
|
|
>
|
|
<span
|
|
class="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
|
|
>
|
|
Create Package
|
|
</span>
|
|
</div>
|
|
<span
|
|
class="MuiTouchRipple-root"
|
|
/>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a
|
|
aria-disabled="false"
|
|
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-button"
|
|
href="/vehicles"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
<div
|
|
class="MuiListItemText-root"
|
|
>
|
|
<span
|
|
class="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
|
|
>
|
|
View Vehicles
|
|
</span>
|
|
</div>
|
|
<span
|
|
class="MuiTouchRipple-root"
|
|
/>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a
|
|
aria-disabled="false"
|
|
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-button"
|
|
href="/vehicle-add"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
<div
|
|
class="MuiListItemText-root"
|
|
>
|
|
<span
|
|
class="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
|
|
>
|
|
Add Vehicle
|
|
</span>
|
|
</div>
|
|
<span
|
|
class="MuiTouchRipple-root"
|
|
/>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a
|
|
aria-disabled="false"
|
|
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-button"
|
|
href="/vehicles-command"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
<div
|
|
class="MuiListItemText-root"
|
|
>
|
|
<span
|
|
class="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
|
|
>
|
|
Send Command
|
|
</span>
|
|
</div>
|
|
<span
|
|
class="MuiTouchRipple-root"
|
|
/>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a
|
|
aria-disabled="false"
|
|
class="MuiTypography-root MuiLink-root MuiLink-underlineHover MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-button MuiTypography-colorPrimary"
|
|
href="https://grafana.fiskerdps.com"
|
|
rel="noopener"
|
|
role="button"
|
|
style="text-decoration: inherit;"
|
|
tabindex="0"
|
|
target="_blank"
|
|
>
|
|
<div
|
|
class="MuiListItemText-root"
|
|
>
|
|
<span
|
|
class="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
|
|
>
|
|
Create Charts
|
|
</span>
|
|
</div>
|
|
<span
|
|
class="MuiTouchRipple-root"
|
|
/>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`SideMenu Unauthenticated 1`] = `
|
|
<div>
|
|
<div
|
|
data-testid="mocked-userprovider"
|
|
>
|
|
<ul
|
|
class="MuiList-root MuiList-padding"
|
|
>
|
|
<li>
|
|
<a
|
|
aria-disabled="false"
|
|
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-button"
|
|
href="/home"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
<div
|
|
class="MuiListItemText-root"
|
|
>
|
|
<span
|
|
class="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
|
|
>
|
|
Home
|
|
</span>
|
|
</div>
|
|
<span
|
|
class="MuiTouchRipple-root"
|
|
/>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a
|
|
aria-disabled="false"
|
|
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-button"
|
|
href="/dashboard"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
<div
|
|
class="MuiListItemText-root"
|
|
>
|
|
<span
|
|
class="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
|
|
>
|
|
Dashboard
|
|
</span>
|
|
</div>
|
|
<span
|
|
class="MuiTouchRipple-root"
|
|
/>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a
|
|
aria-disabled="false"
|
|
class="MuiTypography-root MuiLink-root MuiLink-underlineHover MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-button MuiTypography-colorPrimary"
|
|
href="https://grafana.fiskerdps.com"
|
|
rel="noopener"
|
|
role="button"
|
|
style="text-decoration: inherit;"
|
|
tabindex="0"
|
|
target="_blank"
|
|
>
|
|
<div
|
|
class="MuiListItemText-root"
|
|
>
|
|
<span
|
|
class="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
|
|
>
|
|
Create Charts
|
|
</span>
|
|
</div>
|
|
<span
|
|
class="MuiTouchRipple-root"
|
|
/>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
`;
|