Skip to content

Update README.md

Update README.md #60

GitHub Actions / Test Unit succeeded Dec 6, 2024 in 1s

59 passed, 0 failed and 41 skipped

Tests passed successfully

✅ ./test/results/junit.xml

100 tests were completed in 15s with 59 passed, 0 failed and 41 skipped.

Test suite Passed Failed Skipped Time
test/component/ConfirmBox.test.ts 7✅ 488ms
test/component/DaughterTable.test.ts 7✅ 440ms
test/component/ManageCalibCurve.test.ts 31⚪ 0ms
test/component/TableDb.test.ts 2✅ 1⚪ 271ms
test/component/TableDbAction.test.ts 5⚪ 0ms
test/extract.test.ts 1⚪ 0ms
test/layouts/default.test.ts 4✅ 1⚪ 256ms
test/layouts/navigateLayout.test.ts 2✅ 97ms
test/middleware/checkLogin.test.ts 5✅ 7ms
test/pages/serie.test.ts 7✅ 934ms
test/server/ChEBISearch.test.ts 12✅ 7s
test/server/molecule.test.ts 13✅ 12ms
test/server/tableClass.test.ts 2⚪ 0ms

✅ test/component/ConfirmBox.test.ts

✅ ConfirmBox > nothing when we not open the confirmBox
✅ ConfirmBox > Open the confirmBox empty
✅ ConfirmBox > Open the confirmBox with message
✅ ConfirmBox > Close the confirmBox with cancel, without message
✅ ConfirmBox > Close the confirmBox with cancel, with message
✅ ConfirmBox > Close the confirmBox with ok, without message
✅ ConfirmBox > Close the confirmBox with ok, with message

✅ test/component/DaughterTable.test.ts

✅ DaughterTable > DaughterTable empty
✅ DaughterTable > DaughterTable with one daughter file
✅ DaughterTable > DaughterTable with one daughter file: open/close
✅ DaughterTable > DaughterTable with two daughter file
✅ DaughterTable > DaughterTable with two daughter file delete
✅ DaughterTable > DaughterTable with two daughter file delete
✅ DaughterTable > DaughterTable with two daughter file delete fail

✅ test/component/ManageCalibCurve.test.ts

⚪ ManageCalibCurve > disable calibration curve : no machine
⚪ ManageCalibCurve > disable calibration curve : no mix
⚪ ManageCalibCurve > disable calibration curve : no machine, no mix
⚪ ManageCalibCurve > No calibration curve
⚪ ManageCalibCurve > 2 calibration curves: free and used
⚪ ManageCalibCurve > 2 calibration curves: free and archived
⚪ ManageCalibCurve > 3 calibration curves: free, used, archived
⚪ ManageCalibCurve > Add calibration curve in empty table
⚪ ManageCalibCurve > Add calibration curve in not empty table
⚪ ManageCalibCurve > Archive a free calibration curve
⚪ ManageCalibCurve > Archive a used calibration curve
⚪ ManageCalibCurve > View a free calibration curve
⚪ ManageCalibCurve > View a used calibration curve
⚪ ManageCalibCurve > View a archived calibration curve
⚪ ManageCalibCurve > Modify a free calibration curve
⚪ ManageCalibCurve > Add empty calibration curve
⚪ ManageCalibCurve > Add calibration curve with only a machine
⚪ ManageCalibCurve > Add calibration curve with only a mix
⚪ ManageCalibCurve > Add calibration curve with only a machine and a mix
⚪ ManageCalibCurve > Add calibration curve with two mix only
⚪ ManageCalibCurve > Add calibration curve with a machine and three mix
⚪ ManageCalibCurve > Impossible to add daughter solution without machine and mix
⚪ ManageCalibCurve > Impossible to add daughter solution without mix
⚪ ManageCalibCurve > Impossible to add daughter solution without machine
⚪ ManageCalibCurve > Impossible to add daughter solution from other machine
⚪ ManageCalibCurve > Impossible to add daughter solution not from mix
⚪ ManageCalibCurve > Add a daughter solution from three mix
⚪ ManageCalibCurve > Impossible to add daughter solution from two mix
⚪ ManageCalibCurve > Cancel add calibration curve
⚪ ManageCalibCurve > Cancel delete calibration curve
⚪ ManageCalibCurve > Cancel archive calibration curve

✅ test/component/TableDb.test.ts

⚪ TableDb > unexist database table
✅ TableDb > Just show databse table empty
✅ TableDb > Show database table with 2 lines

✅ test/component/TableDbAction.test.ts

⚪ TableDbAction > unexist database table
⚪ TableDbAction > Just show databse table empty
⚪ TableDbAction > Show database table with 2 lines
⚪ TableDbAction > Case we just add action
⚪ TableDbAction > Case we add and delete action

✅ test/extract.test.ts

⚪ My test > my test

✅ test/layouts/default.test.ts

✅ default layout: default render > default image banner
✅ default layout: default render > default lang button
✅ default layout: default render > default help button
✅ default layout: default render > default logout button
⚪ default layout: default render > change Lang

✅ test/layouts/navigateLayout.test.ts

✅ MyComponent > renders tabs with correct names and highlights the current page
✅ MyComponent > calls goToTab function when a tab is clicked

✅ test/middleware/checkLogin.test.ts

✅ CheckLogin > should do nothing if coming from /login
✅ CheckLogin > should do nothing if navigating to /login
✅ CheckLogin > should navigate to login if cookies are not set
✅ CheckLogin > should navigate to login if token is invalid
✅ CheckLogin > should allow navigation if token is valid

✅ test/pages/serie.test.ts

✅ calibration curve page > showed default tab of calibration curve page is calibration curve tab
✅ calibration curve page > load machine tab after a click
✅ calibration curve page > load machine tab after two click
✅ calibration curve page > load machine tab after three click
✅ calibration curve page > load machine tab after four click
✅ calibration curve page > load machine tab after click all tab
✅ calibration curve page > click a second time a tab

✅ test/server/ChEBISearch.test.ts

✅ ChEBI getLiteEntity > Complete name of molecule
✅ ChEBI getLiteEntity > Partial name of molecule
✅ ChEBI getLiteEntity > CHEBID
✅ ChEBI getLiteEntity > partial CHEBID
✅ ChEBI getLiteEntity > Formula
✅ ChEBI getLiteEntity > Partial formula
✅ ChEBI getLiteEntity > nothing as search
✅ ChEBI getCompleteEntity > ChEBI ID
✅ ChEBI getCompleteEntity > secondary ChEBI ID
✅ ChEBI getCompleteEntity > ChEBI ID without header
✅ ChEBI getCompleteEntity > only with header
✅ ChEBI getCompleteEntity > nothing as search

✅ test/server/molecule.test.ts

✅ molecule > add molecule
✅ molecule > add molecule with ChEBI synonym
✅ molecule > add molecule with user synonym
✅ molecule > add molecule with eqivalent and synonym
✅ molecule > modif molecule: add synonym
✅ molecule > modif molecule: delete synonym
✅ molecule > modif molecule: add equivalent
✅ molecule > modif molecule: delete equivalent
✅ molecule > search molecule
✅ molecule > search molecule with no result
✅ molecule > search molecule with error
✅ molecule > check molecule table empty
✅ molecule > check molecule table not empty

✅ test/server/tableClass.test.ts

⚪ tableClass > Check create table object
⚪ tableClass > bad name table