2d73a3d1db
* fix: keep completed office comments editable Keep the office task detail composer editable after completed sessions load, including projectless office tasks. Update verification tests for SHA-pinned GitHub actions. Extract the dockview main area to satisfy the existing max-lines lint rule. * fix: preserve upload artifact version guard * fix: clarify upload artifact pin check * fix: wake completed office sessions on comments * fix: queue completed office comment runs * fix: preserve dispatcher session lookup errors * fix: resolve office comment wake review issues * fix: stabilize comment wake idempotency * fix: salt custom comment wake keys * fix: address comment wake review cleanup * fix: avoid comment payload allocation overflow pattern * fix: salt comment wake action variants * fix: resolve cross-task primary by target step * fix: resolve cross-task participant roles * fix: surface cross-task comment run status * fix: use target steps for cross-task queue runs * fix: avoid comment run lookup scan regression * fix: cover cross-task queue run edge cases * fix: index comment payload run lookup * fix: support postgres comment run index * fix: tighten queue run target test coverage * fix: route source comment run updates * fix: preserve cross-task comment wakes * fix: tighten comment wake identity * fix: align comment wake routing * fix: remove stale primary resolver * fix: dedupe comment run status * fix: tighten legacy comment wake dedupe * fix: remove unreachable comment wake guard * fix: skip duplicate comment reactivity wakes * fix: route comment wakes synchronously * fix: share comment engine dispatch contracts * fix: preserve comment wake fallbacks * fix: preserve done comment runner * fix: guard empty task runner fallback * fix: handle empty task runner fallback * fix: stabilize completed comment wakes * fix: index comment runner fallback --------- Co-authored-by: root <root@kandev.ts.net>
32 lines
1.1 KiB
TypeScript
32 lines
1.1 KiB
TypeScript
import { test, expect } from "../../fixtures/office-fixture";
|
|
|
|
test.describe("Office comment input on mobile", () => {
|
|
test("projectless completed office task keeps the comment input visible", async ({
|
|
testPage,
|
|
apiClient,
|
|
officeSeed,
|
|
}) => {
|
|
const task = await apiClient.createTask(
|
|
officeSeed.workspaceId,
|
|
"Mobile completed comment input task",
|
|
{ workflow_id: officeSeed.workflowId },
|
|
);
|
|
await apiClient.rawRequest("PATCH", `/api/v1/office/tasks/${task.id}`, {
|
|
assignee_agent_profile_id: officeSeed.agentId,
|
|
});
|
|
await apiClient.seedTaskSession(task.id, {
|
|
state: "COMPLETED",
|
|
agentProfileId: officeSeed.agentId,
|
|
startedAt: new Date(Date.now() - 30_000).toISOString(),
|
|
completedAt: new Date(Date.now() - 5_000).toISOString(),
|
|
});
|
|
|
|
await testPage.goto(`/office/tasks/${task.id}`);
|
|
|
|
await expect(
|
|
testPage.getByRole("heading", { name: /Mobile completed comment input task/i }),
|
|
).toBeVisible({ timeout: 10_000 });
|
|
await expect(testPage.getByPlaceholder(/add a comment/i)).toBeVisible({ timeout: 10_000 });
|
|
});
|
|
});
|