Skip to content

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

fix(e2e): recognize the empty automations page in AutomationsPage.waitFor (#16937)

Othman Abu Ajamieha56ea501fdbb
diff --git a/packages/tests-e2e/pages/automations.page.ts b/packages/tests-e2e/pages/automations.page.ts
index b4e86d1b23a..0c66bdf58b0 100644
--- a/packages/tests-e2e/pages/automations.page.ts
+++ b/packages/tests-e2e/pages/automations.page.ts
@@ -25,7 +25,7 @@ export class AutomationsPage extends BasePage {
async waitFor() {
await this.page.waitForURL('**/automations**');
await this.page
- .locator('text="Get started with Activepieces"')
+ .getByRole('button', { name: 'Start from scratch' })
.or(this.page.getByRole('button', { name: 'Actions', exact: true }))
.first()
.waitFor();