mirror of
https://github.com/penpot/penpot.git
synced 2025-06-17 15:01:39 +02:00
✨ Fix broken tokens test
This commit is contained in:
parent
35b29bb203
commit
f23e460b2a
4 changed files with 11 additions and 3 deletions
|
@ -827,10 +827,10 @@ test.describe("Tokens: Themes modal", () => {
|
|||
.getByRole("button", { name: "colors.black" })
|
||||
.click({ button: "right" });
|
||||
await tokenContextMenuForToken.getByText("Fill").click();
|
||||
const inputColor = await workspacePage.page
|
||||
.getByPlaceholder("Mixed")
|
||||
.nth(2);
|
||||
|
||||
const inputColor = workspacePage.page.getByRole("textbox", {
|
||||
name: "Color",
|
||||
});
|
||||
await expect(inputColor).toHaveValue("000000");
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue