* Display download progress * Change default * Fix * Fix * Update readme * Update readme and defaults Fix Dockerfile
4741 lines
157 KiB
Plaintext
4741 lines
157 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||
|
||
exports[`App Route / authenticated 1`] = `
|
||
<div>
|
||
<div
|
||
data-testid="mocked-userprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-root-242"
|
||
>
|
||
<header
|
||
class="MuiPaper-root MuiAppBar-root MuiAppBar-positionFixed MuiAppBar-colorPrimary makeStyles-appBar-243 makeStyles-appBarShift-244 mui-00000fixed MuiPaper-elevation4"
|
||
>
|
||
<div
|
||
class="MuiToolbar-root MuiToolbar-regular MuiToolbar-gutters"
|
||
>
|
||
<button
|
||
aria-label="open drawer"
|
||
class="MuiButtonBase-root MuiIconButton-root makeStyles-menuButton-245 MuiIconButton-colorInherit MuiIconButton-edgeStart"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
<h6
|
||
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap"
|
||
>
|
||
Fisker OTA Portal
|
||
</h6>
|
||
<button
|
||
class="MuiButtonBase-root MuiButton-root MuiButton-text makeStyles-rightToolbar-252 MuiButton-colorInherit"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiButton-label"
|
||
>
|
||
Sign Out
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
</div>
|
||
</header>
|
||
<div
|
||
class="MuiDrawer-root MuiDrawer-docked makeStyles-drawer-247"
|
||
>
|
||
<div
|
||
class="MuiPaper-root MuiDrawer-paper makeStyles-drawerPaper-248 MuiDrawer-paperAnchorLeft MuiDrawer-paperAnchorDockedLeft MuiPaper-elevation0"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-249"
|
||
>
|
||
<button
|
||
class="MuiButtonBase-root MuiIconButton-root"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
</div>
|
||
<hr
|
||
class="MuiDivider-root"
|
||
/>
|
||
<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="/updates"
|
||
role="button"
|
||
tabindex="0"
|
||
>
|
||
<div
|
||
class="MuiListItemText-root"
|
||
>
|
||
<span
|
||
class="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
|
||
>
|
||
View 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 Packages
|
||
</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 Vehicles
|
||
</span>
|
||
</div>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<main
|
||
class="makeStyles-content-250 makeStyles-contentShift-251"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-249"
|
||
/>
|
||
<main
|
||
class="MuiContainer-root MuiContainer-maxWidthLg"
|
||
>
|
||
<div
|
||
class="makeStyles-paper-233"
|
||
>
|
||
<h1
|
||
class="MuiTypography-root MuiTypography-h5"
|
||
>
|
||
Welcome John!
|
||
</h1>
|
||
</div>
|
||
</main>
|
||
</main>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
`;
|
||
|
||
exports[`App Route / unauthenticated 1`] = `
|
||
<div>
|
||
<div
|
||
data-testid="mocked-userprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-root-12"
|
||
>
|
||
<header
|
||
class="MuiPaper-root MuiAppBar-root MuiAppBar-positionFixed MuiAppBar-colorPrimary makeStyles-appBar-13 mui-00000fixed MuiPaper-elevation4"
|
||
>
|
||
<div
|
||
class="MuiToolbar-root MuiToolbar-regular MuiToolbar-gutters"
|
||
>
|
||
<h6
|
||
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap"
|
||
>
|
||
Fisker OTA Portal
|
||
</h6>
|
||
</div>
|
||
</header>
|
||
<main
|
||
class="makeStyles-content-20"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-19"
|
||
/>
|
||
<main
|
||
class="MuiContainer-root MuiContainer-maxWidthLg"
|
||
>
|
||
<div
|
||
class="makeStyles-paper-3"
|
||
style="justify-content: center;"
|
||
>
|
||
<a
|
||
aria-disabled="false"
|
||
class="MuiButtonBase-root MuiButton-root MuiButton-contained makeStyles-submit-6 MuiButton-containedPrimary"
|
||
href="https://cognito.com/authorize?redirect=https://example.com/callback"
|
||
tabindex="0"
|
||
>
|
||
<span
|
||
class="MuiButton-label"
|
||
>
|
||
Sign In
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</a>
|
||
</div>
|
||
</main>
|
||
</main>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
`;
|
||
|
||
exports[`App Route /carupdate-deploy authenticated 1`] = `
|
||
<div>
|
||
<div
|
||
data-testid="mocked-userprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-root-392"
|
||
>
|
||
<header
|
||
class="MuiPaper-root MuiAppBar-root MuiAppBar-positionFixed MuiAppBar-colorPrimary makeStyles-appBar-393 makeStyles-appBarShift-394 mui-00000fixed MuiPaper-elevation4"
|
||
>
|
||
<div
|
||
class="MuiToolbar-root MuiToolbar-regular MuiToolbar-gutters"
|
||
>
|
||
<button
|
||
aria-label="open drawer"
|
||
class="MuiButtonBase-root MuiIconButton-root makeStyles-menuButton-395 MuiIconButton-colorInherit MuiIconButton-edgeStart"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
<h6
|
||
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap"
|
||
>
|
||
Fisker OTA Portal
|
||
</h6>
|
||
<button
|
||
class="MuiButtonBase-root MuiButton-root MuiButton-text makeStyles-rightToolbar-402 MuiButton-colorInherit"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiButton-label"
|
||
>
|
||
Sign Out
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
</div>
|
||
</header>
|
||
<div
|
||
class="MuiDrawer-root MuiDrawer-docked makeStyles-drawer-397"
|
||
>
|
||
<div
|
||
class="MuiPaper-root MuiDrawer-paper makeStyles-drawerPaper-398 MuiDrawer-paperAnchorLeft MuiDrawer-paperAnchorDockedLeft MuiPaper-elevation0"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-399"
|
||
>
|
||
<button
|
||
class="MuiButtonBase-root MuiIconButton-root"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
</div>
|
||
<hr
|
||
class="MuiDivider-root"
|
||
/>
|
||
<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="/updates"
|
||
role="button"
|
||
tabindex="0"
|
||
>
|
||
<div
|
||
class="MuiListItemText-root"
|
||
>
|
||
<span
|
||
class="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
|
||
>
|
||
View 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 Packages
|
||
</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 Vehicles
|
||
</span>
|
||
</div>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<main
|
||
class="makeStyles-content-400 makeStyles-contentShift-401"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-399"
|
||
/>
|
||
<main
|
||
class="MuiContainer-root MuiContainer-maxWidthLg"
|
||
>
|
||
<div
|
||
data-testid="mocked-vehicleprovider"
|
||
>
|
||
<div
|
||
data-testid="mocked-updatesprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-paper-383"
|
||
>
|
||
<h1
|
||
class="MuiTypography-root MuiTypography-h5"
|
||
>
|
||
Deploy
|
||
[1]
|
||
</h1>
|
||
<form
|
||
action="{onSubmit}"
|
||
class="makeStyles-form-385"
|
||
novalidate=""
|
||
>
|
||
<div
|
||
class="MuiFormControl-root MuiTextField-root MuiFormControl-marginNormal MuiFormControl-fullWidth"
|
||
>
|
||
<label
|
||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-marginDense MuiInputLabel-filled"
|
||
data-shrink="false"
|
||
>
|
||
Create Date
|
||
</label>
|
||
<div
|
||
class="MuiInputBase-root MuiFilledInput-root MuiFilledInput-underline MuiInputBase-fullWidth MuiInputBase-formControl MuiInputBase-marginDense MuiFilledInput-marginDense"
|
||
>
|
||
<input
|
||
aria-invalid="false"
|
||
class="MuiInputBase-input MuiFilledInput-input MuiInputBase-inputMarginDense MuiFilledInput-inputMarginDense"
|
||
readonly=""
|
||
type="text"
|
||
value=""
|
||
/>
|
||
</div>
|
||
</div>
|
||
<div
|
||
class="MuiFormControl-root MuiTextField-root MuiFormControl-marginNormal MuiFormControl-fullWidth"
|
||
>
|
||
<label
|
||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-marginDense MuiInputLabel-filled"
|
||
data-shrink="false"
|
||
for="link"
|
||
id="link-label"
|
||
>
|
||
Package link
|
||
</label>
|
||
<div
|
||
class="MuiInputBase-root MuiFilledInput-root MuiFilledInput-underline MuiInputBase-fullWidth MuiInputBase-formControl MuiInputBase-marginDense MuiFilledInput-marginDense"
|
||
>
|
||
<input
|
||
aria-invalid="false"
|
||
class="MuiInputBase-input MuiFilledInput-input MuiInputBase-inputMarginDense MuiFilledInput-inputMarginDense"
|
||
id="link"
|
||
name="link"
|
||
readonly=""
|
||
type="text"
|
||
value=""
|
||
/>
|
||
</div>
|
||
</div>
|
||
<div
|
||
class="MuiFormControl-root MuiTextField-root MuiFormControl-marginNormal MuiFormControl-fullWidth"
|
||
>
|
||
<label
|
||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-marginDense MuiInputLabel-filled"
|
||
data-shrink="false"
|
||
for="description"
|
||
id="description-label"
|
||
>
|
||
Description
|
||
</label>
|
||
<div
|
||
class="MuiInputBase-root MuiFilledInput-root MuiFilledInput-underline MuiInputBase-fullWidth MuiInputBase-formControl MuiInputBase-multiline MuiFilledInput-multiline MuiInputBase-marginDense MuiFilledInput-marginDense"
|
||
>
|
||
<textarea
|
||
aria-invalid="false"
|
||
class="MuiInputBase-input MuiFilledInput-input MuiInputBase-inputMultiline MuiFilledInput-inputMultiline MuiInputBase-inputMarginDense MuiFilledInput-inputMarginDense"
|
||
id="description"
|
||
name="description"
|
||
placeholder="Package description"
|
||
readonly=""
|
||
rows="4"
|
||
/>
|
||
</div>
|
||
</div>
|
||
<div
|
||
class="MuiFormControl-root MuiTextField-root MuiFormControl-marginNormal MuiFormControl-fullWidth"
|
||
>
|
||
<label
|
||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-marginDense MuiInputLabel-filled"
|
||
data-shrink="false"
|
||
for="releasenotes"
|
||
id="releasenotes-label"
|
||
>
|
||
Release Notes URL
|
||
</label>
|
||
<div
|
||
class="MuiInputBase-root MuiFilledInput-root MuiFilledInput-underline MuiInputBase-fullWidth MuiInputBase-formControl MuiInputBase-marginDense MuiFilledInput-marginDense"
|
||
>
|
||
<input
|
||
aria-invalid="false"
|
||
class="MuiInputBase-input MuiFilledInput-input MuiInputBase-inputMarginDense MuiFilledInput-inputMarginDense"
|
||
id="releasenotes"
|
||
name="releasenotes"
|
||
placeholder="Release Notes URL"
|
||
readonly=""
|
||
type="text"
|
||
value=""
|
||
/>
|
||
</div>
|
||
</div>
|
||
<div
|
||
class="MuiFormControl-root makeStyles-formControl-387 MuiFormControl-fullWidth"
|
||
>
|
||
<label
|
||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-outlined"
|
||
data-shrink="false"
|
||
for="vehicles"
|
||
>
|
||
Vehicles
|
||
</label>
|
||
<div
|
||
class="MuiInputBase-root MuiInput-root MuiInput-underline makeStyles-menuProps-390 MuiInputBase-formControl MuiInput-formControl"
|
||
>
|
||
<div
|
||
aria-haspopup="listbox"
|
||
aria-labelledby="vehicles"
|
||
class="MuiSelect-root MuiSelect-select MuiSelect-selectMenu MuiSelect-outlined MuiInputBase-input MuiInput-input"
|
||
id="vehicles"
|
||
role="button"
|
||
tabindex="0"
|
||
>
|
||
<span>
|
||
|
||
</span>
|
||
</div>
|
||
<input
|
||
aria-hidden="true"
|
||
class="MuiSelect-nativeInput"
|
||
id="select-multiple-chip"
|
||
name="vehicles"
|
||
placeholder="Select vehicles"
|
||
tabindex="-1"
|
||
value=""
|
||
/>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root MuiSelect-icon MuiSelect-iconOutlined"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M7 10l5 5 5-5z"
|
||
/>
|
||
</svg>
|
||
</div>
|
||
</div>
|
||
<button
|
||
class="MuiButtonBase-root MuiButton-root MuiButton-contained makeStyles-submit-386 MuiButton-containedPrimary MuiButton-fullWidth"
|
||
tabindex="0"
|
||
type="submit"
|
||
>
|
||
<span
|
||
class="MuiButton-label"
|
||
>
|
||
Deploy
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
</form>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</main>
|
||
</main>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
`;
|
||
|
||
exports[`App Route /carupdate-deploy unauthenticated 1`] = `
|
||
<div>
|
||
<div
|
||
data-testid="mocked-userprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-root-150"
|
||
>
|
||
<header
|
||
class="MuiPaper-root MuiAppBar-root MuiAppBar-positionFixed MuiAppBar-colorPrimary makeStyles-appBar-151 mui-00000fixed MuiPaper-elevation4"
|
||
>
|
||
<div
|
||
class="MuiToolbar-root MuiToolbar-regular MuiToolbar-gutters"
|
||
>
|
||
<h6
|
||
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap"
|
||
>
|
||
Fisker OTA Portal
|
||
</h6>
|
||
</div>
|
||
</header>
|
||
<main
|
||
class="makeStyles-content-158"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-157"
|
||
/>
|
||
<main
|
||
class="MuiContainer-root MuiContainer-maxWidthLg"
|
||
>
|
||
<div
|
||
class="makeStyles-paper-141"
|
||
style="justify-content: center;"
|
||
>
|
||
<a
|
||
aria-disabled="false"
|
||
class="MuiButtonBase-root MuiButton-root MuiButton-contained makeStyles-submit-144 MuiButton-containedPrimary"
|
||
href="https://cognito.com/authorize?redirect=https://example.com/callback"
|
||
tabindex="0"
|
||
>
|
||
<span
|
||
class="MuiButton-label"
|
||
>
|
||
Sign In
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</a>
|
||
</div>
|
||
</main>
|
||
</main>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
`;
|
||
|
||
exports[`App Route /carupdate-status authenticated 1`] = `
|
||
<div>
|
||
<div
|
||
data-testid="mocked-userprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-root-415"
|
||
>
|
||
<header
|
||
class="MuiPaper-root MuiAppBar-root MuiAppBar-positionFixed MuiAppBar-colorPrimary makeStyles-appBar-416 makeStyles-appBarShift-417 mui-00000fixed MuiPaper-elevation4"
|
||
>
|
||
<div
|
||
class="MuiToolbar-root MuiToolbar-regular MuiToolbar-gutters"
|
||
>
|
||
<button
|
||
aria-label="open drawer"
|
||
class="MuiButtonBase-root MuiIconButton-root makeStyles-menuButton-418 MuiIconButton-colorInherit MuiIconButton-edgeStart"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
<h6
|
||
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap"
|
||
>
|
||
Fisker OTA Portal
|
||
</h6>
|
||
<button
|
||
class="MuiButtonBase-root MuiButton-root MuiButton-text makeStyles-rightToolbar-425 MuiButton-colorInherit"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiButton-label"
|
||
>
|
||
Sign Out
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
</div>
|
||
</header>
|
||
<div
|
||
class="MuiDrawer-root MuiDrawer-docked makeStyles-drawer-420"
|
||
>
|
||
<div
|
||
class="MuiPaper-root MuiDrawer-paper makeStyles-drawerPaper-421 MuiDrawer-paperAnchorLeft MuiDrawer-paperAnchorDockedLeft MuiPaper-elevation0"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-422"
|
||
>
|
||
<button
|
||
class="MuiButtonBase-root MuiIconButton-root"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
</div>
|
||
<hr
|
||
class="MuiDivider-root"
|
||
/>
|
||
<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="/updates"
|
||
role="button"
|
||
tabindex="0"
|
||
>
|
||
<div
|
||
class="MuiListItemText-root"
|
||
>
|
||
<span
|
||
class="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
|
||
>
|
||
View 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 Packages
|
||
</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 Vehicles
|
||
</span>
|
||
</div>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<main
|
||
class="makeStyles-content-423 makeStyles-contentShift-424"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-422"
|
||
/>
|
||
<main
|
||
class="MuiContainer-root MuiContainer-maxWidthLg"
|
||
>
|
||
<div
|
||
data-testid="mocked-updatesprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-paper-406"
|
||
style="height: 700px; width: 100%;"
|
||
>
|
||
<h1
|
||
class="MuiTypography-root MuiTypography-h5"
|
||
/>
|
||
<div
|
||
class="MuiTableContainer-root"
|
||
>
|
||
<table
|
||
class="MuiTable-root"
|
||
>
|
||
<thead
|
||
class="MuiTableHead-root"
|
||
>
|
||
<tr
|
||
class="MuiTableRow-root MuiTableRow-head"
|
||
>
|
||
<th
|
||
class="MuiTableCell-root MuiTableCell-head MuiTableCell-alignCenter"
|
||
scope="col"
|
||
>
|
||
ID
|
||
</th>
|
||
<th
|
||
class="MuiTableCell-root MuiTableCell-head MuiTableCell-alignCenter"
|
||
scope="col"
|
||
>
|
||
Vehicle
|
||
</th>
|
||
<th
|
||
class="MuiTableCell-root MuiTableCell-head MuiTableCell-alignCenter"
|
||
scope="col"
|
||
>
|
||
Status
|
||
</th>
|
||
<th
|
||
class="MuiTableCell-root MuiTableCell-head MuiTableCell-alignCenter"
|
||
scope="col"
|
||
>
|
||
Created
|
||
</th>
|
||
<th
|
||
class="MuiTableCell-root MuiTableCell-head MuiTableCell-alignCenter"
|
||
scope="col"
|
||
>
|
||
Updated
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody
|
||
class="MuiTableBody-root"
|
||
/>
|
||
<tfoot
|
||
class="MuiTableFooter-root"
|
||
>
|
||
<tr
|
||
class="MuiTableRow-root MuiTableRow-footer"
|
||
>
|
||
<td
|
||
class="MuiTableCell-root MuiTableCell-footer MuiTablePagination-root"
|
||
colspan="5"
|
||
>
|
||
<div
|
||
class="MuiToolbar-root MuiToolbar-regular MuiTablePagination-toolbar MuiToolbar-gutters"
|
||
>
|
||
<div
|
||
class="MuiTablePagination-spacer"
|
||
/>
|
||
<p
|
||
class="MuiTypography-root MuiTablePagination-caption MuiTypography-body2 MuiTypography-colorInherit"
|
||
id="mui-00000"
|
||
>
|
||
Rows per page:
|
||
</p>
|
||
<div
|
||
class="MuiInputBase-root MuiTablePagination-input MuiTablePagination-selectRoot"
|
||
>
|
||
<select
|
||
aria-label="rows per page"
|
||
class="MuiSelect-root MuiSelect-select MuiTablePagination-select MuiInputBase-input"
|
||
id="mui-00000"
|
||
>
|
||
<option
|
||
class="MuiTablePagination-menuItem"
|
||
value="5"
|
||
>
|
||
5
|
||
</option>
|
||
<option
|
||
class="MuiTablePagination-menuItem"
|
||
value="10"
|
||
>
|
||
10
|
||
</option>
|
||
<option
|
||
class="MuiTablePagination-menuItem"
|
||
value="25"
|
||
>
|
||
25
|
||
</option>
|
||
</select>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root MuiSelect-icon MuiTablePagination-selectIcon"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M7 10l5 5 5-5z"
|
||
/>
|
||
</svg>
|
||
</div>
|
||
<p
|
||
class="MuiTypography-root MuiTablePagination-caption MuiTypography-body2 MuiTypography-colorInherit"
|
||
>
|
||
0-0 of 0
|
||
</p>
|
||
<div
|
||
class="MuiTablePagination-actions"
|
||
>
|
||
<button
|
||
aria-label="Previous page"
|
||
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorInherit Mui-disabled Mui-disabled"
|
||
disabled=""
|
||
tabindex="-1"
|
||
title="Previous page"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
</button>
|
||
<button
|
||
aria-label="Next page"
|
||
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorInherit Mui-disabled Mui-disabled"
|
||
disabled=""
|
||
tabindex="-1"
|
||
title="Next page"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
</tfoot>
|
||
</table>
|
||
</div>
|
||
<div />
|
||
</div>
|
||
</div>
|
||
</main>
|
||
</main>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
`;
|
||
|
||
exports[`App Route /carupdate-status unauthenticated 1`] = `
|
||
<div>
|
||
<div
|
||
data-testid="mocked-userprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-root-173"
|
||
>
|
||
<header
|
||
class="MuiPaper-root MuiAppBar-root MuiAppBar-positionFixed MuiAppBar-colorPrimary makeStyles-appBar-174 mui-00000fixed MuiPaper-elevation4"
|
||
>
|
||
<div
|
||
class="MuiToolbar-root MuiToolbar-regular MuiToolbar-gutters"
|
||
>
|
||
<h6
|
||
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap"
|
||
>
|
||
Fisker OTA Portal
|
||
</h6>
|
||
</div>
|
||
</header>
|
||
<main
|
||
class="makeStyles-content-181"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-180"
|
||
/>
|
||
<main
|
||
class="MuiContainer-root MuiContainer-maxWidthLg"
|
||
>
|
||
<div
|
||
class="makeStyles-paper-164"
|
||
style="justify-content: center;"
|
||
>
|
||
<a
|
||
aria-disabled="false"
|
||
class="MuiButtonBase-root MuiButton-root MuiButton-contained makeStyles-submit-167 MuiButton-containedPrimary"
|
||
href="https://cognito.com/authorize?redirect=https://example.com/callback"
|
||
tabindex="0"
|
||
>
|
||
<span
|
||
class="MuiButton-label"
|
||
>
|
||
Sign In
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</a>
|
||
</div>
|
||
</main>
|
||
</main>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
`;
|
||
|
||
exports[`App Route /home authenticated 1`] = `
|
||
<div>
|
||
<div
|
||
data-testid="mocked-userprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-root-265"
|
||
>
|
||
<header
|
||
class="MuiPaper-root MuiAppBar-root MuiAppBar-positionFixed MuiAppBar-colorPrimary makeStyles-appBar-266 makeStyles-appBarShift-267 mui-00000fixed MuiPaper-elevation4"
|
||
>
|
||
<div
|
||
class="MuiToolbar-root MuiToolbar-regular MuiToolbar-gutters"
|
||
>
|
||
<button
|
||
aria-label="open drawer"
|
||
class="MuiButtonBase-root MuiIconButton-root makeStyles-menuButton-268 MuiIconButton-colorInherit MuiIconButton-edgeStart"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
<h6
|
||
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap"
|
||
>
|
||
Fisker OTA Portal
|
||
</h6>
|
||
<button
|
||
class="MuiButtonBase-root MuiButton-root MuiButton-text makeStyles-rightToolbar-275 MuiButton-colorInherit"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiButton-label"
|
||
>
|
||
Sign Out
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
</div>
|
||
</header>
|
||
<div
|
||
class="MuiDrawer-root MuiDrawer-docked makeStyles-drawer-270"
|
||
>
|
||
<div
|
||
class="MuiPaper-root MuiDrawer-paper makeStyles-drawerPaper-271 MuiDrawer-paperAnchorLeft MuiDrawer-paperAnchorDockedLeft MuiPaper-elevation0"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-272"
|
||
>
|
||
<button
|
||
class="MuiButtonBase-root MuiIconButton-root"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
</div>
|
||
<hr
|
||
class="MuiDivider-root"
|
||
/>
|
||
<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="/updates"
|
||
role="button"
|
||
tabindex="0"
|
||
>
|
||
<div
|
||
class="MuiListItemText-root"
|
||
>
|
||
<span
|
||
class="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
|
||
>
|
||
View 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 Packages
|
||
</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 Vehicles
|
||
</span>
|
||
</div>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<main
|
||
class="makeStyles-content-273 makeStyles-contentShift-274"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-272"
|
||
/>
|
||
<main
|
||
class="MuiContainer-root MuiContainer-maxWidthLg"
|
||
>
|
||
<div
|
||
class="makeStyles-paper-256"
|
||
>
|
||
<h1
|
||
class="MuiTypography-root MuiTypography-h5"
|
||
>
|
||
Welcome John!
|
||
</h1>
|
||
</div>
|
||
</main>
|
||
</main>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
`;
|
||
|
||
exports[`App Route /home unauthenticated 1`] = `
|
||
<div>
|
||
<div
|
||
data-testid="mocked-userprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-root-35"
|
||
>
|
||
<header
|
||
class="MuiPaper-root MuiAppBar-root MuiAppBar-positionFixed MuiAppBar-colorPrimary makeStyles-appBar-36 mui-00000fixed MuiPaper-elevation4"
|
||
>
|
||
<div
|
||
class="MuiToolbar-root MuiToolbar-regular MuiToolbar-gutters"
|
||
>
|
||
<h6
|
||
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap"
|
||
>
|
||
Fisker OTA Portal
|
||
</h6>
|
||
</div>
|
||
</header>
|
||
<main
|
||
class="makeStyles-content-43"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-42"
|
||
/>
|
||
<main
|
||
class="MuiContainer-root MuiContainer-maxWidthLg"
|
||
>
|
||
<div
|
||
class="makeStyles-paper-26"
|
||
style="justify-content: center;"
|
||
>
|
||
<a
|
||
aria-disabled="false"
|
||
class="MuiButtonBase-root MuiButton-root MuiButton-contained makeStyles-submit-29 MuiButton-containedPrimary"
|
||
href="https://cognito.com/authorize?redirect=https://example.com/callback"
|
||
tabindex="0"
|
||
>
|
||
<span
|
||
class="MuiButton-label"
|
||
>
|
||
Sign In
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</a>
|
||
</div>
|
||
</main>
|
||
</main>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
`;
|
||
|
||
exports[`App Route /package-upload authenticated 1`] = `
|
||
<div>
|
||
<div
|
||
data-testid="mocked-userprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-root-288"
|
||
>
|
||
<header
|
||
class="MuiPaper-root MuiAppBar-root MuiAppBar-positionFixed MuiAppBar-colorPrimary makeStyles-appBar-289 makeStyles-appBarShift-290 mui-00000fixed MuiPaper-elevation4"
|
||
>
|
||
<div
|
||
class="MuiToolbar-root MuiToolbar-regular MuiToolbar-gutters"
|
||
>
|
||
<button
|
||
aria-label="open drawer"
|
||
class="MuiButtonBase-root MuiIconButton-root makeStyles-menuButton-291 MuiIconButton-colorInherit MuiIconButton-edgeStart"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
<h6
|
||
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap"
|
||
>
|
||
Fisker OTA Portal
|
||
</h6>
|
||
<button
|
||
class="MuiButtonBase-root MuiButton-root MuiButton-text makeStyles-rightToolbar-298 MuiButton-colorInherit"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiButton-label"
|
||
>
|
||
Sign Out
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
</div>
|
||
</header>
|
||
<div
|
||
class="MuiDrawer-root MuiDrawer-docked makeStyles-drawer-293"
|
||
>
|
||
<div
|
||
class="MuiPaper-root MuiDrawer-paper makeStyles-drawerPaper-294 MuiDrawer-paperAnchorLeft MuiDrawer-paperAnchorDockedLeft MuiPaper-elevation0"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-295"
|
||
>
|
||
<button
|
||
class="MuiButtonBase-root MuiIconButton-root"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
</div>
|
||
<hr
|
||
class="MuiDivider-root"
|
||
/>
|
||
<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="/updates"
|
||
role="button"
|
||
tabindex="0"
|
||
>
|
||
<div
|
||
class="MuiListItemText-root"
|
||
>
|
||
<span
|
||
class="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
|
||
>
|
||
View 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 Packages
|
||
</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 Vehicles
|
||
</span>
|
||
</div>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<main
|
||
class="makeStyles-content-296 makeStyles-contentShift-297"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-295"
|
||
/>
|
||
<main
|
||
class="MuiContainer-root MuiContainer-maxWidthLg"
|
||
>
|
||
<div
|
||
data-testid="mocked-fileuploadprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-paper-279"
|
||
>
|
||
<h1
|
||
class="MuiTypography-root MuiTypography-h5"
|
||
>
|
||
Create Update Package
|
||
</h1>
|
||
<form
|
||
action="{onSubmit}"
|
||
class="makeStyles-form-281"
|
||
novalidate=""
|
||
>
|
||
<div
|
||
class="MuiFormControl-root MuiTextField-root MuiFormControl-marginNormal MuiFormControl-fullWidth"
|
||
>
|
||
<label
|
||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-outlined Mui-required Mui-required"
|
||
data-shrink="false"
|
||
for="packagename"
|
||
id="packagename-label"
|
||
>
|
||
Package name
|
||
<span
|
||
aria-hidden="true"
|
||
class="MuiFormLabel-asterisk MuiInputLabel-asterisk"
|
||
>
|
||
|
||
*
|
||
</span>
|
||
</label>
|
||
<div
|
||
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-fullWidth MuiInputBase-formControl"
|
||
>
|
||
<input
|
||
aria-invalid="false"
|
||
class="MuiInputBase-input MuiOutlinedInput-input"
|
||
id="packagename"
|
||
maxlength="255"
|
||
name="packagename"
|
||
required=""
|
||
type="text"
|
||
value=""
|
||
/>
|
||
<fieldset
|
||
aria-hidden="true"
|
||
class="PrivateNotchedOutline-root-300 MuiOutlinedInput-notchedOutline"
|
||
>
|
||
<legend
|
||
class="PrivateNotchedOutline-legendLabelled-302"
|
||
>
|
||
<span>
|
||
Package name
|
||
*
|
||
</span>
|
||
</legend>
|
||
</fieldset>
|
||
</div>
|
||
</div>
|
||
<div
|
||
class="MuiFormControl-root MuiTextField-root MuiFormControl-marginNormal MuiFormControl-fullWidth"
|
||
>
|
||
<label
|
||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-outlined Mui-required Mui-required"
|
||
data-shrink="false"
|
||
for="version"
|
||
id="version-label"
|
||
>
|
||
Version
|
||
<span
|
||
aria-hidden="true"
|
||
class="MuiFormLabel-asterisk MuiInputLabel-asterisk"
|
||
>
|
||
|
||
*
|
||
</span>
|
||
</label>
|
||
<div
|
||
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-fullWidth MuiInputBase-formControl"
|
||
>
|
||
<input
|
||
aria-invalid="false"
|
||
class="MuiInputBase-input MuiOutlinedInput-input"
|
||
id="version"
|
||
maxlength="255"
|
||
name="version"
|
||
required=""
|
||
type="text"
|
||
value=""
|
||
/>
|
||
<fieldset
|
||
aria-hidden="true"
|
||
class="PrivateNotchedOutline-root-300 MuiOutlinedInput-notchedOutline"
|
||
>
|
||
<legend
|
||
class="PrivateNotchedOutline-legendLabelled-302"
|
||
>
|
||
<span>
|
||
Version
|
||
*
|
||
</span>
|
||
</legend>
|
||
</fieldset>
|
||
</div>
|
||
</div>
|
||
<div
|
||
class="MuiFormControl-root MuiTextField-root MuiFormControl-marginNormal MuiFormControl-fullWidth"
|
||
>
|
||
<label
|
||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-outlined Mui-required Mui-required"
|
||
data-shrink="false"
|
||
for="description"
|
||
id="description-label"
|
||
>
|
||
Description
|
||
<span
|
||
aria-hidden="true"
|
||
class="MuiFormLabel-asterisk MuiInputLabel-asterisk"
|
||
>
|
||
|
||
*
|
||
</span>
|
||
</label>
|
||
<div
|
||
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-fullWidth MuiInputBase-formControl MuiInputBase-multiline MuiOutlinedInput-multiline"
|
||
>
|
||
<textarea
|
||
aria-invalid="false"
|
||
class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputMultiline MuiOutlinedInput-inputMultiline"
|
||
id="description"
|
||
maxlength="5120"
|
||
name="description"
|
||
placeholder="Package description"
|
||
required=""
|
||
rows="4"
|
||
/>
|
||
<fieldset
|
||
aria-hidden="true"
|
||
class="PrivateNotchedOutline-root-300 MuiOutlinedInput-notchedOutline"
|
||
>
|
||
<legend
|
||
class="PrivateNotchedOutline-legendLabelled-302"
|
||
>
|
||
<span>
|
||
Description
|
||
*
|
||
</span>
|
||
</legend>
|
||
</fieldset>
|
||
</div>
|
||
</div>
|
||
<div
|
||
class="MuiFormControl-root MuiTextField-root MuiFormControl-marginNormal MuiFormControl-fullWidth"
|
||
>
|
||
<label
|
||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-outlined Mui-required Mui-required"
|
||
data-shrink="false"
|
||
for="releasenotes"
|
||
id="releasenotes-label"
|
||
>
|
||
Release Notes URL
|
||
<span
|
||
aria-hidden="true"
|
||
class="MuiFormLabel-asterisk MuiInputLabel-asterisk"
|
||
>
|
||
|
||
*
|
||
</span>
|
||
</label>
|
||
<div
|
||
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-fullWidth MuiInputBase-formControl"
|
||
>
|
||
<input
|
||
aria-invalid="false"
|
||
class="MuiInputBase-input MuiOutlinedInput-input"
|
||
id="releasenotes"
|
||
maxlength="1024"
|
||
name="releasenotes"
|
||
placeholder="Release Notes URL"
|
||
required=""
|
||
type="text"
|
||
value=""
|
||
/>
|
||
<fieldset
|
||
aria-hidden="true"
|
||
class="PrivateNotchedOutline-root-300 MuiOutlinedInput-notchedOutline"
|
||
>
|
||
<legend
|
||
class="PrivateNotchedOutline-legendLabelled-302"
|
||
>
|
||
<span>
|
||
Release Notes URL
|
||
*
|
||
</span>
|
||
</legend>
|
||
</fieldset>
|
||
</div>
|
||
</div>
|
||
<div
|
||
class="MuiDropzoneArea-root"
|
||
tabindex="0"
|
||
>
|
||
<input
|
||
accept=""
|
||
autocomplete="off"
|
||
style="display: none;"
|
||
tabindex="-1"
|
||
type="file"
|
||
/>
|
||
<div
|
||
class="MuiDropzoneArea-textContainer"
|
||
>
|
||
<p
|
||
class="MuiTypography-root MuiDropzoneArea-text MuiTypography-h5"
|
||
>
|
||
Drag and drop a file here or click
|
||
</p>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root MuiDropzoneArea-icon"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"
|
||
/>
|
||
</svg>
|
||
</div>
|
||
</div>
|
||
<button
|
||
class="MuiButtonBase-root MuiButton-root MuiButton-contained makeStyles-submit-282 MuiButton-containedPrimary MuiButton-fullWidth"
|
||
tabindex="0"
|
||
type="submit"
|
||
>
|
||
<span
|
||
class="MuiButton-label"
|
||
>
|
||
Submit
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
</form>
|
||
</div>
|
||
</div>
|
||
</main>
|
||
</main>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
`;
|
||
|
||
exports[`App Route /package-upload unauthenticated 1`] = `
|
||
<div>
|
||
<div
|
||
data-testid="mocked-userprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-root-58"
|
||
>
|
||
<header
|
||
class="MuiPaper-root MuiAppBar-root MuiAppBar-positionFixed MuiAppBar-colorPrimary makeStyles-appBar-59 mui-00000fixed MuiPaper-elevation4"
|
||
>
|
||
<div
|
||
class="MuiToolbar-root MuiToolbar-regular MuiToolbar-gutters"
|
||
>
|
||
<h6
|
||
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap"
|
||
>
|
||
Fisker OTA Portal
|
||
</h6>
|
||
</div>
|
||
</header>
|
||
<main
|
||
class="makeStyles-content-66"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-65"
|
||
/>
|
||
<main
|
||
class="MuiContainer-root MuiContainer-maxWidthLg"
|
||
>
|
||
<div
|
||
class="makeStyles-paper-49"
|
||
style="justify-content: center;"
|
||
>
|
||
<a
|
||
aria-disabled="false"
|
||
class="MuiButtonBase-root MuiButton-root MuiButton-contained makeStyles-submit-52 MuiButton-containedPrimary"
|
||
href="https://cognito.com/authorize?redirect=https://example.com/callback"
|
||
tabindex="0"
|
||
>
|
||
<span
|
||
class="MuiButton-label"
|
||
>
|
||
Sign In
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</a>
|
||
</div>
|
||
</main>
|
||
</main>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
`;
|
||
|
||
exports[`App Route /page-not-found authenticated 1`] = `
|
||
<div>
|
||
<div
|
||
data-testid="mocked-userprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-root-507"
|
||
>
|
||
<header
|
||
class="MuiPaper-root MuiAppBar-root MuiAppBar-positionFixed MuiAppBar-colorPrimary makeStyles-appBar-508 makeStyles-appBarShift-509 mui-00000fixed MuiPaper-elevation4"
|
||
>
|
||
<div
|
||
class="MuiToolbar-root MuiToolbar-regular MuiToolbar-gutters"
|
||
>
|
||
<button
|
||
aria-label="open drawer"
|
||
class="MuiButtonBase-root MuiIconButton-root makeStyles-menuButton-510 MuiIconButton-colorInherit MuiIconButton-edgeStart"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
<h6
|
||
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap"
|
||
>
|
||
Fisker OTA Portal
|
||
</h6>
|
||
<button
|
||
class="MuiButtonBase-root MuiButton-root MuiButton-text makeStyles-rightToolbar-517 MuiButton-colorInherit"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiButton-label"
|
||
>
|
||
Sign Out
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
</div>
|
||
</header>
|
||
<div
|
||
class="MuiDrawer-root MuiDrawer-docked makeStyles-drawer-512"
|
||
>
|
||
<div
|
||
class="MuiPaper-root MuiDrawer-paper makeStyles-drawerPaper-513 MuiDrawer-paperAnchorLeft MuiDrawer-paperAnchorDockedLeft MuiPaper-elevation0"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-514"
|
||
>
|
||
<button
|
||
class="MuiButtonBase-root MuiIconButton-root"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
</div>
|
||
<hr
|
||
class="MuiDivider-root"
|
||
/>
|
||
<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="/updates"
|
||
role="button"
|
||
tabindex="0"
|
||
>
|
||
<div
|
||
class="MuiListItemText-root"
|
||
>
|
||
<span
|
||
class="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
|
||
>
|
||
View 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 Packages
|
||
</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 Vehicles
|
||
</span>
|
||
</div>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<main
|
||
class="makeStyles-content-515 makeStyles-contentShift-516"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-514"
|
||
/>
|
||
<main
|
||
class="MuiContainer-root MuiContainer-maxWidthLg"
|
||
>
|
||
<div
|
||
class="makeStyles-paper-498"
|
||
>
|
||
<h1
|
||
class="MuiTypography-root MuiTypography-h2"
|
||
>
|
||
Page Not Found
|
||
</h1>
|
||
</div>
|
||
</main>
|
||
</main>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
`;
|
||
|
||
exports[`App Route /page-not-found unauthenticated 1`] = `
|
||
<div>
|
||
<div
|
||
data-testid="mocked-userprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-root-484"
|
||
>
|
||
<header
|
||
class="MuiPaper-root MuiAppBar-root MuiAppBar-positionFixed MuiAppBar-colorPrimary makeStyles-appBar-485 mui-00000fixed MuiPaper-elevation4"
|
||
>
|
||
<div
|
||
class="MuiToolbar-root MuiToolbar-regular MuiToolbar-gutters"
|
||
>
|
||
<h6
|
||
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap"
|
||
>
|
||
Fisker OTA Portal
|
||
</h6>
|
||
</div>
|
||
</header>
|
||
<main
|
||
class="makeStyles-content-492"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-491"
|
||
/>
|
||
<main
|
||
class="MuiContainer-root MuiContainer-maxWidthLg"
|
||
>
|
||
<div
|
||
class="makeStyles-paper-475"
|
||
>
|
||
<h1
|
||
class="MuiTypography-root MuiTypography-h2"
|
||
>
|
||
Page Not Found
|
||
</h1>
|
||
</div>
|
||
</main>
|
||
</main>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
`;
|
||
|
||
exports[`App Route /update authenticated 1`] = `
|
||
<div>
|
||
<div
|
||
data-testid="mocked-userprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-root-365"
|
||
>
|
||
<header
|
||
class="MuiPaper-root MuiAppBar-root MuiAppBar-positionFixed MuiAppBar-colorPrimary makeStyles-appBar-366 makeStyles-appBarShift-367 mui-00000fixed MuiPaper-elevation4"
|
||
>
|
||
<div
|
||
class="MuiToolbar-root MuiToolbar-regular MuiToolbar-gutters"
|
||
>
|
||
<button
|
||
aria-label="open drawer"
|
||
class="MuiButtonBase-root MuiIconButton-root makeStyles-menuButton-368 MuiIconButton-colorInherit MuiIconButton-edgeStart"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
<h6
|
||
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap"
|
||
>
|
||
Fisker OTA Portal
|
||
</h6>
|
||
<button
|
||
class="MuiButtonBase-root MuiButton-root MuiButton-text makeStyles-rightToolbar-375 MuiButton-colorInherit"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiButton-label"
|
||
>
|
||
Sign Out
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
</div>
|
||
</header>
|
||
<div
|
||
class="MuiDrawer-root MuiDrawer-docked makeStyles-drawer-370"
|
||
>
|
||
<div
|
||
class="MuiPaper-root MuiDrawer-paper makeStyles-drawerPaper-371 MuiDrawer-paperAnchorLeft MuiDrawer-paperAnchorDockedLeft MuiPaper-elevation0"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-372"
|
||
>
|
||
<button
|
||
class="MuiButtonBase-root MuiIconButton-root"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
</div>
|
||
<hr
|
||
class="MuiDivider-root"
|
||
/>
|
||
<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="/updates"
|
||
role="button"
|
||
tabindex="0"
|
||
>
|
||
<div
|
||
class="MuiListItemText-root"
|
||
>
|
||
<span
|
||
class="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
|
||
>
|
||
View 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 Packages
|
||
</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 Vehicles
|
||
</span>
|
||
</div>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<main
|
||
class="makeStyles-content-373 makeStyles-contentShift-374"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-372"
|
||
/>
|
||
<main
|
||
class="MuiContainer-root MuiContainer-maxWidthLg"
|
||
>
|
||
<div
|
||
data-testid="mocked-updatesprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-paper-356"
|
||
>
|
||
<h1
|
||
class="MuiTypography-root MuiTypography-h5"
|
||
>
|
||
Edit Update Package
|
||
1
|
||
</h1>
|
||
<form
|
||
action="{onSubmit}"
|
||
class="makeStyles-form-358"
|
||
novalidate=""
|
||
>
|
||
<div
|
||
class="MuiFormControl-root MuiTextField-root MuiFormControl-marginNormal MuiFormControl-fullWidth"
|
||
>
|
||
<label
|
||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-filled"
|
||
data-shrink="false"
|
||
>
|
||
Create Date
|
||
</label>
|
||
<div
|
||
class="MuiInputBase-root MuiFilledInput-root MuiFilledInput-underline MuiInputBase-fullWidth MuiInputBase-formControl"
|
||
>
|
||
<input
|
||
aria-invalid="false"
|
||
class="MuiInputBase-input MuiFilledInput-input"
|
||
maxlength="1024"
|
||
readonly=""
|
||
type="text"
|
||
value=""
|
||
/>
|
||
</div>
|
||
</div>
|
||
<div
|
||
class="MuiFormControl-root MuiTextField-root MuiFormControl-marginNormal MuiFormControl-fullWidth"
|
||
>
|
||
<label
|
||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-outlined Mui-required Mui-required"
|
||
data-shrink="false"
|
||
for="packagename"
|
||
id="packagename-label"
|
||
>
|
||
Package name
|
||
<span
|
||
aria-hidden="true"
|
||
class="MuiFormLabel-asterisk MuiInputLabel-asterisk"
|
||
>
|
||
|
||
*
|
||
</span>
|
||
</label>
|
||
<div
|
||
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-fullWidth MuiInputBase-formControl"
|
||
>
|
||
<input
|
||
aria-invalid="false"
|
||
class="MuiInputBase-input MuiOutlinedInput-input"
|
||
id="packagename"
|
||
maxlength="255"
|
||
name="packagename"
|
||
required=""
|
||
type="text"
|
||
value=""
|
||
/>
|
||
<fieldset
|
||
aria-hidden="true"
|
||
class="PrivateNotchedOutline-root-377 MuiOutlinedInput-notchedOutline"
|
||
>
|
||
<legend
|
||
class="PrivateNotchedOutline-legendLabelled-379"
|
||
>
|
||
<span>
|
||
Package name
|
||
*
|
||
</span>
|
||
</legend>
|
||
</fieldset>
|
||
</div>
|
||
</div>
|
||
<div
|
||
class="MuiFormControl-root MuiTextField-root MuiFormControl-marginNormal MuiFormControl-fullWidth"
|
||
>
|
||
<label
|
||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-outlined Mui-required Mui-required"
|
||
data-shrink="false"
|
||
for="version"
|
||
id="version-label"
|
||
>
|
||
Version
|
||
<span
|
||
aria-hidden="true"
|
||
class="MuiFormLabel-asterisk MuiInputLabel-asterisk"
|
||
>
|
||
|
||
*
|
||
</span>
|
||
</label>
|
||
<div
|
||
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-fullWidth MuiInputBase-formControl"
|
||
>
|
||
<input
|
||
aria-invalid="false"
|
||
class="MuiInputBase-input MuiOutlinedInput-input"
|
||
id="version"
|
||
maxlength="255"
|
||
name="version"
|
||
required=""
|
||
type="text"
|
||
value=""
|
||
/>
|
||
<fieldset
|
||
aria-hidden="true"
|
||
class="PrivateNotchedOutline-root-377 MuiOutlinedInput-notchedOutline"
|
||
>
|
||
<legend
|
||
class="PrivateNotchedOutline-legendLabelled-379"
|
||
>
|
||
<span>
|
||
Version
|
||
*
|
||
</span>
|
||
</legend>
|
||
</fieldset>
|
||
</div>
|
||
</div>
|
||
<div
|
||
class="MuiFormControl-root MuiTextField-root MuiFormControl-marginNormal MuiFormControl-fullWidth"
|
||
>
|
||
<label
|
||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-outlined Mui-required Mui-required"
|
||
data-shrink="false"
|
||
for="link"
|
||
id="link-label"
|
||
>
|
||
Package link
|
||
<span
|
||
aria-hidden="true"
|
||
class="MuiFormLabel-asterisk MuiInputLabel-asterisk"
|
||
>
|
||
|
||
*
|
||
</span>
|
||
</label>
|
||
<div
|
||
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-fullWidth MuiInputBase-formControl"
|
||
>
|
||
<input
|
||
aria-invalid="false"
|
||
class="MuiInputBase-input MuiOutlinedInput-input"
|
||
id="link"
|
||
maxlength="1024"
|
||
name="link"
|
||
required=""
|
||
type="text"
|
||
value=""
|
||
/>
|
||
<fieldset
|
||
aria-hidden="true"
|
||
class="PrivateNotchedOutline-root-377 MuiOutlinedInput-notchedOutline"
|
||
>
|
||
<legend
|
||
class="PrivateNotchedOutline-legendLabelled-379"
|
||
>
|
||
<span>
|
||
Package link
|
||
*
|
||
</span>
|
||
</legend>
|
||
</fieldset>
|
||
</div>
|
||
</div>
|
||
<div
|
||
class="MuiFormControl-root MuiTextField-root MuiFormControl-marginNormal MuiFormControl-fullWidth"
|
||
>
|
||
<label
|
||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-outlined"
|
||
data-shrink="false"
|
||
for="description"
|
||
id="description-label"
|
||
>
|
||
Description
|
||
</label>
|
||
<div
|
||
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-fullWidth MuiInputBase-formControl MuiInputBase-multiline MuiOutlinedInput-multiline"
|
||
>
|
||
<textarea
|
||
aria-invalid="false"
|
||
class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputMultiline MuiOutlinedInput-inputMultiline"
|
||
id="description"
|
||
maxlength="5120"
|
||
name="description"
|
||
placeholder="Package description"
|
||
rows="4"
|
||
/>
|
||
<fieldset
|
||
aria-hidden="true"
|
||
class="PrivateNotchedOutline-root-377 MuiOutlinedInput-notchedOutline"
|
||
>
|
||
<legend
|
||
class="PrivateNotchedOutline-legendLabelled-379"
|
||
>
|
||
<span>
|
||
Description
|
||
</span>
|
||
</legend>
|
||
</fieldset>
|
||
</div>
|
||
</div>
|
||
<div
|
||
class="MuiFormControl-root MuiTextField-root MuiFormControl-marginNormal MuiFormControl-fullWidth"
|
||
>
|
||
<label
|
||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-outlined"
|
||
data-shrink="false"
|
||
for="releasenotes"
|
||
id="releasenotes-label"
|
||
>
|
||
Release Notes URL
|
||
</label>
|
||
<div
|
||
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-fullWidth MuiInputBase-formControl"
|
||
>
|
||
<input
|
||
aria-invalid="false"
|
||
class="MuiInputBase-input MuiOutlinedInput-input"
|
||
id="releasenotes"
|
||
maxlength="1024"
|
||
name="releasenotes"
|
||
placeholder="Release Notes URL"
|
||
type="text"
|
||
value=""
|
||
/>
|
||
<fieldset
|
||
aria-hidden="true"
|
||
class="PrivateNotchedOutline-root-377 MuiOutlinedInput-notchedOutline"
|
||
>
|
||
<legend
|
||
class="PrivateNotchedOutline-legendLabelled-379"
|
||
>
|
||
<span>
|
||
Release Notes URL
|
||
</span>
|
||
</legend>
|
||
</fieldset>
|
||
</div>
|
||
</div>
|
||
<button
|
||
class="MuiButtonBase-root MuiButton-root MuiButton-contained makeStyles-submit-359 MuiButton-containedPrimary MuiButton-fullWidth"
|
||
tabindex="0"
|
||
type="submit"
|
||
>
|
||
<span
|
||
class="MuiButton-label"
|
||
>
|
||
Submit
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
</form>
|
||
</div>
|
||
</div>
|
||
</main>
|
||
</main>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
`;
|
||
|
||
exports[`App Route /update unauthenticated 1`] = `
|
||
<div>
|
||
<div
|
||
data-testid="mocked-userprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-root-127"
|
||
>
|
||
<header
|
||
class="MuiPaper-root MuiAppBar-root MuiAppBar-positionFixed MuiAppBar-colorPrimary makeStyles-appBar-128 mui-00000fixed MuiPaper-elevation4"
|
||
>
|
||
<div
|
||
class="MuiToolbar-root MuiToolbar-regular MuiToolbar-gutters"
|
||
>
|
||
<h6
|
||
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap"
|
||
>
|
||
Fisker OTA Portal
|
||
</h6>
|
||
</div>
|
||
</header>
|
||
<main
|
||
class="makeStyles-content-135"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-134"
|
||
/>
|
||
<main
|
||
class="MuiContainer-root MuiContainer-maxWidthLg"
|
||
>
|
||
<div
|
||
class="makeStyles-paper-118"
|
||
style="justify-content: center;"
|
||
>
|
||
<a
|
||
aria-disabled="false"
|
||
class="MuiButtonBase-root MuiButton-root MuiButton-contained makeStyles-submit-121 MuiButton-containedPrimary"
|
||
href="https://cognito.com/authorize?redirect=https://example.com/callback"
|
||
tabindex="0"
|
||
>
|
||
<span
|
||
class="MuiButton-label"
|
||
>
|
||
Sign In
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</a>
|
||
</div>
|
||
</main>
|
||
</main>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
`;
|
||
|
||
exports[`App Route /updates authenticated 1`] = `
|
||
<div>
|
||
<div
|
||
data-testid="mocked-userprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-root-342"
|
||
>
|
||
<header
|
||
class="MuiPaper-root MuiAppBar-root MuiAppBar-positionFixed MuiAppBar-colorPrimary makeStyles-appBar-343 makeStyles-appBarShift-344 mui-00000fixed MuiPaper-elevation4"
|
||
>
|
||
<div
|
||
class="MuiToolbar-root MuiToolbar-regular MuiToolbar-gutters"
|
||
>
|
||
<button
|
||
aria-label="open drawer"
|
||
class="MuiButtonBase-root MuiIconButton-root makeStyles-menuButton-345 MuiIconButton-colorInherit MuiIconButton-edgeStart"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
<h6
|
||
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap"
|
||
>
|
||
Fisker OTA Portal
|
||
</h6>
|
||
<button
|
||
class="MuiButtonBase-root MuiButton-root MuiButton-text makeStyles-rightToolbar-352 MuiButton-colorInherit"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiButton-label"
|
||
>
|
||
Sign Out
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
</div>
|
||
</header>
|
||
<div
|
||
class="MuiDrawer-root MuiDrawer-docked makeStyles-drawer-347"
|
||
>
|
||
<div
|
||
class="MuiPaper-root MuiDrawer-paper makeStyles-drawerPaper-348 MuiDrawer-paperAnchorLeft MuiDrawer-paperAnchorDockedLeft MuiPaper-elevation0"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-349"
|
||
>
|
||
<button
|
||
class="MuiButtonBase-root MuiIconButton-root"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
</div>
|
||
<hr
|
||
class="MuiDivider-root"
|
||
/>
|
||
<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="/updates"
|
||
role="button"
|
||
tabindex="0"
|
||
>
|
||
<div
|
||
class="MuiListItemText-root"
|
||
>
|
||
<span
|
||
class="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
|
||
>
|
||
View 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 Packages
|
||
</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 Vehicles
|
||
</span>
|
||
</div>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<main
|
||
class="makeStyles-content-350 makeStyles-contentShift-351"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-349"
|
||
/>
|
||
<main
|
||
class="MuiContainer-root MuiContainer-maxWidthLg"
|
||
>
|
||
<div
|
||
data-testid="mocked-updatesprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-paper-333"
|
||
style="height: 700px; width: 100%;"
|
||
>
|
||
<h1
|
||
class="MuiTypography-root MuiTypography-h5"
|
||
>
|
||
Update Packages
|
||
</h1>
|
||
<div
|
||
class="MuiTableContainer-root"
|
||
>
|
||
<table
|
||
class="MuiTable-root"
|
||
>
|
||
<thead
|
||
class="MuiTableHead-root"
|
||
>
|
||
<tr
|
||
class="MuiTableRow-root MuiTableRow-head"
|
||
>
|
||
<th
|
||
class="MuiTableCell-root MuiTableCell-head MuiTableCell-alignCenter"
|
||
scope="col"
|
||
>
|
||
ID
|
||
</th>
|
||
<th
|
||
class="MuiTableCell-root MuiTableCell-head MuiTableCell-alignCenter"
|
||
scope="col"
|
||
>
|
||
Name
|
||
</th>
|
||
<th
|
||
class="MuiTableCell-root MuiTableCell-head MuiTableCell-alignCenter"
|
||
scope="col"
|
||
>
|
||
Version
|
||
</th>
|
||
<th
|
||
class="MuiTableCell-root MuiTableCell-head MuiTableCell-alignCenter"
|
||
scope="col"
|
||
>
|
||
Created
|
||
</th>
|
||
<th
|
||
class="MuiTableCell-root MuiTableCell-head MuiTableCell-alignRight"
|
||
scope="col"
|
||
>
|
||
Actions
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody
|
||
class="MuiTableBody-root"
|
||
/>
|
||
<tfoot
|
||
class="MuiTableFooter-root"
|
||
>
|
||
<tr
|
||
class="MuiTableRow-root MuiTableRow-footer"
|
||
>
|
||
<td
|
||
class="MuiTableCell-root MuiTableCell-footer MuiTablePagination-root"
|
||
colspan="5"
|
||
>
|
||
<div
|
||
class="MuiToolbar-root MuiToolbar-regular MuiTablePagination-toolbar MuiToolbar-gutters"
|
||
>
|
||
<div
|
||
class="MuiTablePagination-spacer"
|
||
/>
|
||
<p
|
||
class="MuiTypography-root MuiTablePagination-caption MuiTypography-body2 MuiTypography-colorInherit"
|
||
id="mui-00000"
|
||
>
|
||
Rows per page:
|
||
</p>
|
||
<div
|
||
class="MuiInputBase-root MuiTablePagination-input MuiTablePagination-selectRoot"
|
||
>
|
||
<select
|
||
aria-label="rows per page"
|
||
class="MuiSelect-root MuiSelect-select MuiTablePagination-select MuiInputBase-input"
|
||
id="mui-00000"
|
||
>
|
||
<option
|
||
class="MuiTablePagination-menuItem"
|
||
value="5"
|
||
>
|
||
5
|
||
</option>
|
||
<option
|
||
class="MuiTablePagination-menuItem"
|
||
value="10"
|
||
>
|
||
10
|
||
</option>
|
||
<option
|
||
class="MuiTablePagination-menuItem"
|
||
value="25"
|
||
>
|
||
25
|
||
</option>
|
||
</select>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root MuiSelect-icon MuiTablePagination-selectIcon"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M7 10l5 5 5-5z"
|
||
/>
|
||
</svg>
|
||
</div>
|
||
<p
|
||
class="MuiTypography-root MuiTablePagination-caption MuiTypography-body2 MuiTypography-colorInherit"
|
||
>
|
||
0-0 of 0
|
||
</p>
|
||
<div
|
||
class="MuiTablePagination-actions"
|
||
>
|
||
<button
|
||
aria-label="Previous page"
|
||
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorInherit Mui-disabled Mui-disabled"
|
||
disabled=""
|
||
tabindex="-1"
|
||
title="Previous page"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
</button>
|
||
<button
|
||
aria-label="Next page"
|
||
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorInherit Mui-disabled Mui-disabled"
|
||
disabled=""
|
||
tabindex="-1"
|
||
title="Next page"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
</tfoot>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</main>
|
||
</main>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
`;
|
||
|
||
exports[`App Route /updates unauthenticated 1`] = `
|
||
<div>
|
||
<div
|
||
data-testid="mocked-userprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-root-104"
|
||
>
|
||
<header
|
||
class="MuiPaper-root MuiAppBar-root MuiAppBar-positionFixed MuiAppBar-colorPrimary makeStyles-appBar-105 mui-00000fixed MuiPaper-elevation4"
|
||
>
|
||
<div
|
||
class="MuiToolbar-root MuiToolbar-regular MuiToolbar-gutters"
|
||
>
|
||
<h6
|
||
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap"
|
||
>
|
||
Fisker OTA Portal
|
||
</h6>
|
||
</div>
|
||
</header>
|
||
<main
|
||
class="makeStyles-content-112"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-111"
|
||
/>
|
||
<main
|
||
class="MuiContainer-root MuiContainer-maxWidthLg"
|
||
>
|
||
<div
|
||
class="makeStyles-paper-95"
|
||
style="justify-content: center;"
|
||
>
|
||
<a
|
||
aria-disabled="false"
|
||
class="MuiButtonBase-root MuiButton-root MuiButton-contained makeStyles-submit-98 MuiButton-containedPrimary"
|
||
href="https://cognito.com/authorize?redirect=https://example.com/callback"
|
||
tabindex="0"
|
||
>
|
||
<span
|
||
class="MuiButton-label"
|
||
>
|
||
Sign In
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</a>
|
||
</div>
|
||
</main>
|
||
</main>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
`;
|
||
|
||
exports[`App Route /vehicle-add authenticated 1`] = `
|
||
<div>
|
||
<div
|
||
data-testid="mocked-userprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-root-315"
|
||
>
|
||
<header
|
||
class="MuiPaper-root MuiAppBar-root MuiAppBar-positionFixed MuiAppBar-colorPrimary makeStyles-appBar-316 makeStyles-appBarShift-317 mui-00000fixed MuiPaper-elevation4"
|
||
>
|
||
<div
|
||
class="MuiToolbar-root MuiToolbar-regular MuiToolbar-gutters"
|
||
>
|
||
<button
|
||
aria-label="open drawer"
|
||
class="MuiButtonBase-root MuiIconButton-root makeStyles-menuButton-318 MuiIconButton-colorInherit MuiIconButton-edgeStart"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
<h6
|
||
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap"
|
||
>
|
||
Fisker OTA Portal
|
||
</h6>
|
||
<button
|
||
class="MuiButtonBase-root MuiButton-root MuiButton-text makeStyles-rightToolbar-325 MuiButton-colorInherit"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiButton-label"
|
||
>
|
||
Sign Out
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
</div>
|
||
</header>
|
||
<div
|
||
class="MuiDrawer-root MuiDrawer-docked makeStyles-drawer-320"
|
||
>
|
||
<div
|
||
class="MuiPaper-root MuiDrawer-paper makeStyles-drawerPaper-321 MuiDrawer-paperAnchorLeft MuiDrawer-paperAnchorDockedLeft MuiPaper-elevation0"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-322"
|
||
>
|
||
<button
|
||
class="MuiButtonBase-root MuiIconButton-root"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
</div>
|
||
<hr
|
||
class="MuiDivider-root"
|
||
/>
|
||
<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="/updates"
|
||
role="button"
|
||
tabindex="0"
|
||
>
|
||
<div
|
||
class="MuiListItemText-root"
|
||
>
|
||
<span
|
||
class="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
|
||
>
|
||
View 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 Packages
|
||
</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 Vehicles
|
||
</span>
|
||
</div>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<main
|
||
class="makeStyles-content-323 makeStyles-contentShift-324"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-322"
|
||
/>
|
||
<main
|
||
class="MuiContainer-root MuiContainer-maxWidthLg"
|
||
>
|
||
<div
|
||
data-testid="mocked-vehicleprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-paper-306"
|
||
>
|
||
<h1
|
||
class="MuiTypography-root MuiTypography-h5"
|
||
>
|
||
Add Vehicle
|
||
</h1>
|
||
<form
|
||
action="{onSubmit}"
|
||
class="makeStyles-form-308"
|
||
novalidate=""
|
||
>
|
||
<div
|
||
class="MuiFormControl-root MuiTextField-root MuiFormControl-marginNormal MuiFormControl-fullWidth"
|
||
>
|
||
<label
|
||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-outlined Mui-required Mui-required"
|
||
data-shrink="false"
|
||
for="vin"
|
||
id="vin-label"
|
||
>
|
||
VIN
|
||
<span
|
||
aria-hidden="true"
|
||
class="MuiFormLabel-asterisk MuiInputLabel-asterisk"
|
||
>
|
||
|
||
*
|
||
</span>
|
||
</label>
|
||
<div
|
||
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-fullWidth MuiInputBase-formControl"
|
||
>
|
||
<input
|
||
aria-invalid="false"
|
||
class="MuiInputBase-input MuiOutlinedInput-input"
|
||
id="vin"
|
||
maxlength="17"
|
||
name="vin"
|
||
required=""
|
||
type="text"
|
||
value=""
|
||
/>
|
||
<fieldset
|
||
aria-hidden="true"
|
||
class="PrivateNotchedOutline-root-327 MuiOutlinedInput-notchedOutline"
|
||
>
|
||
<legend
|
||
class="PrivateNotchedOutline-legendLabelled-329"
|
||
>
|
||
<span>
|
||
VIN
|
||
*
|
||
</span>
|
||
</legend>
|
||
</fieldset>
|
||
</div>
|
||
</div>
|
||
<div
|
||
class="MuiFormControl-root MuiTextField-root MuiFormControl-marginNormal MuiFormControl-fullWidth"
|
||
>
|
||
<label
|
||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-outlined MuiFormLabel-filled Mui-required Mui-required"
|
||
data-shrink="true"
|
||
for="model"
|
||
id="model-label"
|
||
>
|
||
Model
|
||
<span
|
||
aria-hidden="true"
|
||
class="MuiFormLabel-asterisk MuiInputLabel-asterisk"
|
||
>
|
||
|
||
*
|
||
</span>
|
||
</label>
|
||
<div
|
||
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-fullWidth MuiInputBase-formControl"
|
||
>
|
||
<input
|
||
aria-invalid="false"
|
||
class="MuiInputBase-input MuiOutlinedInput-input"
|
||
id="model"
|
||
maxlength="255"
|
||
name="model"
|
||
required=""
|
||
type="text"
|
||
value="Ocean"
|
||
/>
|
||
<fieldset
|
||
aria-hidden="true"
|
||
class="PrivateNotchedOutline-root-327 MuiOutlinedInput-notchedOutline"
|
||
>
|
||
<legend
|
||
class="PrivateNotchedOutline-legendLabelled-329 PrivateNotchedOutline-legendNotched-330"
|
||
>
|
||
<span>
|
||
Model
|
||
*
|
||
</span>
|
||
</legend>
|
||
</fieldset>
|
||
</div>
|
||
</div>
|
||
<div
|
||
class="MuiFormControl-root MuiTextField-root MuiFormControl-marginNormal MuiFormControl-fullWidth"
|
||
>
|
||
<label
|
||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-outlined MuiFormLabel-filled Mui-required Mui-required"
|
||
data-shrink="true"
|
||
for="year"
|
||
id="year-label"
|
||
>
|
||
Year
|
||
<span
|
||
aria-hidden="true"
|
||
class="MuiFormLabel-asterisk MuiInputLabel-asterisk"
|
||
>
|
||
|
||
*
|
||
</span>
|
||
</label>
|
||
<div
|
||
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-fullWidth MuiInputBase-formControl"
|
||
>
|
||
<input
|
||
aria-invalid="false"
|
||
class="MuiInputBase-input MuiOutlinedInput-input"
|
||
id="year"
|
||
maxlength="4"
|
||
minlength="4"
|
||
name="year"
|
||
required=""
|
||
type="number"
|
||
value="2022"
|
||
/>
|
||
<fieldset
|
||
aria-hidden="true"
|
||
class="PrivateNotchedOutline-root-327 MuiOutlinedInput-notchedOutline"
|
||
>
|
||
<legend
|
||
class="PrivateNotchedOutline-legendLabelled-329 PrivateNotchedOutline-legendNotched-330"
|
||
>
|
||
<span>
|
||
Year
|
||
*
|
||
</span>
|
||
</legend>
|
||
</fieldset>
|
||
</div>
|
||
</div>
|
||
<button
|
||
class="MuiButtonBase-root MuiButton-root MuiButton-contained makeStyles-submit-309 MuiButton-containedPrimary MuiButton-fullWidth"
|
||
tabindex="0"
|
||
type="submit"
|
||
>
|
||
<span
|
||
class="MuiButton-label"
|
||
>
|
||
Submit
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
</form>
|
||
</div>
|
||
</div>
|
||
</main>
|
||
</main>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
`;
|
||
|
||
exports[`App Route /vehicle-add unauthenticated 1`] = `
|
||
<div>
|
||
<div
|
||
data-testid="mocked-userprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-root-81"
|
||
>
|
||
<header
|
||
class="MuiPaper-root MuiAppBar-root MuiAppBar-positionFixed MuiAppBar-colorPrimary makeStyles-appBar-82 mui-00000fixed MuiPaper-elevation4"
|
||
>
|
||
<div
|
||
class="MuiToolbar-root MuiToolbar-regular MuiToolbar-gutters"
|
||
>
|
||
<h6
|
||
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap"
|
||
>
|
||
Fisker OTA Portal
|
||
</h6>
|
||
</div>
|
||
</header>
|
||
<main
|
||
class="makeStyles-content-89"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-88"
|
||
/>
|
||
<main
|
||
class="MuiContainer-root MuiContainer-maxWidthLg"
|
||
>
|
||
<div
|
||
class="makeStyles-paper-72"
|
||
style="justify-content: center;"
|
||
>
|
||
<a
|
||
aria-disabled="false"
|
||
class="MuiButtonBase-root MuiButton-root MuiButton-contained makeStyles-submit-75 MuiButton-containedPrimary"
|
||
href="https://cognito.com/authorize?redirect=https://example.com/callback"
|
||
tabindex="0"
|
||
>
|
||
<span
|
||
class="MuiButton-label"
|
||
>
|
||
Sign In
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</a>
|
||
</div>
|
||
</main>
|
||
</main>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
`;
|
||
|
||
exports[`App Route /vehicle-status authenticated 1`] = `
|
||
<div>
|
||
<div
|
||
data-testid="mocked-userprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-root-461"
|
||
>
|
||
<header
|
||
class="MuiPaper-root MuiAppBar-root MuiAppBar-positionFixed MuiAppBar-colorPrimary makeStyles-appBar-462 makeStyles-appBarShift-463 mui-00000fixed MuiPaper-elevation4"
|
||
>
|
||
<div
|
||
class="MuiToolbar-root MuiToolbar-regular MuiToolbar-gutters"
|
||
>
|
||
<button
|
||
aria-label="open drawer"
|
||
class="MuiButtonBase-root MuiIconButton-root makeStyles-menuButton-464 MuiIconButton-colorInherit MuiIconButton-edgeStart"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
<h6
|
||
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap"
|
||
>
|
||
Fisker OTA Portal
|
||
</h6>
|
||
<button
|
||
class="MuiButtonBase-root MuiButton-root MuiButton-text makeStyles-rightToolbar-471 MuiButton-colorInherit"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiButton-label"
|
||
>
|
||
Sign Out
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
</div>
|
||
</header>
|
||
<div
|
||
class="MuiDrawer-root MuiDrawer-docked makeStyles-drawer-466"
|
||
>
|
||
<div
|
||
class="MuiPaper-root MuiDrawer-paper makeStyles-drawerPaper-467 MuiDrawer-paperAnchorLeft MuiDrawer-paperAnchorDockedLeft MuiPaper-elevation0"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-468"
|
||
>
|
||
<button
|
||
class="MuiButtonBase-root MuiIconButton-root"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
</div>
|
||
<hr
|
||
class="MuiDivider-root"
|
||
/>
|
||
<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="/updates"
|
||
role="button"
|
||
tabindex="0"
|
||
>
|
||
<div
|
||
class="MuiListItemText-root"
|
||
>
|
||
<span
|
||
class="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
|
||
>
|
||
View 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 Packages
|
||
</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 Vehicles
|
||
</span>
|
||
</div>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<main
|
||
class="makeStyles-content-469 makeStyles-contentShift-470"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-468"
|
||
/>
|
||
<main
|
||
class="MuiContainer-root MuiContainer-maxWidthLg"
|
||
>
|
||
<div
|
||
data-testid="mocked-updatesprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-paper-452"
|
||
style="height: 700px; width: 100%;"
|
||
>
|
||
<h1
|
||
class="MuiTypography-root MuiTypography-h5"
|
||
>
|
||
FISKER123
|
||
Updates
|
||
</h1>
|
||
<div
|
||
class="MuiTableContainer-root"
|
||
>
|
||
<table
|
||
class="MuiTable-root"
|
||
>
|
||
<thead
|
||
class="MuiTableHead-root"
|
||
>
|
||
<tr
|
||
class="MuiTableRow-root MuiTableRow-head"
|
||
>
|
||
<th
|
||
class="MuiTableCell-root MuiTableCell-head MuiTableCell-alignCenter"
|
||
scope="col"
|
||
>
|
||
ID
|
||
</th>
|
||
<th
|
||
class="MuiTableCell-root MuiTableCell-head MuiTableCell-alignCenter"
|
||
scope="col"
|
||
>
|
||
Update
|
||
</th>
|
||
<th
|
||
class="MuiTableCell-root MuiTableCell-head MuiTableCell-alignCenter"
|
||
scope="col"
|
||
>
|
||
Status
|
||
</th>
|
||
<th
|
||
class="MuiTableCell-root MuiTableCell-head MuiTableCell-alignCenter"
|
||
scope="col"
|
||
>
|
||
Created
|
||
</th>
|
||
<th
|
||
class="MuiTableCell-root MuiTableCell-head MuiTableCell-alignCenter"
|
||
scope="col"
|
||
>
|
||
Updated
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody
|
||
class="MuiTableBody-root"
|
||
/>
|
||
<tfoot
|
||
class="MuiTableFooter-root"
|
||
>
|
||
<tr
|
||
class="MuiTableRow-root MuiTableRow-footer"
|
||
>
|
||
<td
|
||
class="MuiTableCell-root MuiTableCell-footer MuiTablePagination-root"
|
||
colspan="5"
|
||
>
|
||
<div
|
||
class="MuiToolbar-root MuiToolbar-regular MuiTablePagination-toolbar MuiToolbar-gutters"
|
||
>
|
||
<div
|
||
class="MuiTablePagination-spacer"
|
||
/>
|
||
<p
|
||
class="MuiTypography-root MuiTablePagination-caption MuiTypography-body2 MuiTypography-colorInherit"
|
||
id="mui-00000"
|
||
>
|
||
Rows per page:
|
||
</p>
|
||
<div
|
||
class="MuiInputBase-root MuiTablePagination-input MuiTablePagination-selectRoot"
|
||
>
|
||
<select
|
||
aria-label="rows per page"
|
||
class="MuiSelect-root MuiSelect-select MuiTablePagination-select MuiInputBase-input"
|
||
id="mui-00000"
|
||
>
|
||
<option
|
||
class="MuiTablePagination-menuItem"
|
||
value="5"
|
||
>
|
||
5
|
||
</option>
|
||
<option
|
||
class="MuiTablePagination-menuItem"
|
||
value="10"
|
||
>
|
||
10
|
||
</option>
|
||
<option
|
||
class="MuiTablePagination-menuItem"
|
||
value="25"
|
||
>
|
||
25
|
||
</option>
|
||
</select>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root MuiSelect-icon MuiTablePagination-selectIcon"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M7 10l5 5 5-5z"
|
||
/>
|
||
</svg>
|
||
</div>
|
||
<p
|
||
class="MuiTypography-root MuiTablePagination-caption MuiTypography-body2 MuiTypography-colorInherit"
|
||
>
|
||
0-0 of 0
|
||
</p>
|
||
<div
|
||
class="MuiTablePagination-actions"
|
||
>
|
||
<button
|
||
aria-label="Previous page"
|
||
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorInherit Mui-disabled Mui-disabled"
|
||
disabled=""
|
||
tabindex="-1"
|
||
title="Previous page"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
</button>
|
||
<button
|
||
aria-label="Next page"
|
||
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorInherit Mui-disabled Mui-disabled"
|
||
disabled=""
|
||
tabindex="-1"
|
||
title="Next page"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
</tfoot>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</main>
|
||
</main>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
`;
|
||
|
||
exports[`App Route /vehicle-status unauthenticated 1`] = `
|
||
<div>
|
||
<div
|
||
data-testid="mocked-userprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-root-219"
|
||
>
|
||
<header
|
||
class="MuiPaper-root MuiAppBar-root MuiAppBar-positionFixed MuiAppBar-colorPrimary makeStyles-appBar-220 mui-00000fixed MuiPaper-elevation4"
|
||
>
|
||
<div
|
||
class="MuiToolbar-root MuiToolbar-regular MuiToolbar-gutters"
|
||
>
|
||
<h6
|
||
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap"
|
||
>
|
||
Fisker OTA Portal
|
||
</h6>
|
||
</div>
|
||
</header>
|
||
<main
|
||
class="makeStyles-content-227"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-226"
|
||
/>
|
||
<main
|
||
class="MuiContainer-root MuiContainer-maxWidthLg"
|
||
>
|
||
<div
|
||
class="makeStyles-paper-210"
|
||
style="justify-content: center;"
|
||
>
|
||
<a
|
||
aria-disabled="false"
|
||
class="MuiButtonBase-root MuiButton-root MuiButton-contained makeStyles-submit-213 MuiButton-containedPrimary"
|
||
href="https://cognito.com/authorize?redirect=https://example.com/callback"
|
||
tabindex="0"
|
||
>
|
||
<span
|
||
class="MuiButton-label"
|
||
>
|
||
Sign In
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</a>
|
||
</div>
|
||
</main>
|
||
</main>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
`;
|
||
|
||
exports[`App Route /vehicles authenticated 1`] = `
|
||
<div>
|
||
<div
|
||
data-testid="mocked-userprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-root-438"
|
||
>
|
||
<header
|
||
class="MuiPaper-root MuiAppBar-root MuiAppBar-positionFixed MuiAppBar-colorPrimary makeStyles-appBar-439 makeStyles-appBarShift-440 mui-00000fixed MuiPaper-elevation4"
|
||
>
|
||
<div
|
||
class="MuiToolbar-root MuiToolbar-regular MuiToolbar-gutters"
|
||
>
|
||
<button
|
||
aria-label="open drawer"
|
||
class="MuiButtonBase-root MuiIconButton-root makeStyles-menuButton-441 MuiIconButton-colorInherit MuiIconButton-edgeStart"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
<h6
|
||
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap"
|
||
>
|
||
Fisker OTA Portal
|
||
</h6>
|
||
<button
|
||
class="MuiButtonBase-root MuiButton-root MuiButton-text makeStyles-rightToolbar-448 MuiButton-colorInherit"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiButton-label"
|
||
>
|
||
Sign Out
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
</div>
|
||
</header>
|
||
<div
|
||
class="MuiDrawer-root MuiDrawer-docked makeStyles-drawer-443"
|
||
>
|
||
<div
|
||
class="MuiPaper-root MuiDrawer-paper makeStyles-drawerPaper-444 MuiDrawer-paperAnchorLeft MuiDrawer-paperAnchorDockedLeft MuiPaper-elevation0"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-445"
|
||
>
|
||
<button
|
||
class="MuiButtonBase-root MuiIconButton-root"
|
||
tabindex="0"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</button>
|
||
</div>
|
||
<hr
|
||
class="MuiDivider-root"
|
||
/>
|
||
<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="/updates"
|
||
role="button"
|
||
tabindex="0"
|
||
>
|
||
<div
|
||
class="MuiListItemText-root"
|
||
>
|
||
<span
|
||
class="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
|
||
>
|
||
View 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 Packages
|
||
</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 Vehicles
|
||
</span>
|
||
</div>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<main
|
||
class="makeStyles-content-446 makeStyles-contentShift-447"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-445"
|
||
/>
|
||
<main
|
||
class="MuiContainer-root MuiContainer-maxWidthLg"
|
||
>
|
||
<div
|
||
data-testid="mocked-vehicleprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-paper-429"
|
||
style="height: 700px; width: 100%;"
|
||
>
|
||
<h1
|
||
class="MuiTypography-root MuiTypography-h5"
|
||
>
|
||
Vehicles
|
||
</h1>
|
||
<div
|
||
class="MuiTableContainer-root"
|
||
>
|
||
<table
|
||
class="MuiTable-root"
|
||
>
|
||
<thead
|
||
class="MuiTableHead-root"
|
||
>
|
||
<tr
|
||
class="MuiTableRow-root MuiTableRow-head"
|
||
>
|
||
<th
|
||
class="MuiTableCell-root MuiTableCell-head MuiTableCell-alignCenter"
|
||
scope="col"
|
||
>
|
||
VIN
|
||
</th>
|
||
<th
|
||
class="MuiTableCell-root MuiTableCell-head MuiTableCell-alignCenter"
|
||
scope="col"
|
||
>
|
||
Model
|
||
</th>
|
||
<th
|
||
class="MuiTableCell-root MuiTableCell-head MuiTableCell-alignCenter"
|
||
scope="col"
|
||
>
|
||
Year
|
||
</th>
|
||
<th
|
||
class="MuiTableCell-root MuiTableCell-head MuiTableCell-alignCenter"
|
||
scope="col"
|
||
>
|
||
Created
|
||
</th>
|
||
<th
|
||
class="MuiTableCell-root MuiTableCell-head MuiTableCell-alignCenter"
|
||
scope="col"
|
||
>
|
||
Updated
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody
|
||
class="MuiTableBody-root"
|
||
/>
|
||
<tfoot
|
||
class="MuiTableFooter-root"
|
||
>
|
||
<tr
|
||
class="MuiTableRow-root MuiTableRow-footer"
|
||
>
|
||
<td
|
||
class="MuiTableCell-root MuiTableCell-footer MuiTablePagination-root"
|
||
colspan="6"
|
||
>
|
||
<div
|
||
class="MuiToolbar-root MuiToolbar-regular MuiTablePagination-toolbar MuiToolbar-gutters"
|
||
>
|
||
<div
|
||
class="MuiTablePagination-spacer"
|
||
/>
|
||
<p
|
||
class="MuiTypography-root MuiTablePagination-caption MuiTypography-body2 MuiTypography-colorInherit"
|
||
id="mui-00000"
|
||
>
|
||
Rows per page:
|
||
</p>
|
||
<div
|
||
class="MuiInputBase-root MuiTablePagination-input MuiTablePagination-selectRoot"
|
||
>
|
||
<select
|
||
aria-label="rows per page"
|
||
class="MuiSelect-root MuiSelect-select MuiTablePagination-select MuiInputBase-input"
|
||
id="mui-00000"
|
||
>
|
||
<option
|
||
class="MuiTablePagination-menuItem"
|
||
value="5"
|
||
>
|
||
5
|
||
</option>
|
||
<option
|
||
class="MuiTablePagination-menuItem"
|
||
value="10"
|
||
>
|
||
10
|
||
</option>
|
||
<option
|
||
class="MuiTablePagination-menuItem"
|
||
value="25"
|
||
>
|
||
25
|
||
</option>
|
||
</select>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root MuiSelect-icon MuiTablePagination-selectIcon"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M7 10l5 5 5-5z"
|
||
/>
|
||
</svg>
|
||
</div>
|
||
<p
|
||
class="MuiTypography-root MuiTablePagination-caption MuiTypography-body2 MuiTypography-colorInherit"
|
||
>
|
||
0-0 of 0
|
||
</p>
|
||
<div
|
||
class="MuiTablePagination-actions"
|
||
>
|
||
<button
|
||
aria-label="Previous page"
|
||
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorInherit Mui-disabled Mui-disabled"
|
||
disabled=""
|
||
tabindex="-1"
|
||
title="Previous page"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
</button>
|
||
<button
|
||
aria-label="Next page"
|
||
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorInherit Mui-disabled Mui-disabled"
|
||
disabled=""
|
||
tabindex="-1"
|
||
title="Next page"
|
||
type="button"
|
||
>
|
||
<span
|
||
class="MuiIconButton-label"
|
||
>
|
||
<svg
|
||
aria-hidden="true"
|
||
class="MuiSvgIcon-root"
|
||
focusable="false"
|
||
viewBox="0 0 24 24"
|
||
>
|
||
<path
|
||
d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
|
||
/>
|
||
</svg>
|
||
</span>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
</tfoot>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</main>
|
||
</main>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
`;
|
||
|
||
exports[`App Route /vehicles unauthenticated 1`] = `
|
||
<div>
|
||
<div
|
||
data-testid="mocked-userprovider"
|
||
>
|
||
<div
|
||
class="makeStyles-root-196"
|
||
>
|
||
<header
|
||
class="MuiPaper-root MuiAppBar-root MuiAppBar-positionFixed MuiAppBar-colorPrimary makeStyles-appBar-197 mui-00000fixed MuiPaper-elevation4"
|
||
>
|
||
<div
|
||
class="MuiToolbar-root MuiToolbar-regular MuiToolbar-gutters"
|
||
>
|
||
<h6
|
||
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap"
|
||
>
|
||
Fisker OTA Portal
|
||
</h6>
|
||
</div>
|
||
</header>
|
||
<main
|
||
class="makeStyles-content-204"
|
||
>
|
||
<div
|
||
class="makeStyles-drawerHeader-203"
|
||
/>
|
||
<main
|
||
class="MuiContainer-root MuiContainer-maxWidthLg"
|
||
>
|
||
<div
|
||
class="makeStyles-paper-187"
|
||
style="justify-content: center;"
|
||
>
|
||
<a
|
||
aria-disabled="false"
|
||
class="MuiButtonBase-root MuiButton-root MuiButton-contained makeStyles-submit-190 MuiButton-containedPrimary"
|
||
href="https://cognito.com/authorize?redirect=https://example.com/callback"
|
||
tabindex="0"
|
||
>
|
||
<span
|
||
class="MuiButton-label"
|
||
>
|
||
Sign In
|
||
</span>
|
||
<span
|
||
class="MuiTouchRipple-root"
|
||
/>
|
||
</a>
|
||
</div>
|
||
</main>
|
||
</main>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
`;
|