mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 23:18:21 +00:00
Playwright: Fix thread root skipped tests (#12067)
* Fix thread root skipped tests * Add comment about collapsed content in `redactions.spec.ts` --------- Co-authored-by: David Baker <dbkr@users.noreply.github.com>
This commit is contained in:
@@ -370,6 +370,15 @@ class Helpers {
|
||||
await this.app.viewRoomByName(typeof room === "string" ? room : room.name);
|
||||
}
|
||||
|
||||
/**
|
||||
* Expand the message with the supplied index in the timeline.
|
||||
* @param index
|
||||
*/
|
||||
async openCollapsedMessage(index: number) {
|
||||
const button = this.page.locator(".mx_GenericEventListSummary_toggle");
|
||||
await button.nth(index).click();
|
||||
}
|
||||
|
||||
/**
|
||||
* Click the thread with the supplied content in the thread root to open it in
|
||||
* the Threads panel.
|
||||
|
||||
Reference in New Issue
Block a user