mirror of
https://github.com/zadam/trilium.git
synced 2025-12-06 07:24:25 +01:00
fix: 🐛 Fix playwright test
This commit is contained in:
parent
ae1a4b7a80
commit
49d7fa1735
@ -75,6 +75,8 @@ export default class App {
|
|||||||
*/
|
*/
|
||||||
async closeAllTabs() {
|
async closeAllTabs() {
|
||||||
await this.triggerCommand("closeAllTabs");
|
await this.triggerCommand("closeAllTabs");
|
||||||
|
// Page in Playwright is not updated somehow, need to click on the tab to make sure it's rendered
|
||||||
|
await this.getTab(0).click();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user