fix(rectification): show choice-card prompt instead of hiding it
BUG-401 hid the legend to avoid duplicating Agent copy. After the question contract, the Agent only leads in, so the persisted stem must be visible on the card. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -667,8 +667,9 @@ test("the Agent prompt cannot offer candidates while asking for more evidence",
|
||||
assert.doesNotMatch(tools, /offer_selection/);
|
||||
});
|
||||
|
||||
test("choice cards keep the question accessible without repeating it visually", () => {
|
||||
assert.match(choiceCardComponent, /<legend className="sr-only">\{props\.card\.prompt\}<\/legend>/);
|
||||
test("choice cards render the persisted prompt as the visible question stem", () => {
|
||||
assert.match(choiceCardComponent, /<legend>\{props\.card\.prompt\}<\/legend>/);
|
||||
assert.doesNotMatch(choiceCardComponent, /<legend className="sr-only">\{props\.card\.prompt\}<\/legend>/);
|
||||
});
|
||||
|
||||
test("adopted time offers a consultation handoff without unique-minute copy", () => {
|
||||
|
||||
Reference in New Issue
Block a user