mirror of
https://github.com/penpot/penpot.git
synced 2025-05-09 23:06:43 +02:00
🐛 Fix missing scroll in comments
This commit is contained in:
parent
c5bf2a775e
commit
3d7f399a50
8 changed files with 127 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue