mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-12 03:48:56 +00:00
feat(ui): capitalize the Noul answer type label
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
a2b575d6cd
commit
e79a40fce2
2 changed files with 2 additions and 2 deletions
|
|
@ -27,7 +27,7 @@ import {
|
|||
import type { SystemOnePayloadValidation } from "./lib/validatePayload";
|
||||
|
||||
const QUESTION_TYPES: readonly QuestionType[] = ["choice", "noul", "score"];
|
||||
const TYPE_LABELS: Record<QuestionType, string> = { choice: "Choice", noul: "noul", score: "Score" };
|
||||
const TYPE_LABELS: Record<QuestionType, string> = { choice: "Choice", noul: "Noul", score: "Score" };
|
||||
const TYPE_HELP: Record<QuestionType, string | undefined> = {
|
||||
choice: undefined,
|
||||
noul: "noul is a yes / no question",
|
||||
|
|
|
|||
|
|
@ -874,7 +874,7 @@ describe("SystemOneUI integration", () => {
|
|||
fill(question("team").getByRole("textbox", { name: "Description of infra" }), "Deploys");
|
||||
|
||||
await user.click(screen.getByRole("button", { name: "Add question" }));
|
||||
await pickAnswerType(user, "question_1", "noul");
|
||||
await pickAnswerType(user, "question_1", "Noul");
|
||||
rename(question("question_1").getByRole("textbox", { name: "Question name" }), "urgent");
|
||||
fill(question("urgent").getByRole("textbox", { name: "Instructions" }), "Is this blocking users?");
|
||||
fill(question("urgent").getByRole("textbox", { name: "Yes means" }), "Nobody can log in");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue