Add to dto


/api/logs/:id/lhcFills

  • add route to router ✅ 2023-08-23
  • add listByLogIdHandler to logs.controller.js ✅ 2023-08-23
  • add getAllByLogId to LhcFillsService.js ✅ 2023-08-23
  • add getAllLhcFillsByLogId to low level service ✅ 2023-08-23
  • add test for api route
/*

1) Bookkeeping

test-application-1 | Unit Suite

test-application-1 | Integration Suite

test-application-1 | UI

test-application-1 | Logs

test-application-1 | Overview Page

test-application-1 | Should display the correct items counter at the bottom of the page:

test-application-1 |

test-application-1 | AssertionError: expected 140 to equal 139

test-application-1 | + expected - actual

test-application-1 |

test-application-1 | -140

test-application-1 | +139

test-application-1 |

test-application-1 | at Context.<anonymous> (test/public/logs/overview.test.js:69:102)

test-application-1 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

test-application-1 |

test-application-1 |

test-application-1 | 2) Bookkeeping

test-application-1 | Unit Suite

test-application-1 | Integration Suite

test-application-1 | UI

test-application-1 | Logs

test-application-1 | Overview Page

test-application-1 | can filter by creation date:

test-application-1 |

test-application-1 | AssertionError: expected 21 to equal 20

test-application-1 | + expected - actual

test-application-1 |

test-application-1 | -21

test-application-1 | +20

test-application-1 |

test-application-1 | at Context.<anonymous> (test/public/logs/overview.test.js:244:47)

test-application-1 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

test-application-1 |

test-application-1 | 3) Bookkeeping

test-application-1 | Unit Suite

test-application-1 | Integration Suite

test-application-1 | UI

test-application-1 | Logs

test-application-1 | Overview Page

test-application-1 | should successfully display the list of related runs as hyperlinks to their details page:

test-application-1 | TimeoutError: Waiting for selector `#row119-runs a` failed: Waiting failed: 30000ms exceeded

test-application-1 | at Timeout.<anonymous> (node_modules/puppeteer-core/lib/cjs/puppeteer/common/WaitTask.js:59:37)

test-application-1 | at listOnTimeout (node:internal/timers:569:17)

test-application-1 | at process.processTimers (node:internal/timers:512:7)

test-application-1 |

test-application-1 |

test-application-1 | 4) Bookkeeping

test-application-1 | Unit Suite

test-application-1 | Integration Suite

test-application-1 | UI

test-application-1 | Logs

test-application-1 | Overview Page

test-application-1 | should successfully display the list of related LHC fills as hyperlinks to their details page:

test-application-1 | TimeoutError: Waiting for selector `#row119-lhcFills a` failed: Waiting failed: 30000ms exceeded

test-application-1 | at Timeout.<anonymous> (node_modules/puppeteer-core/lib/cjs/puppeteer/common/WaitTask.js:59:37)

test-application-1 | at listOnTimeout (node:internal/timers:569:17)

test-application-1 | at process.processTimers (node:internal/timers:512:7)

test-application-1 |

test-application-1 |

test-application-1 | 5) Bookkeeping

test-application-1 | Unit Suite

test-application-1 | Integration Suite

test-application-1 | UI

test-application-1 | Logs

test-application-1 | Detail Page

test-application-1 | allows navigating to an associated LHC fill:

test-application-1 |

test-application-1 | AssertionError: expected 'http://localhost:4000/?page=lhc-fill-details&fillNumber=5' to equal 'http://localhost:4000/?page=lhc-fill-detail&fillNumber=5'

test-application-1 | + expected - actual

test-application-1 |

test-application-1 | -http://localhost:4000/?page=lhc-fill-details&fillNumber=5

test-application-1 | +http://localhost:4000/?page=lhc-fill-detail&fillNumber=5

test-application-1 |

test-application-1 | at Context.<anonymous> (test/public/logs/detail.test.js:160:34)

  
  

*/