diff --git a/frontend/playwright/ui/specs/tokens.spec.js b/frontend/playwright/ui/specs/tokens.spec.js index 98b8f7d10..f3c613b1f 100644 --- a/frontend/playwright/ui/specs/tokens.spec.js +++ b/frontend/playwright/ui/specs/tokens.spec.js @@ -181,7 +181,7 @@ test.describe("Tokens: Tokens Tab", () => { const colorTokenChanged = tokensSidebar.getByRole("button", { name: "colors.blue.100.changed", }); - expect(colorTokenChanged).toBeVisible(); + await expect(colorTokenChanged).toBeVisible(); }); test("User edits theme and activates it in the sidebar", async ({ page }) => {