Skip to content

[fix](AuditResultInfo): fix passed result box style #455

[fix](AuditResultInfo): fix passed result box style

[fix](AuditResultInfo): fix passed result box style #455

GitHub Actions / Tests annotations (🧪 jest-coverage-report-action) failed Nov 28, 2023 in 0s

Test suite run failed

Failed tests: 6/943. Failed suites: 5/278.

Details

Created failed tests' annotations. To disable them, see documentation.

  ● test AuditResultCollection › should be show overview tab when showOverview is equal true

    expect(received).toMatchSnapshot()

    Snapshot name: `test AuditResultCollection should be show overview tab when showOverview is equal true 1`

    - Snapshot  - 24
    + Received  + 31

    @@ -998,37 +998,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"
                                          />

      211 |     expect(mockSetAuditResultActiveKey).toBeCalledTimes(1);
      212 |     expect(mockSetAuditResultActiveKey).toBeCalledWith(OVERVIEW_TAB_KEY);
    > 213 |     expect(container).toMatchSnapshot();
          |                       ^
      214 |   });
      215 |
      216 |   test('should be show overview table when showOverview is equal true and workflow_id is not undefined', async () => {

      at Object.<anonymous> (src/page/Order/AuditResult/__test__/AuditResultCollection.test.tsx:213:23)

  ● test AuditResultCollection › should match snapshot when getSummaryOfInstanceTasks status was failed

    expect(received).toMatchSnapshot()

    Snapshot name: `test AuditResultCollection should match snapshot when getSummaryOfInstanceTasks status was failed 1`

    - Snapshot  - 24
    + Received  + 31

    @@ -998,37 +998,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"
                                          />

      254 |     await act(async () => jest.advanceTimersByTime(3000));
      255 |
    > 256 |     expect(container).toMatchSnapshot();
          |                       ^
      257 |   });
      258 |
      259 |   test('should be disabled executed when the order status is rejected or canceled', async () => {

      at Object.<anonymous> (src/page/Order/AuditResult/__test__/AuditResultCollection.test.tsx:256:23)


  ● Order/Create › should audit sql when user click audit button

    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"
                                                />

      198 |     await act(async () => jest.advanceTimersByTime(3000));
      199 |
    > 200 |     expect(container).toMatchSnapshot();
          |                       ^
      201 |
      202 |     //different
      203 |     fireEvent.click(screen.getByLabelText('order.sqlInfo.isSameSqlOrder'));

      at Object.<anonymous> (src/page/Order/Create/index.test.tsx:200:23)


  ● Order/Detail › should update order when click update order button

    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"
                                                    />

      476 |     await act(async () => jest.advanceTimersByTime(3000));
      477 |
    > 478 |     expect(container).toMatchSnapshot();
          |                       ^
      479 |     expect(screen.getByText('order.modifySql.updateOrder')).toBeInTheDocument();
      480 |     expect(
      481 |       screen.getByText('order.modifySql.giveUpUpdate')

      at Object.<anonymous> (src/page/Order/Detail/index.test.tsx:478:23)


  ● Order/Detail/AuditResult › should get task sql info when pass task id into component props

    expect(received).toMatchSnapshot()

    Snapshot name: `Order/Detail/AuditResult should get task sql info when pass task id into component props 2`

    - Snapshot  - 24
    + Received  + 31

    @@ -874,37 +874,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"
                              />

      71 |     );
      72 |     expect(getBySelector('.ant-table-expanded-row')).toBeVisible();
    > 73 |     expect(container).toMatchSnapshot();
         |                       ^
      74 |   });
      75 |
      76 |   test('should call updateTaskRecordTotalNum when get sql success', async () => {

      at Object.<anonymous> (src/page/Order/AuditResult/__test__/index.test.tsx:73:23)


  ● Order/AuditResult/AuditResultInfo › should render passed when there is no audit result

    expect(received).toMatchSnapshot()

    Snapshot name: `Order/AuditResult/AuditResultInfo should render passed when there is no audit result 1`

    - Snapshot  - 0
    + Received  + 7

    @@ -1,7 +1,10 @@
      <div>
        <div
    +     class="flex-space-between"
    +   >
    +     <div
            class="result-box result-box-passed"
          >
            <span
              aria-label="audit"
              class="anticon anticon-audit"
    @@ -25,7 +28,11 @@
            <span
              class="result-box-level"
            >
              passed
            </span>
    +       <span>
    +           
    +       </span>
    +     </div>
        </div>
      </div>

      78 |   test('should render passed when there is no audit result', () => {
      79 |     const { container } = render(<AuditResultInfo auditResult={[]} />);
    > 80 |     expect(container).toMatchSnapshot();
         |                       ^
      81 |     expect(screen.getByText('passed')).toBeInTheDocument();
      82 |   });
      83 | });

      at Object.<anonymous> (src/page/Order/AuditResult/__test__/AuditResultInfo.test.tsx:80:23)

Annotations

Check failure on line 195 in src/page/Order/AuditResult/__test__/AuditResultCollection.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

test AuditResultCollection > should be show overview tab when showOverview is equal true

Error: expect(received).toMatchSnapshot()

Snapshot name: `test AuditResultCollection should be show overview tab when showOverview is equal true 1`

- Snapshot  - 24
+ Received  + 31

@@ -998,37 +998,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/AuditResult/__test__/AuditResultCollection.test.tsx:213:23)

Check failure on line 240 in src/page/Order/AuditResult/__test__/AuditResultCollection.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

test AuditResultCollection > should match snapshot when getSummaryOfInstanceTasks status was failed

Error: expect(received).toMatchSnapshot()

Snapshot name: `test AuditResultCollection should match snapshot when getSummaryOfInstanceTasks status was failed 1`

- Snapshot  - 24
+ Received  + 31

@@ -998,37 +998,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/AuditResult/__test__/AuditResultCollection.test.tsx:256:23)

Check failure on line 131 in src/page/Order/Create/index.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

Order/Create > should audit sql when user click audit button

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)

Check failure on line 452 in src/page/Order/Detail/index.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

Order/Detail > should update order when click update order button

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)

Check failure on line 41 in src/page/Order/AuditResult/__test__/index.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

Order/Detail/AuditResult > should get task sql info when pass task id into component props

Error: expect(received).toMatchSnapshot()

Snapshot name: `Order/Detail/AuditResult should get task sql info when pass task id into component props 2`

- Snapshot  - 24
+ Received  + 31

@@ -874,37 +874,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/AuditResult/__test__/index.test.tsx:73:23)

Check failure on line 78 in src/page/Order/AuditResult/__test__/AuditResultInfo.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

Order/AuditResult/AuditResultInfo > should render passed when there is no audit result

Error: expect(received).toMatchSnapshot()

Snapshot name: `Order/AuditResult/AuditResultInfo should render passed when there is no audit result 1`

- Snapshot  - 0
+ Received  + 7

@@ -1,7 +1,10 @@
  <div>
    <div
+     class="flex-space-between"
+   >
+     <div
        class="result-box result-box-passed"
      >
        <span
          aria-label="audit"
          class="anticon anticon-audit"
@@ -25,7 +28,11 @@
        <span
          class="result-box-level"
        >
          passed
        </span>
+       <span>
+           
+       </span>
+     </div>
    </div>
  </div>
    at Object.<anonymous> (/home/runner/work/sqle-ui/sqle-ui/src/page/Order/AuditResult/__test__/AuditResultInfo.test.tsx:80:23)
    at Promise.then.completed (/home/runner/work/sqle-ui/sqle-ui/node_modules/jest-circus/build/utils.js:391:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/sqle-ui/sqle-ui/node_modules/jest-circus/build/utils.js:316:10)
    at _callCircusTest (/home/runner/work/sqle-ui/sqle-ui/node_modules/jest-circus/build/run.js:218:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/sqle-ui/sqle-ui/node_modules/jest-circus/build/run.js:155:3)
    at _runTestsForDescribeBlock (/home/runner/work/sqle-ui/sqle-ui/node_modules/jest-circus/build/run.js:66:9)
    at _runTestsForDescribeBlock (/home/runner/work/sqle-ui/sqle-ui/node_modules/jest-circus/build/run.js:60:9)
    at run (/home/runner/work/sqle-ui/sqle-ui/node_modules/jest-circus/build/run.js:25:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/sqle-ui/sqle-ui/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:170:21)
    at jestAdapter (/home/runner/work/sqle-ui/sqle-ui/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:82:19)
    at runTestInternal (/home/runner/work/sqle-ui/sqle-ui/node_modules/jest-runner/build/runTest.js:389:16)
    at runTest (/home/runner/work/sqle-ui/sqle-ui/node_modules/jest-runner/build/runTest.js:475:34)
    at Object.worker (/home/runner/work/sqle-ui/sqle-ui/node_modules/jest-runner/build/testWorker.js:133:12)