mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-10 12:37:55 +01:00
test(evals): scope question inspection to timeline opener
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
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 });
|
||||
|
||||
Reference in new issue
Block a user