mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-04 07:00:23 +00:00
test: wait for async terminal tab registration in bottomPanelShortcuts test
Amp-Thread-ID: https://ampcode.com/threads/T-019c1c14-d3a2-740c-a304-840f14971bde
This commit is contained in:
@@ -147,6 +147,11 @@ test.describe('Bottom Panel Shortcuts', { tag: '@ui' }, () => {
|
||||
test('should maintain panel state when switching to terminal', async ({
|
||||
comfyPage
|
||||
}) => {
|
||||
// Wait for terminal tab to be registered (loaded asynchronously)
|
||||
await expect(
|
||||
comfyPage.page.locator('[id*="logs-terminal"]')
|
||||
).toBeVisible({ timeout: 10000 })
|
||||
|
||||
// Open shortcuts panel first
|
||||
await comfyPage.page
|
||||
.locator('button[aria-label*="Keyboard Shortcuts"]')
|
||||
|
||||
Reference in New Issue
Block a user