mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
feat: Add testcontainers and Playwright (no-changelog) (#16662)
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
This commit is contained in:
11
packages/testing/playwright/tests/1-workflows.spec.ts
Normal file
11
packages/testing/playwright/tests/1-workflows.spec.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { test, expect } from '../fixtures/base';
|
||||
|
||||
// Example of importing a workflow from a file
|
||||
test.describe('Workflows', () => {
|
||||
test('should create a new workflow using empty state card @db:reset', async ({ n8n }) => {
|
||||
await n8n.goHome();
|
||||
await n8n.workflows.clickNewWorkflowCard();
|
||||
await n8n.workflows.importWorkflow('Test_workflow_1.json', 'Empty State Card Workflow');
|
||||
await expect(n8n.workflows.workflowTags()).toHaveText(['some-tag-1', 'some-tag-2']);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user