fix: feuille xlsx vide editable avec quadrillage vierge BUG-094
This commit is contained in:
@@ -690,6 +690,16 @@ await test("the 409 lossy flow re-emits with force after confirmation", async ()
|
||||
assert.equal(calls[1].body.force, true);
|
||||
});
|
||||
|
||||
// ── BUG-094 — structure actions work on an empty/new sheet ─────────────────
|
||||
|
||||
await test("the structure menu offers row/column actions without an active cell", () => {
|
||||
const area = mount();
|
||||
area.querySelector("#xlsx-structure-btn").click();
|
||||
const labels = [...area.querySelectorAll(".xlsx-structure-item")].map((b) => b.textContent);
|
||||
assert.ok(labels.includes(FR["xlsx.row_insert"]), "row insert available before any click");
|
||||
assert.ok(labels.includes(FR["xlsx.col_insert"]), "column insert available before any click");
|
||||
});
|
||||
|
||||
// ── A17 — dashboard panel ─────────────────────────────────────────────
|
||||
await test("the dashboard button fetches the metadata and renders named ranges + KPIs", async () => {
|
||||
const area = mount();
|
||||
|
||||
Reference in New Issue
Block a user