import { expect, test, type Locator, type Page } from "@playwright/test"; import { expectResults, taskSearchBacklogCheckbox, taskSearchResultIds } from "./product-journeys/task-search-filter.js"; import type { SearchTask } from "./product-journeys/task-search-evidence.js"; // Reproduce the observed Radix checkbox + StatusIcon + visible text label. // No app server, provider, browser profile, or target credentials are involved. for (const presentation of ["legacy", "spaced-legacy", "refreshed"] as const) { test(`task search selects Status/Backlog with ${presentation} labels`, async ({ page }) => { const explicit = presentation === "refreshed" ? 'aria-label="Backlog"' : ""; const gap = presentation === "spaced-legacy" ? " " : ""; await page.setContent(`