mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
♻️ Remove deprecated @import from scss files (#7347)
* 🐛 Fix import warnings 1 of 2 * 🐛 Fix import warnings 2 of 2 * 🐛 Fix visual tests and format files * 🐛 Fix mixed declarations on scss
This commit is contained in:
@@ -24,21 +24,20 @@ test("Navigate to penpot changelog from profile menu", async ({ page }) => {
|
||||
]);
|
||||
|
||||
await newPage.waitForLoadState();
|
||||
await expect(newPage).toHaveURL("https://github.com/penpot/penpot/blob/develop/CHANGES.md");
|
||||
await expect(newPage).toHaveURL(
|
||||
"https://github.com/penpot/penpot/blob/develop/CHANGES.md",
|
||||
);
|
||||
});
|
||||
|
||||
test("Opens release notes from current version from profile menu", async ({ page }) => {
|
||||
test("Opens release notes from current version from profile menu", async ({
|
||||
page,
|
||||
}) => {
|
||||
const dashboardPage = new DashboardPage(page);
|
||||
await dashboardPage.goToDashboard();
|
||||
|
||||
await dashboardPage.openProfileMenu();
|
||||
await dashboardPage.clickProfileMenuItem("About Penpot");
|
||||
await expect(
|
||||
page.getByText("Version 0.0.0 notes"),
|
||||
).toBeVisible();
|
||||
await expect(page.getByText("Version 0.0.0 notes")).toBeVisible();
|
||||
await dashboardPage.clickProfileMenuItem("Version");
|
||||
await expect(
|
||||
page.getByText("new in penpot?"),
|
||||
).toBeVisible();
|
||||
|
||||
await expect(page.getByText("new in penpot?")).toBeVisible();
|
||||
});
|
||||
|
||||
@@ -1000,9 +1000,11 @@ test.describe("Tokens: Themes modal", () => {
|
||||
};
|
||||
|
||||
// Switch to reference tab and back to composite tab
|
||||
const referenceTabButton = tokensUpdateCreateModal.getByTestId("reference-opt");
|
||||
const referenceTabButton =
|
||||
tokensUpdateCreateModal.getByTestId("reference-opt");
|
||||
await referenceTabButton.click();
|
||||
const compositeTabButton = tokensUpdateCreateModal.getByTestId("composite-opt");
|
||||
const compositeTabButton =
|
||||
tokensUpdateCreateModal.getByTestId("composite-opt");
|
||||
await compositeTabButton.click();
|
||||
|
||||
// Verify all values are preserved after switching tabs
|
||||
@@ -1052,7 +1054,8 @@ test.describe("Tokens: Themes modal", () => {
|
||||
await expect(submitButton).toBeDisabled();
|
||||
|
||||
// Switch to reference tab, should not be submittable either
|
||||
const referenceTabButton = tokensUpdateCreateModal.getByTestId("reference-opt");
|
||||
const referenceTabButton =
|
||||
tokensUpdateCreateModal.getByTestId("reference-opt");
|
||||
await referenceTabButton.click();
|
||||
await expect(submitButton).toBeDisabled();
|
||||
});
|
||||
@@ -1073,7 +1076,8 @@ test.describe("Tokens: Themes modal", () => {
|
||||
const nameField = tokensUpdateCreateModal.getByLabel("Name");
|
||||
await nameField.fill(newTokenTitle);
|
||||
|
||||
const referenceTabButton = tokensUpdateCreateModal.getByTestId("reference-opt");
|
||||
const referenceTabButton =
|
||||
tokensUpdateCreateModal.getByTestId("reference-opt");
|
||||
referenceTabButton.click();
|
||||
|
||||
const referenceField = tokensUpdateCreateModal.getByLabel("Reference");
|
||||
|
||||
Reference in New Issue
Block a user