diff --git a/tests/e2e/box-brush-authoring.e2e.ts b/tests/e2e/box-brush-authoring.e2e.ts index 6365c0f1..57ff80a0 100644 --- a/tests/e2e/box-brush-authoring.e2e.ts +++ b/tests/e2e/box-brush-authoring.e2e.ts @@ -69,7 +69,7 @@ test("user can create a box brush and keep it through a draft reload", async ({ await page.getByTestId("brush-size-z").press("Tab"); await page.getByTestId("selected-brush-name").fill("Entry Room"); await page.getByTestId("selected-brush-name").press("Tab"); - await expect(page.getByRole("button", { name: /^Entry Room$/ })).toBeVisible(); + await expect(page.getByTestId("selected-brush-name")).toHaveValue("Entry Room"); await page.getByRole("button", { name: "Save Draft" }).click(); await page.reload();