mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
🐛 Fix actions when workspace is visited first time (#6129)
Some checks are pending
Commit Message Check / Check Commit Message (push) Waiting to run
Some checks are pending
Commit Message Check / Check Commit Message (push) Waiting to run
* 🐛 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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user