mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-24 18:19:05 +02:00
test(e2e): select visible proof when delivery repeats its card
This commit is contained in:
1 parent
ddc9422e20
commit
92867f4173
1 file changed
+1
-1
@@ -2421,7 +2421,7 @@ for (const execution of executions) {
|
||||
if (execution.suite.id === "api-response-reading") {
|
||||
// File delivery renders a card instead of an exact summary bubble.
|
||||
// Prove the visible link points to the same independently checked bytes.
|
||||
const proofLink = page.getByRole("link", { name: "Open api-response-proof.txt", exact: true });
|
||||
const proofLink = page.getByRole("link", { name: "Open api-response-proof.txt", exact: true }).first();
|
||||
await expect(proofLink).toBeVisible({ timeout: 30_000 });
|
||||
await expect(proofLink).toHaveAttribute("href", `/api/attachments/${downloadedResponseProof!.attachmentId}/content`);
|
||||
} else if (execution.task.flow === "warm_three_turn") {
|
||||
|
||||
Reference in new issue
Block a user