mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-09 07:00:06 +00:00
Remove new default workflow button in workflows sidebar (#1100)
This commit is contained in:
@@ -192,12 +192,8 @@ class WorkflowsSidebarTab extends SidebarTab {
|
||||
return this.page.locator('.new-blank-workflow-button')
|
||||
}
|
||||
|
||||
get browseWorkflowsButton() {
|
||||
return this.page.locator('.browse-workflows-button')
|
||||
}
|
||||
|
||||
get newDefaultWorkflowButton() {
|
||||
return this.page.locator('.new-default-workflow-button')
|
||||
get openWorkflowButton() {
|
||||
return this.page.locator('.open-workflow-button')
|
||||
}
|
||||
|
||||
async getOpenedWorkflowNames() {
|
||||
|
||||
@@ -426,9 +426,9 @@ test.describe('Menu', () => {
|
||||
await comfyPage.loadWorkflow('missing_nodes')
|
||||
await comfyPage.closeDialog()
|
||||
|
||||
// Load default workflow
|
||||
// Load blank workflow
|
||||
await comfyPage.menu.workflowsTab.open()
|
||||
await comfyPage.menu.workflowsTab.newDefaultWorkflowButton.click()
|
||||
await comfyPage.menu.workflowsTab.newBlankWorkflowButton.click()
|
||||
|
||||
// Switch back to the missing_nodes workflow
|
||||
await comfyPage.menu.workflowsTab.switchToWorkflow('missing_nodes')
|
||||
|
||||
Reference in New Issue
Block a user