mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 00:56:38 +02:00
🐛 Workspace-palette items stay hidden when opening with keyboard-shortcut
This commit is contained in:
parent
599bc8dbe7
commit
0d23f4ab5d
6 changed files with 39 additions and 11 deletions
|
@ -120,3 +120,14 @@ test("User adds a library and its automatically selected in the color palette",
|
|||
|
||||
await expect(workspacePage.palette.getByText('There are no color styles in your library yet')).toBeVisible();
|
||||
});
|
||||
|
||||
test("Bug 7489 - Workspace-palette items stay hidden when opening with keyboard-shortcut", async ({ page }) => {
|
||||
const workspacePage = new WorkspacePage(page);
|
||||
await workspacePage.setupEmptyFile();
|
||||
await workspacePage.goToWorkspace();
|
||||
|
||||
await workspacePage.clickTogglePalettesVisibility();
|
||||
await workspacePage.page.keyboard.press("Alt+t");
|
||||
|
||||
await expect(workspacePage.palette.getByText("There are no typography styles in your library yet")).toBeVisible();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue