test: Migrate node-specific tests to nodes/ directory (#22835)

This commit is contained in:
Artem Sorokin
2025-12-05 16:27:08 +01:00
committed by GitHub
parent f85f1107a6
commit 3292132c49
6 changed files with 12 additions and 12 deletions
@@ -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,4 +1,4 @@
import { test, expect } from '../../fixtures/base';
import { test, expect } from '../../../fixtures/base';
test.use({ addContainerCapability: { email: true } });
@@ -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,4 +1,4 @@
import { test, expect } from '../../fixtures/base';
import { test, expect } from '../../../fixtures/base';
test.describe('HTTP Request node', () => {
test.beforeEach(async ({ n8n }) => {
@@ -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,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 }) => {