mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-06-14 18:24:45 -04:00
fix: express5
This commit is contained in:
parent
6208a04556
commit
6db14baee7
26 changed files with 200 additions and 207 deletions
|
@ -13,7 +13,7 @@ export const showSettings = async (page: Page) => {
|
|||
}
|
||||
|
||||
export const hideSettings = async (page: Page) => {
|
||||
if(!await isSettingsShown(page)) return
|
||||
if(!(await isSettingsShown(page))) return
|
||||
await page.locator("button[data-l10n-id='pad.toolbar.settings.title']").click()
|
||||
await page.waitForFunction(`!document.querySelector('#settings').classList.contains('popup-show')`)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue