-
Type: Bug
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: compound-2021.0, compound-2023.0
-
Component/s: Compound Documents, Tests
The frontend unit tests on nuxeo-compound-documents addon always fail and should be fixed.
The following tests are always failing, from time to time there's also random test:
[2023-06-19T11:58:42.432Z] SUMMARY: [2023-06-19T11:58:42.432Z] ✔ 58 tests completed [2023-06-19T11:58:42.432Z] ✖ 2 tests failed [2023-06-19T11:58:42.432Z] [2023-06-19T11:58:42.432Z] FAILED TESTS: [2023-06-19T11:58:42.432Z] Test suite from nuxeo-document-tree [2023-06-19T11:58:42.432Z] Interaction with the tree [2023-06-19T11:58:42.432Z] ✖ Should expand a Folderish document with children [2023-06-19T11:58:42.432Z] Safari 16.0 (Mac OS 10.15.7) [2023-06-19T11:58:42.432Z] [object CustomEvent] (undefined:undefined) dispatchEvent@[native code] @node_modules/@nuxeo/nuxeo-elements/nuxeo-page-provider.js:363:27 promiseReactionJob@[native code] [2023-06-19T11:58:42.432Z] ✖ Tree should collapse when clicking on a document [2023-06-19T11:58:42.432Z] Safari 16.0 (Mac OS 10.15.7) [2023-06-19T11:58:42.432Z] expected null not to be null r@node_modules/@esm-bundle/chai/esm/chai.js:2038:26 @node_modules/@esm-bundle/chai/esm/chai.js:196:47 @node_modules/@esm-bundle/chai/esm/chai.js:658:22 e@node_modules/@esm-bundle/chai/esm/chai.js:1304:27 get@[native code] @test/nuxeo-compound-document-tree.test.js:378:29 asyncFunctionResume@[native code] @[native code] promiseReactionJobWithoutPromise@[native code] promiseReactionJob@[native code] [2023-06-19T11:58:42.432Z] TOTAL: 2 FAILED, 58 SUCCESS
After fixing the tests, the github status utests/frontend should be set to required.
- is related to
-
NXP-31936 Align external addons to LTS 2023
- Resolved