mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-28 18:22:40 +00:00
Fix missing await
This commit is contained in:
@@ -54,7 +54,7 @@ test.describe('Documentation Sidebar', () => {
|
|||||||
test('Responds to a change in theme', async ({ comfyPage }) => {
|
test('Responds to a change in theme', async ({ comfyPage }) => {
|
||||||
await comfyPage.page.locator('.documentation-tab-button').click()
|
await comfyPage.page.locator('.documentation-tab-button').click()
|
||||||
const docPane = comfyPage.page.locator('.sidebar-content-container')
|
const docPane = comfyPage.page.locator('.sidebar-content-container')
|
||||||
comfyPage.menu.toggleTheme()
|
await comfyPage.menu.toggleTheme()
|
||||||
await expect(docPane).toHaveScreenshot(
|
await expect(docPane).toHaveScreenshot(
|
||||||
'documentation-sidebar-light-theme.png'
|
'documentation-sidebar-light-theme.png'
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user