test(evals): scope question inspection to timeline opener

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-11-04 19:14:18 -06:00
1 parent e7af60dd98
commit a400fd8a61
1 file changed
+2 -1
@@ -52,7 +52,8 @@ async function observeQuestion(ctx: ChatCatalogContext, state: Record<string, un
state.visibleContinuationDescriptions = [];
for (const card of multipartContinuationCards(observed)) {
const description = card.payload.questionSet!.description!;
const row = ctx.input.page.locator(`[id=${JSON.stringify(`interaction-${card.id}`)}]`);
const row = ctx.input.page.getByTestId("task-chat-unanswered-question")
.and(ctx.input.page.locator(`[id=${JSON.stringify(`interaction-${card.id}`)}]`));
await expect(row).toBeVisible({ timeout: remainingIdentityObservationBudget(ctx) });
await row.click({ timeout: remainingIdentityObservationBudget(ctx) });
const context = ctx.input.page.getByTestId("task-chat-composer-takeover").getByRole("region", { name: "Question context", exact: true });