fix: refine session report and live activity layout
This commit is contained in:
@@ -174,6 +174,10 @@ test("never renders technical approval, promotion, or memory decisions", async (
|
||||
{ type: "table_approved", subject: "fact_a" },
|
||||
{ type: "table_promoted", subject: "fact_a" },
|
||||
{ type: "column_promoted", subject: "fact_a.id" },
|
||||
{ type: "cte_approved", subject: "eventi_device" },
|
||||
{ type: "sql_approved", subject: "phase:7" },
|
||||
{ type: "datamart_requested", subject: "phase:8" },
|
||||
{ type: "datamart_declined", subject: "phase:8" },
|
||||
{ type: "memory_promoted", subject: "concetto" },
|
||||
{ type: "column_excluded", subject: "fact_a.note", detail: "Non **pertinente**" },
|
||||
].map((decision) => JSON.stringify(decision)).join("\n");
|
||||
@@ -189,7 +193,17 @@ test("never renders technical approval, promotion, or memory decisions", async (
|
||||
|
||||
expect(await screen.findByText("column excluded")).toBeInTheDocument();
|
||||
expect(screen.getByText("pertinente").tagName).toBe("STRONG");
|
||||
for (const hidden of ["phase approved", "table approved", "table promoted", "column promoted", "memory promoted"]) {
|
||||
for (const hidden of [
|
||||
"phase approved",
|
||||
"table approved",
|
||||
"table promoted",
|
||||
"column promoted",
|
||||
"cte approved",
|
||||
"sql approved",
|
||||
"datamart requested",
|
||||
"datamart declined",
|
||||
"memory promoted",
|
||||
]) {
|
||||
expect(screen.queryByText(hidden)).not.toBeInTheDocument();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user