mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
💄 Fix tests nesting
This commit is contained in:
committed by
Andrey Antukh
parent
5f22220a8b
commit
a5e9f7229b
@@ -972,8 +972,9 @@ test.describe("Tokens: Themes modal", () => {
|
||||
tokenThemeUpdateCreateModal.getByText("Changed Group name"),
|
||||
).toBeVisible();
|
||||
});
|
||||
});
|
||||
|
||||
test.describe("Tokens: Apply token", () => {
|
||||
test.describe("Tokens: Apply token", () => {
|
||||
// When deleting the "enable-token-color" flag, permanently remove this test.
|
||||
test("User applies color token to a shape without tokens on design-tab", async ({
|
||||
page,
|
||||
@@ -1243,12 +1244,11 @@ test.describe("Tokens: Themes modal", () => {
|
||||
const newToken = tokensSidebar.getByRole("button", {
|
||||
name: newTokenTitle,
|
||||
});
|
||||
|
||||
await expect(newToken).toBeVisible();
|
||||
});
|
||||
|
||||
test("User adds shadow token with multiple shadows and applies it to shape", async ({
|
||||
page,
|
||||
}) => {
|
||||
test("User adds shadow token with multiple shadows and applies it to shape", async ({ page, }) => {
|
||||
const { tokensUpdateCreateModal, tokensSidebar, workspacePage, tokenContextMenuForToken } =
|
||||
await setupTokensFile(page, { flags: ["enable-token-shadow"] });
|
||||
|
||||
@@ -1467,5 +1467,4 @@ test.describe("Tokens: Themes modal", () => {
|
||||
await expect(shadowSection).toHaveCount(2);
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user