[fix](AuditResultInfo): fix passed result box style #457
Annotations
5 errors
Order/Create > should audit sql when user click audit button:
src/page/Order/Create/index.test.tsx#L131
Error: expect(received).toMatchSnapshot()
Snapshot name: `Order/Create should audit sql when user click audit button 1`
- Snapshot - 24
+ Received + 31
@@ -1815,37 +1815,44 @@
</td>
<td
class="ant-table-cell"
>
<div
- class="result-box result-box-passed"
+ class="flex-space-between"
>
- <span
- aria-label="audit"
- class="anticon anticon-audit"
- role="img"
- style="font-size: 14px;"
+ <div
+ class="result-box result-box-passed"
>
- <svg
- aria-hidden="true"
- data-icon="audit"
- fill="currentColor"
- focusable="false"
- height="1em"
- viewBox="64 64 896 896"
- width="1em"
+ <span
+ aria-label="audit"
+ class="anticon anticon-audit"
+ role="img"
+ style="font-size: 14px;"
+ >
+ <svg
+ aria-hidden="true"
+ data-icon="audit"
+ fill="currentColor"
+ focusable="false"
+ height="1em"
+ viewBox="64 64 896 896"
+ width="1em"
+ >
+ <path
+ d="M296 250c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm184 144H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 458H208V148h560v320c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm440-88H728v-36.6c46.3-13.8 80-56.6 80-107.4 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 50.7 33.7 93.6 80 107.4V764H520c-8.8 0-16 7.2-16 16v152c0 8.8 7.2 16 16 16h352c8.8 0 16-7.2 16-16V780c0-8.8-7.2-16-16-16zM646 620c0-27.6 22.4-50 50-50s50 22.4 50 50-22.4 50-50 50-50-22.4-50-50zm180 266H566v-60h260v60z"
+ />
+ </svg>
+ </span>
+ <span
+ class="result-box-level"
>
- <path
- d="M296 250c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm184 144H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 458H208V148h560v320c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm440-88H728v-36.6c46.3-13.8 80-56.6 80-107.4 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 50.7 33.7 93.6 80 107.4V764H520c-8.8 0-16 7.2-16 16v152c0 8.8 7.2 16 16 16h352c8.8 0 16-7.2 16-16V780c0-8.8-7.2-16-16-16zM646 620c0-27.6 22.4-50 50-50s50 22.4 50 50-22.4 50-50 50-50-22.4-50-50zm180 266H566v-60h260v60z"
- />
- </svg>
- </span>
- <span
- class="result-box-level"
- >
- passed
- </span>
+ passed
+ </span>
+ <span>
+
+ </span>
+ </div>
</div>
</td>
<td
class="ant-table-cell ant-table-row-expand-icon-cell"
/>
at Object.<anonymous> (/home/runner/work/sqle-ui/sqle-ui/src/page/Order/Create/index.test.tsx:200:23)
|
Order/Detail > should update order when click update order button:
src/page/Order/Detail/index.test.tsx#L452
Error: expect(received).toMatchSnapshot()
Snapshot name: `Order/Detail should update order when click update order button 1`
- Snapshot - 24
+ Received + 31
@@ -1864,37 +1864,44 @@
</td>
<td
class="ant-table-cell"
>
<div
- class="result-box result-box-passed"
+ class="flex-space-between"
>
- <span
- aria-label="audit"
- class="anticon anticon-audit"
- role="img"
- style="font-size: 14px;"
+ <div
+ class="result-box result-box-passed"
>
- <svg
- aria-hidden="true"
- data-icon="audit"
- fill="currentColor"
- focusable="false"
- height="1em"
- viewBox="64 64 896 896"
- width="1em"
+ <span
+ aria-label="audit"
+ class="anticon anticon-audit"
+ role="img"
+ style="font-size: 14px;"
+ >
+ <svg
+ aria-hidden="true"
+ data-icon="audit"
+ fill="currentColor"
+ focusable="false"
+ height="1em"
+ viewBox="64 64 896 896"
+ width="1em"
+ >
+ <path
+ d="M296 250c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm184 144H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 458H208V148h560v320c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm440-88H728v-36.6c46.3-13.8 80-56.6 80-107.4 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 50.7 33.7 93.6 80 107.4V764H520c-8.8 0-16 7.2-16 16v152c0 8.8 7.2 16 16 16h352c8.8 0 16-7.2 16-16V780c0-8.8-7.2-16-16-16zM646 620c0-27.6 22.4-50 50-50s50 22.4 50 50-22.4 50-50 50-50-22.4-50-50zm180 266H566v-60h260v60z"
+ />
+ </svg>
+ </span>
+ <span
+ class="result-box-level"
>
- <path
- d="M296 250c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm184 144H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 458H208V148h560v320c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm440-88H728v-36.6c46.3-13.8 80-56.6 80-107.4 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 50.7 33.7 93.6 80 107.4V764H520c-8.8 0-16 7.2-16 16v152c0 8.8 7.2 16 16 16h352c8.8 0 16-7.2 16-16V780c0-8.8-7.2-16-16-16zM646 620c0-27.6 22.4-50 50-50s50 22.4 50 50-22.4 50-50 50-50-22.4-50-50zm180 266H566v-60h260v60z"
- />
- </svg>
- </span>
- <span
- class="result-box-level"
- >
- passed
- </span>
+ passed
+ </span>
+ <span>
+
+ </span>
+ </div>
</div>
</td>
<td
class="ant-table-cell ant-table-row-expand-icon-cell"
/>
at Object.<anonymous> (/home/runner/work/sqle-ui/sqle-ui/src/page/Order/Detail/index.test.tsx:478:23)
|
test-coverage
Error: The process '/usr/local/bin/yarn' failed with exit code 1
Error: The process '/usr/local/bin/yarn' failed with exit code 1
at rh._setResult (/home/runner/work/_actions/artiomtr/jest-coverage-report-action/v2/dist/index.js:21:17898)
at rh.CheckComplete (/home/runner/work/_actions/artiomtr/jest-coverage-report-action/v2/dist/index.js:21:17485)
at ChildProcess.<anonymous> (/home/runner/work/_actions/artiomtr/jest-coverage-report-action/v2/dist/index.js:21:16477)
at ChildProcess.emit (node:events:517:28)
at maybeClose (node:internal/child_process:1098:16)
at ChildProcess._handle.onexit (node:internal/child_process:303:5)
|
test-coverage
Jest coverage report action failed
|
test-coverage
Process completed with exit code 1.
|