n8n/packages/testing/playwright/tests/pdf.spec.ts
shortstacked 852657c17e
feat: Add testcontainers and Playwright (no-changelog) (#16662)
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2025-07-01 14:15:31 +01:00

16 lines
594 B
TypeScript

import { expect, test } from '../fixtures/base';
// Example of importing a workflow from a file
test.describe('PDF Test', () => {
// eslint-disable-next-line playwright/no-skipped-test
test.skip('Can read and write PDF files and extract text', async ({ n8n }) => {
await n8n.goHome();
await n8n.workflows.clickAddWorklowButton();
await n8n.workflows.importWorkflow('test_pdf_workflow.json', 'PDF Workflow');
await n8n.canvas.clickExecuteWorkflowButton();
await expect(
n8n.notifications.notificationContainerByText('Workflow executed successfully'),
).toBeVisible();
});
});