mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 03:12:15 +00:00
ci: Playwright project organization (#17905)
This commit is contained in:
15
packages/testing/playwright/tests/ui/pdf.spec.ts
Normal file
15
packages/testing/playwright/tests/ui/pdf.spec.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
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.clickAddWorkflowButton();
|
||||
await n8n.canvas.importWorkflow('test_pdf_workflow.json', 'PDF Workflow');
|
||||
await n8n.canvas.clickExecuteWorkflowButton();
|
||||
await expect(
|
||||
n8n.notifications.notificationContainerByText('Workflow executed successfully'),
|
||||
).toBeVisible();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user