Actions
Bug #35830
closedIntermittent react test failure on ACS table test
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Alternate Content Sources
Target version:
Description
Summary of all failing tests
FAIL webpack/scenes/AlternateContentSources/MainTable/__tests__/acsTable.test.js (1459 MB heap size)
● Can call API and show ACS on page load
Warning: An update to %s inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state /
});
/ assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act%s
28 | // }
29 |
> 30 | throw new Error(error); // comment this and uncomment the next line when checking for ouia ids
| ^
31 | // if (!error.includes('Failed prop type')) throw new Error(error);
32 | };
33 |
at console.Object.<anonymous>.global.console.error (webpack/global_test_setup.js:30:9)
at printWarning (../foreman/node_modules/react-dom/cjs/react-dom.development.js:88:30)
at error (../foreman/node_modules/react-dom/cjs/react-dom.development.js:60:5)
at warnIfNotCurrentlyActingUpdatesInDEV (../foreman/node_modules/react-dom/cjs/react-dom.development.js:23284:7)
at setItems (../foreman/node_modules/react-dom/cjs/react-dom.development.js:15656:9)
at _callee$ (webpack/components/Search/Search.js:78:9)
at tryCatch (webpack/components/Search/Search.js:2:1)
at Generator.<anonymous> (webpack/components/Search/Search.js:2:1)
at Generator.next (webpack/components/Search/Search.js:2:1)
at asyncGeneratorStep (webpack/components/Search/Search.js:2:1)
at _next (webpack/components/Search/Search.js:2:1)
Updated by Lucy Fu about 2 years ago
- Target version changed from Katello 4.8.0 to Katello 4.9.0
Updated by Jeremy Lenz about 2 years ago
- Category set to Alternate Content Sources
Updated by Lucy Fu almost 2 years ago
- Target version changed from Katello 4.9.0 to Katello 4.10.0
Updated by Samir Jha over 1 year ago
- Status changed from New to Rejected
Haven't seen this in a while. Closing!
Updated by Samir Jha over 1 year ago
- Target version changed from Katello 4.10.0 to Katello Recycle Bin
Actions