mirror of
https://github.com/penpot/penpot.git
synced 2025-05-11 00:46:36 +02:00
🐛 Fix actions when workspace is visited first time (#6129)
* 🐛 Fix actions when workspace is visited first time * 📎 Fix linter errors * 🐛 Fix problem with integration test * 📎 Fix linter errors * 📎 Fix linter errors --------- Co-authored-by: alonso.torres <alonso.torres@kaleidos.net>
This commit is contained in:
parent
7bc000517f
commit
a6133e9c48
8 changed files with 34 additions and 16 deletions
|
@ -20,11 +20,23 @@ test("Save and restore version", async ({ page }) => {
|
|||
"workspace/update-file-create-rect.json",
|
||||
);
|
||||
|
||||
await workspacePage.mockRPC(
|
||||
"push-audit-events",
|
||||
"workspace/audit-event-empty.json",
|
||||
);
|
||||
|
||||
await workspacePage.mockRPC(
|
||||
"update-profile-props",
|
||||
"workspace/update-profile-empty.json",
|
||||
);
|
||||
|
||||
await workspacePage.goToWorkspace({
|
||||
fileId: "406b7b01-d3e2-80e4-8005-3138ac5d449c",
|
||||
pageId: "406b7b01-d3e2-80e4-8005-3138ac5d449d",
|
||||
});
|
||||
|
||||
await workspacePage.moveButton.click();
|
||||
|
||||
await workspacePage.mockRPC(
|
||||
"get-file-snapshots?file-id=*",
|
||||
"workspace/versions-snapshot-1.json",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue