mirror of
https://github.com/penpot/penpot.git
synced 2025-05-24 22:36:42 +02:00
🐛 Fix view modem forward button not working
This commit is contained in:
parent
cf25614afb
commit
cf53e0d233
6 changed files with 434 additions and 3 deletions
|
@ -51,6 +51,21 @@ export class ViewerPage extends BaseWebSocketPage {
|
|||
);
|
||||
}
|
||||
|
||||
async setupFileWithMultipleBoards() {
|
||||
await this.mockRPC(
|
||||
/get\-view\-only\-bundle\?/,
|
||||
"viewer/get-view-only-bundle-multiple-boards.json",
|
||||
);
|
||||
await this.mockRPC(
|
||||
"get-comment-threads?file-id=*",
|
||||
"workspace/get-comment-threads-empty.json",
|
||||
);
|
||||
await this.mockRPC(
|
||||
"get-file-fragment?file-id=*&fragment-id=*",
|
||||
"viewer/get-file-fragment-multiple-boards.json",
|
||||
);
|
||||
}
|
||||
|
||||
async setupFileWithComments() {
|
||||
await this.mockRPC(
|
||||
/get\-view\-only\-bundle\?/,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue