Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0048834 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | minor | have not tried | 2022-03-18 14:04 | 2022-05-24 10:18 | |||
Reporter | plujan | View Status | public | |||||
Assigned To | asier_perez | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0048834: [Coverage] The Jest coverage of BaseSwipeableLine.jsx is not good enough | |||||||
Description | File: org.openbravo.core2/web-jspack/org.openbravo.core2/src/components/ConfigSwipeableLine BaseSwipeableLine.jsx Results of jest coverage: 33.8% Statements 24/71 21.28% Branches 20/94 38.46% Functions 5/13 32.86% Lines 23/70 Most of the untested code seems to be part of "Forward Ref" | |||||||
Steps To Reproduce | Run the jest coverage report and check the above file coverage. | |||||||
Proposed Solution | Keep the coverage percentage in a value good enough for the code that can be covered with standard unit tests. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0137316) hgbot (developer) 2022-05-16 13:10 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/751 [^] |
(0137656) hgbot (developer) 2022-05-24 09:20 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^] Changeset: d46ee8c829afc697120b23aa267112d2d5f06869 Author: Asier Perez <asier.perez@openbravo.com> Date: 24-05-2022 07:08:31 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/d46ee8c829afc697120b23aa267112d2d5f06869 [^] Fix ISSUE-48834: Increase Jest coverage of BaseSwipeableLine.jsx --- M web-jspack/org.openbravo.core2/src/components/ConfigSwipeableLine/__test__/ConfigSwipeableLine.test.jsx --- |
(0137657) hgbot (developer) 2022-05-24 09:20 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/751 [^] |
(0137667) hgbot (developer) 2022-05-24 09:51 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/756 [^] |
(0137668) hgbot (developer) 2022-05-24 09:58 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^] Changeset: 8c9c1f82dc2143b7c6b74161e3e293718d38cf8f Author: Asier Perez <asier.perez@openbravo.com> Date: 24-05-2022 07:51:58 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/8c9c1f82dc2143b7c6b74161e3e293718d38cf8f [^] Related to ISSUE-48834: Increase Jest coverage of BaseSwipeableLine.jsx --- M web-jspack/org.openbravo.core2/src/components/ConfigSwipeableLine/__test__/ConfigSwipeableLine.test.jsx --- |
(0137669) hgbot (developer) 2022-05-24 09:58 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^] Changeset: 233159b2c2ce6b557c52110762a00c97e66a38f6 Author: Asier Perez <asier.perez@openbravo.com> Date: 24-05-2022 07:51:58 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/233159b2c2ce6b557c52110762a00c97e66a38f6 [^] Fixes ISSUE-48834: Add test for BaseSwipeableLine --- M web-jspack/org.openbravo.core2/src/components/ConfigSwipeableLine/__test__/ConfigSwipeableLine.test.jsx --- |
(0137672) hgbot (developer) 2022-05-24 10:18 |
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/756 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2022-03-18 14:04 | plujan | New Issue | |
2022-03-18 14:04 | plujan | Assigned To | => Retail |
2022-03-18 14:04 | plujan | Triggers an Emergency Pack | => No |
2022-05-05 12:37 | plujan | Assigned To | Retail => asier_perez |
2022-05-10 13:42 | asier_perez | Status | new => acknowledged |
2022-05-13 14:09 | asier_perez | Status | acknowledged => scheduled |
2022-05-16 13:10 | hgbot | Note Added: 0137316 | |
2022-05-17 15:36 | plujan | Proposed Solution updated | |
2022-05-24 09:20 | hgbot | Note Added: 0137656 | |
2022-05-24 09:20 | hgbot | Note Added: 0137657 | |
2022-05-24 09:51 | hgbot | Note Added: 0137667 | |
2022-05-24 09:58 | hgbot | Note Added: 0137668 | |
2022-05-24 09:58 | hgbot | Resolution | open => fixed |
2022-05-24 09:58 | hgbot | Status | scheduled => closed |
2022-05-24 09:58 | hgbot | Note Added: 0137669 | |
2022-05-24 10:18 | hgbot | Note Added: 0137672 |
Copyright © 2000 - 2009 MantisBT Group |