mirror of
https://github.com/penpot/penpot.git
synced 2025-05-24 15:26:12 +02:00
💄 Fix errors UI on input token for value
This commit is contained in:
parent
dbb9971482
commit
c0eaa75232
10 changed files with 61 additions and 53 deletions
|
@ -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]+$/);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue