mirror of
https://github.com/n8n-io/n8n.git
synced 2025-12-05 19:27:26 -06:00
test: Migrate tests to app-config/ and capabilities/ directories (#22843)
This commit is contained in:
@@ -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 }) => {
|
||||
@@ -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: {
|
||||
@@ -1,4 +1,4 @@
|
||||
import { test, expect } from '../../fixtures/base';
|
||||
import { test, expect } from '../../../fixtures/base';
|
||||
|
||||
test.describe
|
||||
.serial('Environment Feature Flags', () => {
|
||||
@@ -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;
|
||||
@@ -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(
|
||||
@@ -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: {
|
||||
@@ -1,6 +1,6 @@
|
||||
import assert from 'node:assert';
|
||||
|
||||
import { test, expect } from '../../fixtures/base';
|
||||
import { test, expect } from '../../../fixtures/base';
|
||||
|
||||
test.use({
|
||||
addContainerCapability: {
|
||||
@@ -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: {
|
||||
Reference in New Issue
Block a user