Replaced labels with icons in the SR and Action badges
This commit is contained in:
@@ -56,7 +56,9 @@ test("CRM reports real page counts and Actions reports queued and completed requ
|
||||
pending[0]({ ok: true, actions: [], hasNext: false });
|
||||
await new Promise(resolve => setImmediate(resolve));
|
||||
assert.deepEqual(progress.at(-1), ["actions", "running", 1, 2]);
|
||||
pending[1]({ ok: false, error: "Synthetic failure" });
|
||||
await new Promise(resolve => setImmediate(resolve));
|
||||
for (let attempt = 1; attempt <= 5; attempt += 1) {
|
||||
pending[attempt]({ ok: false, error: "Synthetic failure" });
|
||||
await new Promise(resolve => setImmediate(resolve));
|
||||
}
|
||||
assert.deepEqual(progress.at(-1), ["actions", "complete-with-errors", 2, 2]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user