🐛 Fix view modem forward button not working

This commit is contained in:
Alejandro Alonso 2025-01-24 10:40:45 +01:00
parent cf25614afb
commit cf53e0d233
6 changed files with 434 additions and 3 deletions

View file

@ -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\?/,