Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048834
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSminorhave not tried2022-03-18 14:042022-05-24 10:18
ReporterplujanView Statuspublic 
Assigned Toasier_perez 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0048834: [Coverage] The Jest coverage of BaseSwipeableLine.jsx is not good enough

DescriptionFile: 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 ReproduceRun the jest coverage report and check the above file coverage.
Proposed SolutionKeep the coverage percentage in a value good enough for the code that can be covered with standard unit tests.
TagsNo 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
Powered by Mantis Bugtracker