🐛 Fix missing scroll in comments

This commit is contained in:
Alejandro Alonso 2024-06-07 12:58:19 +02:00 committed by Andrey Antukh
parent c5bf2a775e
commit 3d7f399a50
8 changed files with 127 additions and 3 deletions

View file

@ -43,4 +43,18 @@ export class ViewerPage extends BaseWebSocketPage {
async cleanUp() {
await this.#ws.mockClose();
}
async showComments(clickOptions = {}) {
await this.page
.getByRole("button", { name: "Comments (G C)" })
.click(clickOptions);
}
async showCommentsThread(number, clickOptions = {}) {
await this.page
.getByTestId("floating-thread-bubble")
.filter({ hasText: number.toString() })
.click(clickOptions);
}
}