We are ignoring this error for now when testing locally on our laptop.
➜ capture-lite git:(feature-fix-capture-disappear-after-refresh) ✗ npm run test.ci
> capture-lite@0.47.0 test.ci
> npm run preconfig && ng test --no-watch --no-progress --source-map=false --browsers=ChromeHeadlessCI
> capture-lite@0.47.0 preconfig
> node set-secret.js
A secret file has generated successfully at ./src/app/shared/dia-backend/secret.ts
09 02 2022 12:36:48.017:INFO [karma-server]: Karma v6.3.4 server started at <a href="http://localhost:9876/">http://localhost:9876/</a>
09 02 2022 12:36:48.018:INFO [launcher]: Launching browsers ChromeHeadlessCI with concurrency unlimited
09 02 2022 12:36:48.020:INFO [launcher]: Starting browser ChromeHeadless
09 02 2022 12:36:54.663:INFO [Chrome Headless 98.0.4758.80 (Mac OS 10.15.7)]: Connected on socket hZZRPeiIpjJ0e70sAAAB with id 25731703
Chrome Headless 98.0.4758.80 (Mac OS 10.15.7) MediaStore should write atomicly FAILED
Error: Timeout - Async function did not complete within 5000ms (set by jasmine.DEFAULT_TIMEOUT_INTERVAL)
at <Jasmine>
Error: File does not exist.
at FilesystemPluginWeb.<anonymous> (<a href="http://localhost:9876/_karma_webpack_/vendor.js:153986:35">http://localhost:9876/_karma_webpack_/vendor.js:153986:35</a>)
at step (<a href="http://localhost:9876/_karma_webpack_/vendor.js:342099:23">http://localhost:9876/_karma_webpack_/vendor.js:342099:23</a>)
at Object.next (<a href="http://localhost:9876/_karma_webpack_/vendor.js:342080:53">http://localhost:9876/_karma_webpack_/vendor.js:342080:53</a>)
at fulfilled (<a href="http://localhost:9876/_karma_webpack_/vendor.js:342070:58">http://localhost:9876/_karma_webpack_/vendor.js:342070:58</a>)
at ZoneDelegate.invoke (<a href="http://localhost:9876/_karma_webpack_/polyfills.js:8285:26">http://localhost:9876/_karma_webpack_/polyfills.js:8285:26</a>)
at ProxyZoneSpec.onInvoke (<a href="http://localhost:9876/_karma_webpack_/vendor.js:340089:39">http://localhost:9876/_karma_webpack_/vendor.js:340089:39</a>)
at ZoneDelegate.invoke (<a href="http://localhost:9876/_karma_webpack_/polyfills.js:8284:52">http://localhost:9876/_karma_webpack_/polyfills.js:8284:52</a>)
at Zone.run (<a href="http://localhost:9876/_karma_webpack_/polyfills.js:8047:43">http://localhost:9876/_karma_webpack_/polyfills.js:8047:43</a>)
at <a href="http://localhost:9876/_karma_webpack_/polyfills.js:9189:36">http://localhost:9876/_karma_webpack_/polyfills.js:9189:36</a>
at ZoneDelegate.invokeTask (<a href="http://localhost:9876/_karma_webpack_/polyfills.js:8319:31">http://localhost:9876/_karma_webpack_/polyfills.js:8319:31</a>)
Chrome Headless 98.0.4758.80 (Mac OS 10.15.7) MediaStore should delete atomicly FAILED
Error: Timeout - Async function did not complete within 5000ms (set by jasmine.DEFAULT_TIMEOUT_INTERVAL)
at <Jasmine>
Error: File does not exist.
at FilesystemPluginWeb.<anonymous> (<a href="http://localhost:9876/_karma_webpack_/vendor.js:154115:35">http://localhost:9876/_karma_webpack_/vendor.js:154115:35</a>)
at step (<a href="http://localhost:9876/_karma_webpack_/vendor.js:342099:23">http://localhost:9876/_karma_webpack_/vendor.js:342099:23</a>)
at Object.next (<a href="http://localhost:9876/_karma_webpack_/vendor.js:342080:53">http://localhost:9876/_karma_webpack_/vendor.js:342080:53</a>)
at fulfilled (<a href="http://localhost:9876/_karma_webpack_/vendor.js:342070:58">http://localhost:9876/_karma_webpack_/vendor.js:342070:58</a>)
at ZoneDelegate.invoke (<a href="http://localhost:9876/_karma_webpack_/polyfills.js:8285:26">http://localhost:9876/_karma_webpack_/polyfills.js:8285:26</a>)
at ProxyZoneSpec.onInvoke (<a href="http://localhost:9876/_karma_webpack_/vendor.js:340089:39">http://localhost:9876/_karma_webpack_/vendor.js:340089:39</a>)
at ZoneDelegate.invoke (<a href="http://localhost:9876/_karma_webpack_/polyfills.js:8284:52">http://localhost:9876/_karma_webpack_/polyfills.js:8284:52</a>)
at Zone.run (<a href="http://localhost:9876/_karma_webpack_/polyfills.js:8047:43">http://localhost:9876/_karma_webpack_/polyfills.js:8047:43</a>)
at <a href="http://localhost:9876/_karma_webpack_/polyfills.js:9189:36">http://localhost:9876/_karma_webpack_/polyfills.js:9189:36</a>
at ZoneDelegate.invokeTask (<a href="http://localhost:9876/_karma_webpack_/polyfills.js:8319:31">http://localhost:9876/_karma_webpack_/polyfills.js:8319:31</a>)
Chrome Headless 98.0.4758.80 (Mac OS 10.15.7): Executed 213 of 213 (2 FAILED) (26.026 secs / 25.834 secs)
TOTAL: 2 FAILED, 211 SUCCESS
=============================== Coverage summary ===============================
Statements : 50.99% ( 1722/3377 )
Branches : 29.65% ( 287/968 )
Functions : 40.52% ( 611/1508 )
Lines : 52.98% ( 1555/2935 )
================================================================================
➜ capture-lite git:(feature-fix-capture-disappear-after-refresh) ✗
We are ignoring this error for now when testing locally on our laptop.
Also check out https://dt42-numbers.slack.com/archives/C3CHPJTS4/p1626339705242700 and the message right below.
┆Issue is synchronized with this Asana task by Unito ┆Created By: Ray Hung