Skip to content

add new feature

add new feature #17

Triggered via push August 24, 2024 15:57
Status Failure
Total duration 30s
Billable time 1m
Artifacts

main.yml

on: push
run tests  /  test_and_build
21s
run tests / test_and_build
deploy to render host  /  deploy
deploy to render host / deploy
Fit to window
Zoom out
Zoom in

Annotations

2 errors
src/components/__tests__/NavBar.spec.ts > NavBar > should take an array: src/components/__tests__/NavBar.spec.ts#L38
AssertionError: expected '<nav id="sidebarMenu" style="backgrou…' to contain '<li class="nav-item">Income &amp; Exp…' - Expected + Received - <li class="nav-item">Income &amp; Expenses</li> + <nav id="sidebarMenu" style="background-color: white;" class="col-md-3 col-lg-2 d-md-block sidebar collapse"> + <div class="position-sticky pt-3"> + <div align="center"><img src="/src/assets/avatar.webp" id="user-avatar" width="50"><a href="#">[email protected]</a><br> <br> LeftDays : - <span class="badge bg-success"></span></div><br> + <h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted"><span style="color: red;">Menu</span><a class="link-secondary" href="#" aria-label="Add a new report"><span data-feather="plus-circle"></span></a></h6> + <ul class="nav flex-column" tested-ul="links"> + <li class="nav-item">Dashboard</li> + <li class="nav-item">Income &amp; Expenss</li> + <li class="nav-item">Customers</li> + <li class="nav-item">Pricings</li> + <li class="nav-item">Payments</li> + <li tested-logout="btn" class="nav-item" style="cursor: pointer;"><a class="nav-link"><i class="bi bi-box-arrow-right"></i> Logout </a></li> + </ul> + </div> + </nav> ❯ src/components/__tests__/NavBar.spec.ts:38:27
run tests / test_and_build
Process completed with exit code 1.