import { expect } from "e2e";
import { test, WEB } from "./t3.ts";

test("First backend dev start builds the missing native resource monitor", WEB, async ({ t3, app, screen }) => {
  await t3.project("Telemetry demo");
  await t3.open("/settings/diagnostics");
  await screen.getByText("Collection health", { exact: true }).tap();
  await app.screenshot("first-start-diagnostics");
  await expect(screen.getByText("Native healthy", { exact: true })).toBeVisible();
});
