feat: publish shared task and reply activities through MCP
This commit is contained in:
@@ -7,8 +7,7 @@ test("filters body systems and opens lab history", async ({ page, vitalsPage, a1
|
||||
await vitalsPage.selectSystem("Cardiovascular");
|
||||
await expect(vitalsPage.systems).toHaveCount(1);
|
||||
await expect(page).toHaveURL(/vitalTab=Cardiovascular/);
|
||||
await page.reload();
|
||||
await page.waitForLoadState("networkidle");
|
||||
await vitalsPage.reload();
|
||||
await expect(vitalsPage.systems).toHaveCount(1);
|
||||
await vitalsPage.openFirstSystem();
|
||||
const dialog = vitalsPage.systemDialog("Cardiovascular");
|
||||
@@ -21,8 +20,7 @@ test("filters body systems and opens lab history", async ({ page, vitalsPage, a1
|
||||
await vitalsPage.showLabHistory();
|
||||
await expect(vitalsPage.history).toContainText("Jul 28");
|
||||
await expect(vitalsPage.history).toContainText("93");
|
||||
await page.reload();
|
||||
await page.waitForLoadState("networkidle");
|
||||
await vitalsPage.reload();
|
||||
await expect(vitalsPage.history).toContainText("Jul 28");
|
||||
await vitalsPage.showSystems();
|
||||
await vitalsPage.selectSystem("Overview");
|
||||
@@ -30,25 +28,19 @@ test("filters body systems and opens lab history", async ({ page, vitalsPage, a1
|
||||
expect((await a11y().analyze()).violations).toEqual([]);
|
||||
});
|
||||
|
||||
test("explores environment charts and simulated climate controls", async ({
|
||||
page,
|
||||
vitalsPage,
|
||||
a11y,
|
||||
}) => {
|
||||
test("explores environment charts and simulated climate controls", async ({ vitalsPage, a11y }) => {
|
||||
await vitalsPage.goTo();
|
||||
await vitalsPage.navigateTo("Environment");
|
||||
await expect(vitalsPage.environmentHeading).toBeVisible();
|
||||
await vitalsPage.selectTrendPeriod("7D");
|
||||
await vitalsPage.selectTrendMetric("CO₂");
|
||||
await expect(vitalsPage.trendChart("7D", "CO₂")).toBeVisible();
|
||||
await page.reload();
|
||||
await page.waitForLoadState("networkidle");
|
||||
await vitalsPage.reload();
|
||||
await expect(vitalsPage.trendChart("7D", "CO₂")).toBeVisible();
|
||||
await vitalsPage.openMetric("Room temperature");
|
||||
const dialog = vitalsPage.metricDialog("Room temperature");
|
||||
await expect(dialog).toContainText("64.0");
|
||||
await page.reload();
|
||||
await page.waitForLoadState("networkidle");
|
||||
await vitalsPage.reload();
|
||||
await expect(dialog).toContainText("64.0");
|
||||
await vitalsPage.closeMetric("Room temperature");
|
||||
await vitalsPage.syncReadings();
|
||||
@@ -63,8 +55,7 @@ test("explores environment charts and simulated climate controls", async ({
|
||||
await expect(temperature).toHaveValue("69");
|
||||
await vitalsPage.turnOffPurifier();
|
||||
await expect(vitalsPage.purifierOffButton).toHaveAttribute("aria-pressed", "false");
|
||||
await page.reload();
|
||||
await page.waitForLoadState("networkidle");
|
||||
await vitalsPage.reload();
|
||||
await expect(temperature).toHaveValue("68");
|
||||
await expect(vitalsPage.autoButton).toHaveAttribute("aria-pressed", "true");
|
||||
await expect(vitalsPage.purifierOnButton).toHaveAttribute("aria-pressed", "true");
|
||||
|
||||
Reference in New Issue
Block a user