Openbravo Issue Tracking System - Retail Modules | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0045751 | Retail Modules | Web POS | public | 2021-01-19 12:54 | 2021-01-27 17:07 | ||||||||||||||
Reporter | shuehner | ||||||||||||||||||
Assigned To | ranjith_qualiantech_com | ||||||||||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | ||||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | |||||||||||||||||||
OBNetwork customer | |||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0045751: jest tests in org.openbravo.retail.asyncpayprovider module does not work in jest script mode (i.e. in context of pos2) | ||||||||||||||||||
Description | Running jest test of this module in strict mode as it is done as part of pos2 module fails. Those tests should be fixed to work fine in strict mode. Example error: Test suite failed to run ReferenceError: enyo is not defined 4 | (function() { 5 | var e = "enyo.js"; > 6 | enyo = window.enyo || {}, enyo.locateScript = function(e) { | ^ 7 | var t = document.getElementsByTagName("script"); 8 | for (var n = t.length - 1, r, i, s = e.length; n >= 0 && (r = t[n]); n--) if (!r.located) { 9 | i = r.getAttribute("src") || ""; at modules/org.openbravo.mobile.core/web/org.openbravo.mobile.core/build/enyo.js:6:5 at Object.<anonymous> (modules/org.openbravo.mobile.core/web/org.openbravo.mobile.core/build/enyo.js:4:1) at Object.<anonymous> (modules/org.openbravo.retail.asyncpayprovider/web-test/rootasyncpay.js:19:1) at Object.<anonymous> (modules/org.openbravo.retail.asyncpayprovider/web-test/managemessages.test.js:13:1) | ||||||||||||||||||
Steps To Reproduce | Run jest for this module inside pos2 environment or run jest in strict mode as explained in 45019 | ||||||||||||||||||
Proposed Solution | |||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2021-01-19 12:54 | shuehner | New Issue | |||||||||||||||||
2021-01-19 12:54 | shuehner | Assigned To | => Retail | ||||||||||||||||
2021-01-19 12:54 | shuehner | Triggers an Emergency Pack | => No | ||||||||||||||||
2021-01-19 12:54 | shuehner | Relationship added | related to 0045019 | ||||||||||||||||
2021-01-19 14:01 | javietxe | Issue Monitored: javietxe | |||||||||||||||||
2021-01-25 11:27 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | ||||||||||||||||
2021-01-25 11:27 | ranjith_qualiantech_com | Status | new => scheduled | ||||||||||||||||
2021-01-26 18:31 | shuehner | Issue Monitored: shuehner | |||||||||||||||||
2021-01-27 15:37 | hgbot | Note Added: 0125805 | |||||||||||||||||
2021-01-27 17:06 | marvintm | Relationship added | related to 0045796 | ||||||||||||||||
2021-01-27 17:06 | hgbot | Resolution | open => fixed | ||||||||||||||||
2021-01-27 17:06 | hgbot | Status | scheduled => closed | ||||||||||||||||
2021-01-27 17:06 | hgbot | Note Added: 0125809 | |||||||||||||||||
2021-01-27 17:06 | hgbot | Note Added: 0125810 | |||||||||||||||||
2021-01-27 17:07 | marvintm | Note Added: 0125811 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|