mirror of
https://github.com/n8n-io/n8n.git
synced 2026-09-24 23:22:38 +08:00
test: Migrate expression and code editor tests (#22820)
This commit is contained in:
+2
-2
@@ -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', () => {
|
||||
+3
-3
@@ -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 }) => {
|
||||
+2
-2
@@ -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
-1
@@ -1,4 +1,4 @@
|
||||
import { test, expect } from '../../fixtures/base';
|
||||
import { test, expect } from '../../../../../fixtures/base';
|
||||
|
||||
test.describe('Data Mapping', () => {
|
||||
test.describe
|
||||
+1
-1
@@ -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 }) => {
|
||||
+2
-2
@@ -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 }) => {
|
||||
Reference in New Issue
Block a user