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

View Revisions: Issue #51807 Back to Issue ]
Summary 0051807: Unexpected console errors in some story tests
Revision 2024-02-19 09:42 by caristu
Description Storyshots.test.js shows console errors when executed:

- "console.error Warning: Invalid argument supplied to oneOfType, expected an instance of array."
- ./components/PaymentIntegration/stories/Autotest.stories.jsx shows error: "_ is not defined"
Revision 2023-03-13 17:02 by caristu
Steps To Reproduce 1) Run npm test modules/org.openbravo.core2/web-jspack/org.openbravo.core2/src/storybook/Storyshots.test.js

See that errors appears in the console. See attached.

Note that these errors are also displayed in the browser console when opening the stories with story book.

And they also can be seen looking at artifact "jest.log" in CI
Revision 2023-03-13 17:02 by caristu
Description - Storyshots.test.js shows console errors when executed: "Unexpected error while loading ./components/TicketList/TicketListRemoteGrid/stories/TicketListRemoteGrid.stories.jsx: Cannot set OB object. It is already set
     Error: Cannot set OB object. It is already set"

- ./components/PaymentIntegration/stories/Autotest.stories.jsx shows error: "_ is not defined"
Revision 2023-03-13 16:57 by caristu
Steps To Reproduce 1) Run npm test modules/org.openbravo.core2/web-jspack/org.openbravo.core2/src/storybook/Storyshots.test.js

See that errors appears in the console. See attached.

Note that these errors are also displayed in the browser console when opening the stories with story book.

And they also can be seen wlooking at artifact "jest.log" in CI
Revision 2023-03-13 16:57 by caristu
Description Storyshots.test.js shows console errors when executed: "Unexpected error while loading ./components/TicketList/TicketListRemoteGrid/stories/TicketListRemoteGrid.stories.jsx: Cannot set OB object. It is already set
     Error: Cannot set OB object. It is already set"

./components/PaymentIntegration/stories/Autotest.stories.jsx shows error: "_ is not defined"
Revision 2023-03-08 12:17 by caristu
Steps To Reproduce 1) Run npm test modules/org.openbravo.core2/web-jspack/org.openbravo.core2/src/storybook/Storyshots.test.js

See that errors appears in the console. See attached.

Note that these errors are also displayed in the browser console when opening the stories with story book.
Revision 2023-03-08 12:16 by caristu
Steps To Reproduce 1)run npm test modules/org.openbravo.core2/web-jspack/org.openbravo.core2/src/storybook/Storyshots.test.js

See that errors appears in the console. See attached.

Note that these errors are also displayed in the browser console when opening the stories with story book.
Revision 2023-03-08 12:16 by caristu
Description Storyshots.test.js shows console errors when executed: " Unexpected error while loading ./components/TicketList/TicketListRemoteGrid/stories/TicketListRemoteGrid.stories.jsx: Cannot set OB object. It is already set
     Error: Cannot set OB object. It is already set"
Revision 2023-03-08 12:16 by caristu
Description Storyshots.test.js shows console errors when executed: " Unexpected error while loading ./components/TicketList/TicketListRemoteGrid/stories/TicketListRemoteGrid.stories.jsx: Cannot set OB object. It is already set
     Error: Cannot set OB object. It is already set
"


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker