Files
n8n_Demo/n8n-n8n-1.109.2/packages/testing/playwright/tests/ui/pdf.spec.ts

14 lines
482 B
TypeScript
Raw Normal View History

2025-09-08 04:48:28 +08:00
import { expect, test } from '../../fixtures/base';
test.describe('PDF Test', () => {
test('Can read and write PDF files and extract text', async ({ n8n }) => {
await n8n.goHome();
await n8n.workflows.clickAddWorkflowButton();
await n8n.canvas.importWorkflow('test_pdf_workflow.json', 'PDF Workflow');
await n8n.canvas.clickExecuteWorkflowButton();
await expect(
n8n.notifications.getNotificationByTitle('Workflow executed successfully'),
).toBeVisible();
});
});