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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049213
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Coreminorhave not tried2022-05-04 16:432023-01-03 16:48
ReporterjarmendarizView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusnewFix 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

0049213: Warning message about incorrect reference to underscore appears on Storyshots tests

DescriptionWhen 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 ReproduceJust run 'npm test' or run any pos2 job in CI and see jest output.
Proposed SolutionProbably related to a Storybook dependency. Check if an upgrade solves this problem.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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
Powered by Mantis Bugtracker