mirror of
https://github.com/n8n-io/n8n.git
synced 2026-09-24 23:22:38 +08:00
test: Rename tests/ui to tests/e2e and reorganize, move tests to api … (#22935)
This commit is contained in:
@@ -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
Reference in New Issue
Block a user