mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-28 12:04:41 +01:00
fix native Codex runner E2E authentication
This commit is contained in:
1 parent
b9b92fccea
commit
fda4d5927d
4 files changed
+39
-5
No files matched your search
@@ -253,7 +253,7 @@ function normalizePlanMarkdown(body: string | null | undefined) {
|
||||
return (body ?? "").replaceAll("\\_", "_");
|
||||
}
|
||||
|
||||
function renderedPlanMarkerPattern(marker: string) {
|
||||
function renderedMarkerPattern(marker: string) {
|
||||
return new RegExp(
|
||||
marker
|
||||
.split("_")
|
||||
@@ -496,7 +496,7 @@ for (const execution of executions) {
|
||||
await expect(
|
||||
page
|
||||
.getByTestId("task-chat-plan-preview")
|
||||
.filter({ hasText: renderedPlanMarkerPattern(planMarkers.draft) })
|
||||
.filter({ hasText: renderedMarkerPattern(planMarkers.draft) })
|
||||
.last(),
|
||||
).toBeVisible({ timeout: 30_000 });
|
||||
await captureScreenshot(
|
||||
@@ -580,7 +580,7 @@ for (const execution of executions) {
|
||||
page
|
||||
.getByTestId("task-chat-plan-preview")
|
||||
.filter({
|
||||
hasText: renderedPlanMarkerPattern(planMarkers.revised),
|
||||
hasText: renderedMarkerPattern(planMarkers.revised),
|
||||
})
|
||||
.last(),
|
||||
).toBeVisible({ timeout: 30_000 });
|
||||
@@ -854,7 +854,7 @@ for (const execution of executions) {
|
||||
page
|
||||
.getByTestId("task-chat-thread")
|
||||
.getByTestId("task-chat-agent-bubble")
|
||||
.filter({ hasText: marker })
|
||||
.filter({ hasText: renderedMarkerPattern(marker) })
|
||||
.last(),
|
||||
).toBeVisible({ timeout: 30_000 });
|
||||
await expect(
|
||||
|
||||
Reference in new issue
Block a user