Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0055464Openbravo ERPA. Platformpublic2024-05-13 13:252024-05-30 23:41
ablasco 
ablasco 
normalmajorhave not tried
closedfixed 
5
 
 
Core
No
0055464: Upgrade Jest from 27.5.1 to its latest version
In order to remain updated and take advantage of new features/bugfixes/optimizations introduced by jest devs, we should update to the new major version ( v29.7 ) and fix any issue caused by the breaking changes if any.

Avoid some / all of the deprecated warning shown during npm install related with jest upgrade.

Upgrade Jest and related plugins and check that tests still works as expected.
No tags attached.
related to feature request 0047891 new Triage Platform Base Upgrade Jest from 26.6.0 to its latest version 
Issue History
2024-05-13 13:25ablascoNew Issue
2024-05-13 13:25ablascoAssigned To => ablasco
2024-05-13 13:25ablascoModules => Core
2024-05-13 13:25ablascoTriggers an Emergency Pack => No
2024-05-13 13:26ablascoRelationship addedrelated to 0047891
2024-05-13 13:26ablascoSummaryUpgrade Jest from 26.6.0 to its latest version => Upgrade Jest from 27.5.1 to its latest version
2024-05-13 13:36hgbotNote Added: 0164502
2024-05-13 13:37hgbotNote Added: 0164503
2024-05-13 13:41hgbotNote Added: 0164504
2024-05-13 13:44hgbotNote Added: 0164505
2024-05-13 13:47hgbotNote Added: 0164506
2024-05-13 13:51hgbotNote Added: 0164507
2024-05-30 23:34hgbotNote Added: 0165358
2024-05-30 23:34hgbotNote Added: 0165359
2024-05-30 23:35hgbotNote Added: 0165360
2024-05-30 23:35hgbotNote Added: 0165361
2024-05-30 23:35hgbotNote Added: 0165362
2024-05-30 23:35hgbotNote Added: 0165363
2024-05-30 23:36hgbotNote Added: 0165364
2024-05-30 23:36hgbotNote Added: 0165365
2024-05-30 23:39hgbotResolutionopen => fixed
2024-05-30 23:39hgbotStatusnew => closed
2024-05-30 23:39hgbotFixed in Version => PR24Q3
2024-05-30 23:39hgbotNote Added: 0165366
2024-05-30 23:39hgbotNote Added: 0165367
2024-05-30 23:41hgbotFixed in VersionPR24Q3 => 24Q3
2024-05-30 23:41hgbotNote Added: 0165368
2024-05-30 23:41hgbotNote Added: 0165369

Notes
(0164502)
hgbot   
2024-05-13 13:36   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1491 [^]
(0164503)
hgbot   
2024-05-13 13:37   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1238 [^]
(0164504)
hgbot   
2024-05-13 13:41   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/706 [^]
(0164505)
hgbot   
2024-05-13 13:44   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.taxes/-/merge_requests/16 [^]
(0164506)
hgbot   
2024-05-13 13:47   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/merge_requests/53 [^]
(0164507)
hgbot   
2024-05-13 13:51   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.taxfree/-/merge_requests/33 [^]
(0165358)
hgbot   
2024-05-30 23:34   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.taxfree [^]
Changeset: e4da4718d0677a41acc86a659068a851c79f9089
Author: adrian.blasco <adrian.blasco@openbravo.com>
Date: 30-05-2024 23:33:12
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.taxfree/-/commit/e4da4718d0677a41acc86a659068a851c79f9089 [^]

Related to ISSUE-55464: Tests update using window.crypto property definition

---
M web-jspack/org.openbravo.events.taxfree/src/model/connection/__test__/TaxFreeEvent.test.js
M web-jspack/org.openbravo.events.taxfree/src/model/messages/__test__/MessagesExtension.test.js
M web-jspack/org.openbravo.events.taxfree/src/model/user-interface/user-actions/__test__/ReprintTaxFreeForm.test.js
---
(0165359)
hgbot   
2024-05-30 23:34   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.taxfree/-/merge_requests/33 [^]
(0165361)
hgbot   
2024-05-30 23:35   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.taxes/-/merge_requests/16 [^]
(0165360)
hgbot   
2024-05-30 23:35   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.taxes [^]
Changeset: 6a078c9f9ace2dd0f8b8645d3f203f5ec9a62304
Author: adrian.blasco <adrian.blasco@openbravo.com>
Date: 30-05-2024 23:34:20
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.taxes/-/commit/6a078c9f9ace2dd0f8b8645d3f203f5ec9a62304 [^]

Related to ISSUE-55464: Tests update using window.crypto property definition

---
M web-test/model/business-object/ticket/actions/CalculateExternalTaxes.test.js
---
(0165362)
hgbot   
2024-05-30 23:35   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/merge_requests/53 [^]
(0165363)
hgbot   
2024-05-30 23:35   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf [^]
Changeset: a20c8e357af8b58b15e2d34a6db02d6accc8af58
Author: adrian.blasco <adrian.blasco@openbravo.com>
Date: 30-05-2024 23:35:14
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/commit/a20c8e357af8b58b15e2d34a6db02d6accc8af58 [^]

Related to ISSUE-55464: Tests update with useFakeTimers

---
M web-jspack/org.openbravo.retail.discounts.coupons.otf/src/model/global/__test__/CreateCoupons.test.js
---
(0165364)
hgbot   
2024-05-30 23:36   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/706 [^]
(0165365)
hgbot   
2024-05-30 23:36   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 885f350f9d6afc84f9716553b0e16902af2e4fdd
Author: adrian.blasco <adrian.blasco@openbravo.com>
Date: 30-05-2024 23:36:10
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/885f350f9d6afc84f9716553b0e16902af2e4fdd [^]

Related to ISSUE-55464: Tests update using legacyFakeTimers and window.crypto property defined in uuid.test.js

---
M web-test/integration/remote-server/BackendServer.test.js
M web-test/model/masterdata/MasterdataRefresh.test.js
M web-test/util/UUID.test.js
---
(0165366)
hgbot   
2024-05-30 23:39   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 63aa2444007ea13d0cce8291c6f36ec9daf90caf
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 30-05-2024 23:39:17
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/63aa2444007ea13d0cce8291c6f36ec9daf90caf [^]

Fixes ISSUE-55464: Merges Jest upgrade to v29.7

---
M package-lock.json
M package.json
---
(0165367)
hgbot   
2024-05-30 23:39   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1238 [^]
(0165368)
hgbot   
2024-05-30 23:41   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: a67711a6c6429edc96aabbcd7ab7d676cb52db9c
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 30-05-2024 23:41:06
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/a67711a6c6429edc96aabbcd7ab7d676cb52db9c [^]

Fixes ISSUE-55464: Merges Jest Upgrade to v29

---
A web-jspack/org.openbravo.core2/src/components/ConfirmationDialog/__test__/ConfirmationDIalogFakeTimers.test.jsx
M web-jspack/org.openbravo.core2/src/components/AutocompleteFormInput/__test__/AutcompleteFormInput.test.jsx
M web-jspack/org.openbravo.core2/src/components/BaseFormInput/__test__/fillInput.js
M web-jspack/org.openbravo.core2/src/components/ConfirmationDialog/__test__/ConfirmationDialog.test.jsx
M web-jspack/org.openbravo.core2/src/components/Form/BaseForm.jsx
M web-jspack/org.openbravo.core2/src/components/InputAndApprovalDialog/__test__/InputAndApprovalDialog.test.jsx
M web-jspack/org.openbravo.core2/src/core/user-action/__test__/UserAction.test.js
---
(0165369)
hgbot   
2024-05-30 23:41   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1491 [^]