test(vendors): scope Site locator exactly

This commit is contained in:
Codex Review Integration 2026-09-14 19:39:06 -03:00
parent 8dfd3084ba
commit 000aaae92d

View file

@ -252,7 +252,7 @@ test.describe("Vendor operations", () => {
});
await page.goto("/vendors/preferences");
await page.getByLabel("Site").click();
await page.getByLabel("Site", { exact: true }).click();
await page.getByRole("option", { name: "St. Louis HQ" }).click();
await expect(page.getByText(/1\. Gateway Plumbing/)).toBeVisible();
await page.getByRole("button", { name: "Move Metro HVAC up" }).click();