💄 Fix errors UI on input token for value

This commit is contained in:
Xavier Julian 2025-05-08 10:34:36 +02:00 committed by Xaviju
parent dbb9971482
commit c0eaa75232
10 changed files with 61 additions and 53 deletions

View file

@ -409,7 +409,7 @@ test.describe("Tokens: Tokens Tab", () => {
// Clearing the input field should pick hex
await valueField.fill("");
await expect(
tokensUpdateCreateModal.getByText("Resolved value: -"),
tokensUpdateCreateModal.getByText("Token value cannot be empty"),
).toBeVisible();
await valueSaturationSelector.click({ position: { x: 50, y: 50 } });
await expect(valueField).toHaveValue(/^#[A-Fa-f\d]+$/);