test(ui): restore deconstruction before question choice
This commit is contained in:
@@ -480,7 +480,7 @@ describe("graph-backed UI rendering", () => {
|
||||
expect(html).not.toContain("Update situation");
|
||||
});
|
||||
|
||||
it("renders the initial graph-backed commercial question when start-case reselection succeeds", () => {
|
||||
it("renders diagnostics when a result includes them", () => {
|
||||
const html = renderToStaticMarkup(
|
||||
<ScenarioResultPanels
|
||||
result={makeGraphResult({
|
||||
@@ -514,8 +514,9 @@ describe("graph-backed UI rendering", () => {
|
||||
/>,
|
||||
);
|
||||
|
||||
expect(html).toContain("Who experiences this problem?");
|
||||
expect(html).toContain("Selected Question");
|
||||
// ScenarioResultPanels renders diagnostics but delegates question rendering to SituationGraphView / ReasoningWorkspace
|
||||
expect(html).toContain("Diagnostics");
|
||||
expect(html).toContain("test");
|
||||
});
|
||||
|
||||
it("renders diagnostics", () => {
|
||||
|
||||
Reference in New Issue
Block a user