test: Rename tests/ui to tests/e2e and reorganize, move tests to api … (#22935)

This commit is contained in:
Artem Sorokin
2025-12-08 17:41:57 +01:00
committed by GitHub
parent fc93272021
commit f62e698fb8
130 changed files with 4 additions and 4 deletions
@@ -38,7 +38,7 @@ export function getProjects(): Project[] {
projects.push(
{
name: 'ui',
testDir: './tests/ui',
testDir: './tests/e2e',
grepInvert: new RegExp(
[CONTAINER_ONLY.source, SERIAL_EXECUTION.source, ISOLATED_ONLY.source].join('|'),
),
@@ -47,7 +47,7 @@ export function getProjects(): Project[] {
},
{
name: 'ui:isolated',
testDir: './tests/ui',
testDir: './tests/e2e',
grep: new RegExp([SERIAL_EXECUTION.source, ISOLATED_ONLY.source].join('|')),
workers: 1,
use: { baseURL: process.env.N8N_BASE_URL },
@@ -59,7 +59,7 @@ export function getProjects(): Project[] {
projects.push(
{
name: `${name}:ui`,
testDir: './tests/ui',
testDir: './tests/e2e',
grepInvert: new RegExp(grepInvertPatterns.join('|')),
timeout: name === 'standard' ? 60000 : 180000, // 60 seconds for standard container test, 180 for containers to allow startup etc
fullyParallel: true,
@@ -67,7 +67,7 @@ export function getProjects(): Project[] {
},
{
name: `${name}:ui:isolated`,
testDir: './tests/ui',
testDir: './tests/e2e',
grep: new RegExp([SERIAL_EXECUTION.source, ISOLATED_ONLY.source].join('|')),
workers: 1,
use: { containerConfig: config },

Some files were not shown because too many files have changed in this diff Show More