test: Migrate expression and code editor tests (#22820)

This commit is contained in:
Artem Sorokin
2025-12-05 14:57:22 +01:00
committed by GitHub
parent 3979e76c1b
commit 0596e1a5b3
6 changed files with 11 additions and 11 deletions
@@ -4,8 +4,8 @@ import {
CODE_NODE_DISPLAY_NAME,
CODE_NODE_NAME,
MANUAL_TRIGGER_NODE_NAME,
} from '../../config/constants';
import { test, expect } from '../../fixtures/base';
} from '../../../../../config/constants';
import { test, expect } from '../../../../../fixtures/base';
test.describe('Code node', () => {
test.describe('Code editor', () => {
@@ -1,8 +1,8 @@
import fs from 'fs';
import { MANUAL_TRIGGER_NODE_DISPLAY_NAME } from '../../config/constants';
import { test, expect } from '../../fixtures/base';
import { resolveFromRoot } from '../../utils/path-helper';
import { MANUAL_TRIGGER_NODE_DISPLAY_NAME } from '../../../../../config/constants';
import { test, expect } from '../../../../../fixtures/base';
import { resolveFromRoot } from '../../../../../utils/path-helper';
test.describe('Editors', () => {
test.beforeEach(async ({ n8n }) => {
@@ -3,8 +3,8 @@ import {
SCHEDULE_TRIGGER_NODE_NAME,
NO_OPERATION_NODE_NAME,
HACKER_NEWS_NODE_NAME,
} from '../../config/constants';
import { test, expect } from '../../fixtures/base';
} from '../../../../../config/constants';
import { test, expect } from '../../../../../fixtures/base';
const SCHEDULE_PARAMETER_NAME = 'daysInterval';
const HACKER_NEWS_ACTION = 'Get many items';
@@ -1,4 +1,4 @@
import { test, expect } from '../../fixtures/base';
import { test, expect } from '../../../../../fixtures/base';
test.describe('Data Mapping', () => {
test.describe
@@ -1,4 +1,4 @@
import { test, expect } from '../../fixtures/base';
import { test, expect } from '../../../../../fixtures/base';
test.describe('Expression editor modal', () => {
test.beforeEach(async ({ n8n }) => {
@@ -1,5 +1,5 @@
import { test, expect } from '../../fixtures/base';
import type { n8nPage } from '../../pages/n8nPage';
import { test, expect } from '../../../../../fixtures/base';
import type { n8nPage } from '../../../../../pages/n8nPage';
test.describe('Data transformation expressions', () => {
test.beforeEach(async ({ n8n }) => {