0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-21 06:16:28 -05:00

🐛 Fix flakiness of playwright test for token

This commit is contained in:
Eva Marco 2025-02-06 12:06:46 +01:00
parent 33887711f7
commit 800285d25a

View file

@ -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 }) => {