Stage 9 close-out: user-initiated full re-verify of active slot (S20.3 cadence) wired into Check my data, boot light-check budget test
Some checks failed
ci / check (push) Has been cancelled
Some checks failed
ci / check (push) Has been cancelled
This commit is contained in:
parent
506bebed9c
commit
859cb649c8
5 changed files with 457 additions and 20 deletions
|
|
@ -123,6 +123,19 @@ describe("Status view", () => {
|
|||
expect(view.innerHTML).not.toContain("<b>map</b>");
|
||||
});
|
||||
|
||||
it("check notice renders as live status text when provided", () => {
|
||||
const view = createStatusView(
|
||||
report(),
|
||||
actions(),
|
||||
"All festival data checked — v1 verified on this device.",
|
||||
);
|
||||
const notice = view.querySelector(".status-check-notice");
|
||||
expect(notice?.textContent).toContain("v1 verified");
|
||||
expect(notice?.getAttribute("role")).toBe("status");
|
||||
const plain = createStatusView(report(), actions());
|
||||
expect(plain.querySelector(".status-check-notice")).toBeNull();
|
||||
});
|
||||
|
||||
it("prep guidance has Back and Close", () => {
|
||||
const onBack = vi.fn();
|
||||
const onClose = vi.fn();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue