Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0049213 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [POS2] Core | minor | have not tried | 2022-05-04 16:43 | 2023-01-03 16:48 | |||||||
Reporter | jarmendariz | View Status | public | |||||||||
Assigned To | Triage Platform Base | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | 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 | 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. | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
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 |
Copyright © 2000 - 2009 MantisBT Group |