Files
n8n-enterprise-unlocked/packages/testing/playwright/composables/WorkflowSettingsModal.ts
Mutasem Aldmour 6046d24c74 feat(editor): Add Production checklist for active workflows (#17756)
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
2025-08-06 11:15:10 +02:00

10 lines
384 B
TypeScript

import { expect } from '@playwright/test';
import type { Page } from '@playwright/test';
// Helper to open workflow settings modal
export const openWorkflowSettings = async (page: Page) => {
await page.getByTestId('workflow-menu').click();
await page.getByTestId('workflow-menu-item-settings').click();
await expect(page.getByTestId('workflow-settings-dialog')).toBeVisible();
};