* CEC-1050 Manifest changes * Fix delete bug * Add approve update button * Code smell * Remove update approval
308 lines
9.4 KiB
Plaintext
308 lines
9.4 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`CarUpdateStatusTable Render 1`] = `
|
|
<div>
|
|
<div
|
|
data-testid="mocked-carupdatesprovider"
|
|
>
|
|
<table
|
|
class="MuiTable-root"
|
|
>
|
|
<thead
|
|
class="MuiTableHead-root"
|
|
>
|
|
<tr
|
|
class="MuiTableRow-root MuiTableRow-head"
|
|
>
|
|
<th
|
|
class="MuiTableCell-root MuiTableCell-head MuiTableCell-alignCenter"
|
|
scope="col"
|
|
>
|
|
<span
|
|
aria-disabled="false"
|
|
class="MuiButtonBase-root MuiTableSortLabel-root"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
Date
|
|
<svg
|
|
aria-hidden="true"
|
|
class="MuiSvgIcon-root MuiTableSortLabel-icon MuiTableSortLabel-iconDirectionAsc"
|
|
focusable="false"
|
|
viewBox="0 0 24 24"
|
|
>
|
|
<path
|
|
d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"
|
|
/>
|
|
</svg>
|
|
</span>
|
|
</th>
|
|
<th
|
|
class="MuiTableCell-root MuiTableCell-head MuiTableCell-alignCenter"
|
|
scope="col"
|
|
>
|
|
<span
|
|
aria-disabled="false"
|
|
class="MuiButtonBase-root MuiTableSortLabel-root"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
Status
|
|
<svg
|
|
aria-hidden="true"
|
|
class="MuiSvgIcon-root MuiTableSortLabel-icon MuiTableSortLabel-iconDirectionAsc"
|
|
focusable="false"
|
|
viewBox="0 0 24 24"
|
|
>
|
|
<path
|
|
d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"
|
|
/>
|
|
</svg>
|
|
</span>
|
|
</th>
|
|
<th
|
|
class="MuiTableCell-root MuiTableCell-head MuiTableCell-alignCenter"
|
|
scope="col"
|
|
>
|
|
<span
|
|
aria-disabled="false"
|
|
class="MuiButtonBase-root MuiTableSortLabel-root"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
Info
|
|
<svg
|
|
aria-hidden="true"
|
|
class="MuiSvgIcon-root MuiTableSortLabel-icon MuiTableSortLabel-iconDirectionAsc"
|
|
focusable="false"
|
|
viewBox="0 0 24 24"
|
|
>
|
|
<path
|
|
d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"
|
|
/>
|
|
</svg>
|
|
</span>
|
|
</th>
|
|
<th
|
|
class="MuiTableCell-root MuiTableCell-head MuiTableCell-alignCenter"
|
|
scope="col"
|
|
>
|
|
<span
|
|
aria-disabled="false"
|
|
class="MuiButtonBase-root MuiTableSortLabel-root"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
Error
|
|
<svg
|
|
aria-hidden="true"
|
|
class="MuiSvgIcon-root MuiTableSortLabel-icon MuiTableSortLabel-iconDirectionAsc"
|
|
focusable="false"
|
|
viewBox="0 0 24 24"
|
|
>
|
|
<path
|
|
d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"
|
|
/>
|
|
</svg>
|
|
</span>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody
|
|
class="MuiTableBody-root"
|
|
>
|
|
<tr
|
|
class="MuiTableRow-root"
|
|
>
|
|
<td
|
|
class="MuiTableCell-root MuiTableCell-body MuiTableCell-alignCenter"
|
|
>
|
|
8/23/2021 5:06:38 PM
|
|
</td>
|
|
<td
|
|
class="MuiTableCell-root MuiTableCell-body MuiTableCell-alignCenter"
|
|
>
|
|
package_install_complete
|
|
</td>
|
|
<td
|
|
class="MuiTableCell-root MuiTableCell-body MuiTableCell-alignCenter"
|
|
/>
|
|
<td
|
|
class="MuiTableCell-root MuiTableCell-body MuiTableCell-alignCenter"
|
|
/>
|
|
</tr>
|
|
<tr
|
|
class="MuiTableRow-root"
|
|
>
|
|
<td
|
|
class="MuiTableCell-root MuiTableCell-body MuiTableCell-alignCenter"
|
|
>
|
|
8/23/2021 5:06:38 PM
|
|
</td>
|
|
<td
|
|
class="MuiTableCell-root MuiTableCell-body MuiTableCell-alignCenter"
|
|
>
|
|
package_install_start
|
|
</td>
|
|
<td
|
|
class="MuiTableCell-root MuiTableCell-body MuiTableCell-alignCenter"
|
|
>
|
|
TEST
|
|
</td>
|
|
<td
|
|
class="MuiTableCell-root MuiTableCell-body MuiTableCell-alignCenter"
|
|
/>
|
|
</tr>
|
|
<tr
|
|
class="MuiTableRow-root"
|
|
>
|
|
<td
|
|
class="MuiTableCell-root MuiTableCell-body MuiTableCell-alignCenter"
|
|
>
|
|
8/23/2021 5:06:38 PM
|
|
</td>
|
|
<td
|
|
class="MuiTableCell-root MuiTableCell-body MuiTableCell-alignCenter"
|
|
>
|
|
install_approval_await
|
|
</td>
|
|
<td
|
|
class="MuiTableCell-root MuiTableCell-body MuiTableCell-alignCenter"
|
|
>
|
|
TEST
|
|
</td>
|
|
<td
|
|
class="MuiTableCell-root MuiTableCell-body MuiTableCell-alignCenter"
|
|
/>
|
|
</tr>
|
|
</tbody>
|
|
<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>
|
|
<option
|
|
class="MuiTablePagination-menuItem"
|
|
value="100"
|
|
>
|
|
100
|
|
</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"
|
|
>
|
|
1-3 of 3
|
|
</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>
|
|
`;
|