Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(test): update test to match new conversation list behavior

Steven Enamakel3c953cfff29f
diff --git a/app/src/pages/__tests__/Conversations.render.test.tsx b/app/src/pages/__tests__/Conversations.render.test.tsx
index 1d83f6d3da..91502c53b7 100644
--- a/app/src/pages/__tests__/Conversations.render.test.tsx
+++ b/app/src/pages/__tests__/Conversations.render.test.tsx
@@ -2365,6 +2365,12 @@ describe('Conversations — turn gates on the assistant-ui surface', () => {
);
});
+ // The feedback textarea is revealed by the "Revise" decision button
+ // (`PlanReviewCardCore` in `aui/PlanReviewPart.tsx`) rather than shown
+ // unconditionally, unlike the old `PlanReviewCard.tsx` this replaced.
+ await act(async () => {
+ fireEvent.click(screen.getByText('Revise'));
+ });
const feedback = await screen.findByTestId('plan-review-feedback');
await act(async () => {
fireEvent.change(feedback, { target: { value: 'use the staging bucket' } });