test: Migrate tests to app-config/ and capabilities/ directories (#22843)

This commit is contained in:
Artem Sorokin
2025-12-05 17:08:31 +01:00
committed by GitHub
parent b04970a478
commit a939ac6e1a
8 changed files with 16 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
import { test, expect } from '../../fixtures/base';
import type { TestRequirements } from '../../Types';
import { test, expect } from '../../../fixtures/base';
import type { TestRequirements } from '../../../Types';
test.describe('Become creator CTA', () => {
test('should not show the CTA if user is not eligible', async ({ n8n, setupRequirements }) => {

View File

@@ -1,7 +1,7 @@
import { test, expect } from '../../fixtures/base';
import type { TestRequirements } from '../../Types';
import simpleWorkflow from '../../workflows/Manual_wait_set.json';
import workflowWithPinned from '../../workflows/Webhook_set_pinned.json';
import { test, expect } from '../../../fixtures/base';
import type { TestRequirements } from '../../../Types';
import simpleWorkflow from '../../../workflows/Manual_wait_set.json';
import workflowWithPinned from '../../../workflows/Webhook_set_pinned.json';
const requirements: TestRequirements = {
config: {

View File

@@ -1,4 +1,4 @@
import { test, expect } from '../../fixtures/base';
import { test, expect } from '../../../fixtures/base';
test.describe
.serial('Environment Feature Flags', () => {

View File

@@ -1,5 +1,5 @@
import { test, expect } from '../../fixtures/base';
import type { TestRequirements } from '../../Types';
import { test, expect } from '../../../fixtures/base';
import type { TestRequirements } from '../../../Types';
const NOW = Date.now();
const ONE_DAY = 24 * 60 * 60 * 1000;

View File

@@ -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('Security Notifications', () => {
async function setupVersionsApiMock(

View File

@@ -1,5 +1,5 @@
import { test, expect } from '../../fixtures/base';
import type { TestRequirements } from '../../Types';
import { test, expect } from '../../../fixtures/base';
import type { TestRequirements } from '../../../Types';
const requirements: TestRequirements = {
config: {

View File

@@ -1,6 +1,6 @@
import assert from 'node:assert';
import { test, expect } from '../../fixtures/base';
import { test, expect } from '../../../fixtures/base';
test.use({
addContainerCapability: {

View File

@@ -1,5 +1,5 @@
import { CODE_NODE_NAME, MANUAL_TRIGGER_NODE_NAME } from '../../config/constants';
import { test, expect } from '../../fixtures/base';
import { CODE_NODE_NAME, MANUAL_TRIGGER_NODE_NAME } from '../../../config/constants';
import { test, expect } from '../../../fixtures/base';
test.use({
addContainerCapability: {