Since the move to open-wc test framework (ELEMENTS-908), the nuxeo-layout.test.js is skipped.
It is probably related to how tests are being run with webpack today and issues loading layouts.
As a matter of fact, it is not passing on Firefox:
fox@fox-xps:~/workspace/nuxeo-elements$ npm run test:watch -- --grep ui/test/nuxeo-layout.test.js > nuxeo-elements@3.0.0-SNAPSHOT test:watch /home/fox/workspace/nuxeo-elements > karma start --auto-watch=true --single-run=false "--grep" "ui/test/nuxeo-layout.test.js" Webpack bundling... Webpack starts watching... Hash: 18e88335c027181b7318 Version: webpack 4.41.2 Time: 427ms Built at: 11/21/2019 11:54:18 AM Asset Size Chunks Chunk Names commons.js 1.74 MiB commons [emitted] commons nuxeo-layout.test.322574051.js 349 bytes nuxeo-layout.test.322574051 [emitted] nuxeo-layout.test.322574051 runtime.js 14.2 KiB runtime [emitted] runtime Entrypoint nuxeo-layout.test.322574051 = runtime.js commons.js nuxeo-layout.test.322574051.js 21 11 2019 11:54:18.561:WARN [karma]: No captured browser, open http://localhost:9877/ 21 11 2019 11:54:20.092:WARN [web-server]: 404: /notfound.html .. HeadlessChrome 78.0.3904 (Linux 0.0.0): Executed 2 of 2 SUCCESS (0.061 secs / 0.036 secs) Firefox 70.0.0 (Ubuntu 0.0.0) <nuxeo-layout> layout not found FAILED Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.Firefox 70.0.0 (Ubuntu 0.0.0) <nuxeo-layout> layout not found FAILED Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.Firefox 70.0.0 (Ubuntu 0.0.0) <nuxeo-layout> layout stamped with model FAILED Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.Firefox 70.0.0 (Ubuntu 0.0.0) <nuxeo-layout> layout stamped with model FAILED Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.Firefox 70.0.0 (Ubuntu 0.0.0): Executed 2 of 2 (2 FAILED) (4.039 secs / 4.025 secs) TOTAL: 2 FAILED, 2 SUCCESS TOTAL: 2 FAILED, 2 SUCCESS =============================== Coverage summary =============================== Statements : Unknown% ( 0/0 ) Branches : Unknown% ( 0/0 ) Functions : Unknown% ( 0/0 ) Lines : Unknown% ( 0/0 ) ================================================================================
- is related to
-
ELEMENTS-1139 Fix importHref not calling its callbacks
- Open
-
ELEMENTS-1091 nuxeo-layout should proceed to native validation first
- Resolved
-
ELEMENTS-1140 Add unit tests to nuxeo-error
- Resolved
-
ELEMENTS-908 Move to open-wc test framework
- Resolved