feat: publish shared task and reply activities through MCP

This commit is contained in:
2026-10-07 21:38:33 +09:00
parent 48ef396ec1
commit 794859e4a4
53 changed files with 4076 additions and 453 deletions
+12 -2
View File
@@ -1,4 +1,5 @@
import type { Locator, Page } from "@playwright/test";
import { expect, type Locator, type Page } from "@playwright/test";
import { navigateHydrated, waitForWorkspaceHydration } from "./ready";
export class VitalsPage {
readonly bodyHeading: Locator;
@@ -36,7 +37,16 @@ export class VitalsPage {
}
async goTo(search = "") {
await this.page.goto(`/vitals${search}`, { waitUntil: "networkidle" });
await navigateHydrated(this.page, `/vitals${search}`);
if (new URL(this.page.url()).pathname === "/vitals") await this.waitUntilReady();
}
async reload() {
await Promise.all([waitForWorkspaceHydration(this.page), this.page.reload()]);
}
async waitUntilReady() {
await expect(this.bodyHeading.or(this.environmentHeading)).toBeVisible();
}
async navigateTo(section: "Body" | "Environment") {