mirror of
https://github.com/penpot/penpot.git
synced 2025-05-17 21:46:11 +02:00
🐛 Fix click on the project name goes to blank dashboard from workspace (#5668)
This commit is contained in:
parent
74bdd72d2f
commit
ea6c679b21
2 changed files with 20 additions and 1 deletions
|
@ -320,3 +320,20 @@ test("[Taiga #9929] Paste text in workspace", async ({ page, context }) => {
|
|||
.getByRole("textbox")
|
||||
.getByText("Lorem ipsum dolor");
|
||||
});
|
||||
|
||||
test("Bug 9877, user navigation to dashboard from header goes to blank page", async ({
|
||||
page,
|
||||
}) => {
|
||||
const workspacePage = new WorkspacePage(page);
|
||||
await workspacePage.setupEmptyFile(page);
|
||||
|
||||
await workspacePage.goToWorkspace();
|
||||
|
||||
const popupPromise = page.waitForEvent("popup");
|
||||
await page.getByText("Drafts").click();
|
||||
|
||||
const popup = await popupPromise;
|
||||
await expect(popup).toHaveURL(
|
||||
/&project-id=c7ce0794-0992-8105-8004-38e630f7920b/,
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue