AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
test(e2e): remove unused AutomationsPage.cleanupExistingAutomations (#16926)
Othman Abu Ajamieh4e7d89c04760
diff --git a/packages/tests-e2e/pages/automations.page.ts b/packages/tests-e2e/pages/automations.page.tsindex 1ac25183e56..b4e86d1b23a 100644--- a/packages/tests-e2e/pages/automations.page.ts+++ b/packages/tests-e2e/pages/automations.page.ts@@ -41,20 +41,4 @@ export class AutomationsPage extends BasePage {await this.page.getByRole('button', { name: 'Start from scratch' }).first().click();}}-- async cleanupExistingAutomations() {- while (true) {- const moreButtons = this.page.locator('button:has(svg.lucide-more-horizontal)');- if (!(await moreButtons.count())) break;-- await moreButtons.first().click();- await this.page.getByRole('menuitem', { name: 'Delete' }).click();-- const confirmButton = this.page.getByRole('button', { name: 'Remove' });- await confirmButton.click();- await this.page.waitForSelector('button:has-text("Remove")', { state: 'hidden' });- await this.page.reload();- await this.waitFor();- }- }}