[BugFix] Fix open workflow after insert (#2138)

This commit is contained in:
Chenlei Hu
2025-01-03 11:09:28 -05:00
committed by GitHub
parent 5717c33a0b
commit ea489851ed
4 changed files with 34 additions and 6 deletions

View File

@@ -152,6 +152,13 @@ export class WorkflowsSidebarTab extends SidebarTab {
await this.page.keyboard.press('Enter')
await this.page.waitForTimeout(300)
}
async insertWorkflow(locator: Locator) {
await locator.click({ button: 'right' })
await this.page
.locator('.p-contextmenu-item-content', { hasText: 'Insert' })
.click()
}
}
export class QueueSidebarTab extends SidebarTab {