test(FN-4413): complete Step 2 — add global general helper markup regression
Fusion-Task-Id: FN-4413 Fusion-Task-Lineage: 8f3a455e-d96e-49cf-9745-330dbd319784
This commit is contained in:
@@ -660,6 +660,19 @@ describe("SettingsModal", () => {
|
||||
}
|
||||
});
|
||||
|
||||
it("renders helper descriptions as small text for global logging fields", async () => {
|
||||
renderModal({ initialSection: "global-general" });
|
||||
await waitForSettingsModalReady();
|
||||
|
||||
expect(document.querySelector(".settings-field-help")).toBeNull();
|
||||
|
||||
const toolOutputHelper = screen.getByText(/When disabled, tool rows are still logged but detailed tool payloads are omitted/i);
|
||||
expect(toolOutputHelper.closest("small")).toBeTruthy();
|
||||
|
||||
const thinkingHelper = screen.getByText(/Leave both thinking toggles off to keep the original default behavior/i);
|
||||
expect(thinkingHelper.closest("small")).toBeTruthy();
|
||||
});
|
||||
|
||||
it("renders global default tracking repo control", async () => {
|
||||
renderModal({ initialSection: "global-general" });
|
||||
await waitForSettingsModalReady();
|
||||
|
||||
Reference in New Issue
Block a user