Files
PaperClipAI/tests/runner-e2e/copilot-permission-card.ts
T
DottaandPaperclip c48b89618f Add Copilot Product qualification and fixture ownership checks
Reviewed partition of the current-master Copilot integration. Complete v30 live qualification is retained; current v31 recovery compatibility, CI and review are tracked explicitly.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-08 07:35:27 -05:00

11 lines
564 B
TypeScript

import type { Page } from "@playwright/test";
/** Answered context/discovery cards remain visible history. Match the current
* operation and its decision control; API assertions independently require one
* exact pending request and every POST is bound to its run/request/turn. */
export function copilotPendingPermissionCard(page: Page, operationOrTarget: string) {
return page.getByTestId("task-chat-runtime-request")
.filter({ visible: true, hasText: operationOrTarget })
.filter({ has: page.getByRole("button", { name: "Deny", exact: true }) });
}