mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-03 12:42:01 +00:00
fix: correct selectNodes multi-selection and tab name assertions
Amp-Thread-ID: https://ampcode.com/threads/T-019c17a0-1d8c-746f-8ee0-0145b7f56561
This commit is contained in:
@@ -125,19 +125,19 @@ test.describe('Properties panel basic functionality', { tag: ['@ui'] }, () => {
|
||||
await expect(propertiesPanel.panelTitle).toContainText('items selected')
|
||||
})
|
||||
|
||||
test('shows Parameters and Settings tabs for multiple selection', async ({
|
||||
test('shows Nodes and Settings tabs for multiple selection', async ({
|
||||
comfyPage
|
||||
}) => {
|
||||
const { propertiesPanel } = comfyPage
|
||||
|
||||
await comfyPage.selectNodes(['KSampler', 'VAE Decode'])
|
||||
|
||||
await expect(propertiesPanel.getTab('Parameters')).toBeVisible()
|
||||
await expect(propertiesPanel.getTab('Nodes')).toBeVisible()
|
||||
await expect(propertiesPanel.getTab('Settings')).toBeVisible()
|
||||
await expect(propertiesPanel.getTab('Info')).not.toBeVisible()
|
||||
})
|
||||
|
||||
test('lists all selected nodes in Parameters tab', async ({
|
||||
test('lists all selected nodes in Nodes tab', async ({
|
||||
comfyPage
|
||||
}) => {
|
||||
const { propertiesPanel } = comfyPage
|
||||
|
||||
Reference in New Issue
Block a user