mirror of
https://github.com/n8n-io/n8n.git
synced 2026-09-24 23:22:38 +08:00
test: Migrate node-specific tests to nodes/ directory (#22835)
This commit is contained in:
+6
-6
@@ -1,9 +1,9 @@
|
||||
import { MANUAL_TRIGGER_NODE_NAME } from '../../config/constants';
|
||||
import { test, expect } from '../../fixtures/base';
|
||||
import customCredential from '../../workflows/Custom_credential.json';
|
||||
import customNodeFixture from '../../workflows/Custom_node.json';
|
||||
import customNodeWithCustomCredentialFixture from '../../workflows/Custom_node_custom_credential.json';
|
||||
import customNodeWithN8nCredentialFixture from '../../workflows/Custom_node_n8n_credential.json';
|
||||
import { MANUAL_TRIGGER_NODE_NAME } from '../../../config/constants';
|
||||
import { test, expect } from '../../../fixtures/base';
|
||||
import customCredential from '../../../workflows/Custom_credential.json';
|
||||
import customNodeFixture from '../../../workflows/Custom_node.json';
|
||||
import customNodeWithCustomCredentialFixture from '../../../workflows/Custom_node_custom_credential.json';
|
||||
import customNodeWithN8nCredentialFixture from '../../../workflows/Custom_node_n8n_credential.json';
|
||||
|
||||
const CUSTOM_NODE_NAME = 'E2E Node';
|
||||
const CUSTOM_NODE_WITH_N8N_CREDENTIAL = 'E2E Node with native n8n credential';
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { test, expect } from '../../fixtures/base';
|
||||
import { test, expect } from '../../../fixtures/base';
|
||||
|
||||
test.use({ addContainerCapability: { email: true } });
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { test, expect } from '../../fixtures/base';
|
||||
import { test, expect } from '../../../fixtures/base';
|
||||
|
||||
test.describe('Form Trigger', () => {
|
||||
test.beforeEach(async ({ n8n }) => {
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { test, expect } from '../../fixtures/base';
|
||||
import { test, expect } from '../../../fixtures/base';
|
||||
|
||||
test.describe('HTTP Request node', () => {
|
||||
test.beforeEach(async ({ n8n }) => {
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
import { IF_NODE_NAME } from '../../config/constants';
|
||||
import { test, expect } from '../../fixtures/base';
|
||||
import { IF_NODE_NAME } from '../../../config/constants';
|
||||
import { test, expect } from '../../../fixtures/base';
|
||||
|
||||
const FILTER_PARAM_NAME = 'conditions';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { expect, test } from '../../fixtures/base';
|
||||
import { expect, test } from '../../../fixtures/base';
|
||||
|
||||
test.describe('PDF Test', () => {
|
||||
test('Can read and write PDF files and extract text', async ({ n8n }) => {
|
||||
Reference in New Issue
Block a user