From 39a4b29b9db8a47bf8f6b9cbd61f12beff099571 Mon Sep 17 00:00:00 2001 From: Artem Sorokin <38620398+seemewalkin@users.noreply.github.com> Date: Fri, 5 Dec 2025 17:51:00 +0100 Subject: [PATCH] test: Rename building-blocks tests to remove numeric prefixes (#22846) --- .../{02-canvas-actions.spec.ts => canvas-actions.spec.ts} | 0 .../{04-credentials.spec.ts => credentials.spec.ts} | 2 +- ...configuration.spec.ts => node-details-configuration.spec.ts} | 2 +- .../user-service.spec.ts} | 2 +- ...kflow-entry-points.spec.ts => workflow-entry-points.spec.ts} | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename packages/testing/playwright/tests/ui/building-blocks/{02-canvas-actions.spec.ts => canvas-actions.spec.ts} (100%) rename packages/testing/playwright/tests/ui/building-blocks/{04-credentials.spec.ts => credentials.spec.ts} (98%) rename packages/testing/playwright/tests/ui/building-blocks/{03-node-details-configuration.spec.ts => node-details-configuration.spec.ts} (98%) rename packages/testing/playwright/tests/ui/{18-user-service.spec.ts => building-blocks/user-service.spec.ts} (97%) rename packages/testing/playwright/tests/ui/building-blocks/{01-workflow-entry-points.spec.ts => workflow-entry-points.spec.ts} (97%) diff --git a/packages/testing/playwright/tests/ui/building-blocks/02-canvas-actions.spec.ts b/packages/testing/playwright/tests/ui/building-blocks/canvas-actions.spec.ts similarity index 100% rename from packages/testing/playwright/tests/ui/building-blocks/02-canvas-actions.spec.ts rename to packages/testing/playwright/tests/ui/building-blocks/canvas-actions.spec.ts diff --git a/packages/testing/playwright/tests/ui/building-blocks/04-credentials.spec.ts b/packages/testing/playwright/tests/ui/building-blocks/credentials.spec.ts similarity index 98% rename from packages/testing/playwright/tests/ui/building-blocks/04-credentials.spec.ts rename to packages/testing/playwright/tests/ui/building-blocks/credentials.spec.ts index 3c84edbf752..1a1380e9fc7 100644 --- a/packages/testing/playwright/tests/ui/building-blocks/04-credentials.spec.ts +++ b/packages/testing/playwright/tests/ui/building-blocks/credentials.spec.ts @@ -2,7 +2,7 @@ import { nanoid } from 'nanoid'; import { test, expect } from '../../../fixtures/base'; -test.describe('04 - Credentials', () => { +test.describe('Credentials', () => { test('composer: createFromList creates credential', async ({ n8n }) => { const projectId = await n8n.start.fromNewProject(); const credentialName = `credential-${nanoid()}`; diff --git a/packages/testing/playwright/tests/ui/building-blocks/03-node-details-configuration.spec.ts b/packages/testing/playwright/tests/ui/building-blocks/node-details-configuration.spec.ts similarity index 98% rename from packages/testing/playwright/tests/ui/building-blocks/03-node-details-configuration.spec.ts rename to packages/testing/playwright/tests/ui/building-blocks/node-details-configuration.spec.ts index 1256c3d4238..b6f28b73ffc 100644 --- a/packages/testing/playwright/tests/ui/building-blocks/03-node-details-configuration.spec.ts +++ b/packages/testing/playwright/tests/ui/building-blocks/node-details-configuration.spec.ts @@ -1,6 +1,6 @@ import { test, expect } from '../../../fixtures/base'; -test.describe('03 - Node Details Configuration', () => { +test.describe('Node Details Configuration', () => { test.beforeEach(async ({ n8n }) => { await n8n.start.fromBlankCanvas(); }); diff --git a/packages/testing/playwright/tests/ui/18-user-service.spec.ts b/packages/testing/playwright/tests/ui/building-blocks/user-service.spec.ts similarity index 97% rename from packages/testing/playwright/tests/ui/18-user-service.spec.ts rename to packages/testing/playwright/tests/ui/building-blocks/user-service.spec.ts index 9bf5d2122b0..3402346f996 100644 --- a/packages/testing/playwright/tests/ui/18-user-service.spec.ts +++ b/packages/testing/playwright/tests/ui/building-blocks/user-service.spec.ts @@ -1,4 +1,4 @@ -import { expect, test } from '../../fixtures/base'; +import { expect, test } from '../../../fixtures/base'; test.describe('User API Service', () => { test('should create a user with default values', async ({ api }) => { diff --git a/packages/testing/playwright/tests/ui/building-blocks/01-workflow-entry-points.spec.ts b/packages/testing/playwright/tests/ui/building-blocks/workflow-entry-points.spec.ts similarity index 97% rename from packages/testing/playwright/tests/ui/building-blocks/01-workflow-entry-points.spec.ts rename to packages/testing/playwright/tests/ui/building-blocks/workflow-entry-points.spec.ts index 4692af37adf..b1bfbb24f8e 100644 --- a/packages/testing/playwright/tests/ui/building-blocks/01-workflow-entry-points.spec.ts +++ b/packages/testing/playwright/tests/ui/building-blocks/workflow-entry-points.spec.ts @@ -1,6 +1,6 @@ import { test, expect } from '../../../fixtures/base'; -test.describe('01 - UI Test Entry Points', () => { +test.describe('UI Test Entry Points', () => { test.describe('Entry Point: Home Page', () => { test('should navigate from home', async ({ n8n }) => { await n8n.start.fromHome();