Openbravo Issue Tracking System - POS2 | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0049213 | POS2 | Core | public | 2022-05-04 16:43 | 2023-01-03 16:48 |
Reporter | jarmendariz | ||||
Assigned To | Triage Platform Base | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | new | Resolution | open | ||
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 | 0049213: Warning message about incorrect reference to underscore appears on Storyshots tests | ||||
Description | When you run Storyshots tests, both in local or in CI, the following warning message appears: console.warn Unexpected error while loading ./components/PaymentIntegration/stories/Autotest.stories.jsx: ReferenceError: _ is not defined 33 | global.console.warn = (...args) => { 34 | consoleHasErrorOrWarning = true; > 35 | warn(...args); | ^ 36 | }; 37 | 38 | beforeEach(() => { at console.Object.<anonymous>.global.console.warn (jest.setup.js:35:3) at Object.warn (modules/org.openbravo.core2/web-jspack/org.openbravo.core2/node_modules/@storybook/core-client/node_modules/@storybook/client-logger/dist/cjs/index.js:67:65) at modules/org.openbravo.core2/web-jspack/org.openbravo.core2/node_modules/@storybook/core-client/dist/cjs/preview/loadCsf.js:92:34 at Array.forEach (<anonymous>) at modules/org.openbravo.core2/web-jspack/org.openbravo.core2/node_modules/@storybook/core-client/dist/cjs/preview/loadCsf.js:85:20 at Array.forEach (<anonymous>) at modules/org.openbravo.core2/web-jspack/org.openbravo.core2/node_modules/@storybook/core-client/dist/cjs/preview/loadCsf.js:84:12 at ConfigApi.configure (modules/org.openbravo.core2/web-jspack/org.openbravo.core2/node_modules/@storybook/core-client/node_modules/@storybook/client-api/dist/cjs/config_api.js:26:7) | ||||
Steps To Reproduce | Just run 'npm test' or run any pos2 job in CI and see jest output. | ||||
Proposed Solution | Probably related to a Storybook dependency. Check if an upgrade solves this problem. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2022-05-04 16:43 | jarmendariz | New Issue | |||
2022-05-04 16:43 | jarmendariz | Assigned To | => Triage Platform Base | ||
2022-05-04 16:43 | jarmendariz | Triggers an Emergency Pack | => No | ||
2022-05-04 16:44 | jarmendariz | Issue cloned | 0049214 | ||
2022-05-04 16:44 | jarmendariz | Relationship added | related to 0049214 | ||
2023-01-03 16:48 | shuehner | Issue Monitored: shuehner |
There are no notes attached to this issue. |