mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 08:46:38 +02:00
🐛 Fix libraries context menu (#5854)
* ✨ Add integration test for Bug #10421 * 🐛 Fix dashboard library item menu * ✨ Fixup integration test
This commit is contained in:
parent
8c81d48858
commit
cad7d75590
11 changed files with 197 additions and 85 deletions
|
@ -47,7 +47,7 @@ test("User goes to an empty libraries page", async ({ page }) => {
|
|||
await dashboardPage.setupLibrariesEmpty();
|
||||
|
||||
await dashboardPage.goToDashboard();
|
||||
await dashboardPage.libsLink.click();
|
||||
await dashboardPage.librariesLink.click();
|
||||
|
||||
await expect(dashboardPage.mainHeading).toHaveText("Libraries");
|
||||
await expect(dashboardPage.page).toHaveScreenshot();
|
||||
|
@ -100,7 +100,7 @@ test("User goes to a full library page", async ({ page }) => {
|
|||
await dashboardPage.setupDashboardFull();
|
||||
|
||||
await dashboardPage.goToDashboard();
|
||||
await dashboardPage.libsLink.click();
|
||||
await dashboardPage.librariesLink.click();
|
||||
|
||||
await expect(dashboardPage.mainHeading).toHaveText("Libraries");
|
||||
await expect(dashboardPage.page).toHaveScreenshot();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue