pinokiod 8.0.64 → 8.0.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/server/public/layout.js
CHANGED
|
@@ -582,7 +582,17 @@ test("an empty automatic check briefly confirms completion", async () => {
|
|
|
582
582
|
assert.equal(revealTimers.length, revealsBeforeFocusedCompletion + 1)
|
|
583
583
|
assert.equal(completionTimers.length, timersBeforeFocusedCompletion,
|
|
584
584
|
"completion dismissal cannot start before its result is revealed")
|
|
585
|
+
eventSources[0].onerror()
|
|
586
|
+
await new Promise((resolve) => nativeSetTimeout(resolve, 0))
|
|
587
|
+
assert.equal(tray.hidden, false,
|
|
588
|
+
"a reconnect cannot erase a pending completion reveal")
|
|
589
|
+
assert.equal(tray.querySelector(".vault-auto-scan-close"), focusedClose)
|
|
590
|
+
assert.equal(tray.querySelector(
|
|
591
|
+
'.vault-auto-scan-row[data-state="complete"]'), null)
|
|
585
592
|
revealTimers.at(-1).callback()
|
|
593
|
+
const focusedCompleted = tray.querySelector(
|
|
594
|
+
'.vault-auto-scan-row[data-state="complete"]')
|
|
595
|
+
assert.ok(focusedCompleted)
|
|
586
596
|
assert.equal(completionTimers.length, timersBeforeFocusedCompletion,
|
|
587
597
|
"completion does not start its timer while focus is already in the card")
|
|
588
598
|
focusedClose.dispatchEvent(new dom.window.FocusEvent("focusout", {
|
|
@@ -590,10 +600,8 @@ test("an empty automatic check briefly confirms completion", async () => {
|
|
|
590
600
|
relatedTarget: null
|
|
591
601
|
}))
|
|
592
602
|
assert.equal(completionTimers.length, timersBeforeFocusedCompletion + 1)
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
assert.equal(tray.hidden, true,
|
|
596
|
-
"a reconnect drops presentation-only completion state")
|
|
603
|
+
completionTimers.at(-1).callback()
|
|
604
|
+
assert.equal(tray.hidden, true)
|
|
597
605
|
|
|
598
606
|
send({
|
|
599
607
|
enabled: true,
|