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

test("Plus shortcut renders a plus keycap", WEB, async ({ t3, app, screen }) => {
  await t3.project("Shortcut demo");
  await t3.open("/settings/keybindings");
  await screen.getByRole("searchbox", "Search keybindings").fill("preview.zoom");
  await app.screenshot("preview-zoom-keycaps");
  await expect(screen.getByText("+", { exact: true })).toBeVisible();
});
