- Add Activepieces fork with SmoothSchedule custom piece - Create integrations app with Activepieces service layer - Add embed token endpoint for iframe integration - Create Automations page with embedded workflow builder - Add sidebar visibility fix for embed mode - Add list inactive customers endpoint to Public API - Include SmoothSchedule triggers: event created/updated/cancelled - Include SmoothSchedule actions: create/update/cancel events, list resources/services/customers 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
30 lines
1.0 KiB
TypeScript
30 lines
1.0 KiB
TypeScript
import { BasePage } from './base';
|
|
export class FlowsPage extends BasePage {
|
|
url = `/flows`;
|
|
|
|
async navigate() {
|
|
await this.page.getByRole('link', { name: 'Flows' }).click();
|
|
await this.page.waitForSelector('tbody tr');
|
|
}
|
|
|
|
async waitFor() {
|
|
await this.page.waitForSelector('tbody tr');
|
|
}
|
|
|
|
async newFlowFromScratch() {
|
|
await this.page.getByTestId('new-flow-button').click();
|
|
await this.page.getByTestId('new-flow-from-scratch-button').click();
|
|
}
|
|
|
|
async cleanupExistingFlows() {
|
|
while ((await this.page.locator('span.text-muted-foreground').count()) > 1) {
|
|
if (!(await this.page.locator('td:nth-child(7)').first().count())) break;
|
|
await this.page.locator('td:nth-child(7)').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();
|
|
}
|
|
}
|
|
}
|