mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 15:17:33 +00:00
debug integration
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
3001
|
3001
|
||||||
],
|
],
|
||||||
"onCreateCommand": "pnpm install --recursive",
|
"onCreateCommand": "pnpm install --recursive",
|
||||||
"postAttachCommand": "pnpm turbo daemon clean; pnpm turbo @zitadel/login#dev test:integration:login:debug",
|
"postAttachCommand": "pnpm turbo daemon clean || true; pnpm turbo test:integration:login:debug",
|
||||||
"customizations": {
|
"customizations": {
|
||||||
"jetbrains": {
|
"jetbrains": {
|
||||||
"settings": {
|
"settings": {
|
||||||
|
@@ -15,8 +15,8 @@
|
|||||||
"test:unit": "vitest --run",
|
"test:unit": "vitest --run",
|
||||||
"lint-staged": "lint-staged",
|
"lint-staged": "lint-staged",
|
||||||
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next",
|
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next",
|
||||||
"test:integration:login": "cypress run",
|
"test:integration:login": "DISPLAY='' cypress run",
|
||||||
"test:integration:login:debug": "cypress open",
|
"test:integration:login:debug": "DISPLAY=:0 cypress open",
|
||||||
"test:acceptance": "dotenv -e ../login/.env.test.local playwright",
|
"test:acceptance": "dotenv -e ../login/.env.test.local playwright",
|
||||||
"test:acceptance:setup": "cd ../.. && make login_test_acceptance_setup_env && NODE_ENV=test turbo run test:acceptance:setup:dev",
|
"test:acceptance:setup": "cd ../.. && make login_test_acceptance_setup_env && NODE_ENV=test turbo run test:acceptance:setup:dev",
|
||||||
"test:acceptance:setup:dev": "cd ../.. && make login_test_acceptance_setup_dev"
|
"test:acceptance:setup:dev": "cd ../.. && make login_test_acceptance_setup_dev"
|
||||||
|
@@ -1,22 +1,51 @@
|
|||||||
{
|
{
|
||||||
"extends": ["//"],
|
"extends": [
|
||||||
|
"//"
|
||||||
|
],
|
||||||
"tasks": {
|
"tasks": {
|
||||||
"build": {
|
"build": {
|
||||||
"outputs": ["dist/**", ".next/**", "!.next/cache/**"],
|
"outputs": [
|
||||||
"dependsOn": ["@zitadel/client#build"]
|
"dist/**",
|
||||||
|
".next/**",
|
||||||
|
"!.next/cache/**"
|
||||||
|
],
|
||||||
|
"dependsOn": [
|
||||||
|
"@zitadel/client#build"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"build:login:standalone": {
|
"build:login:standalone": {
|
||||||
"outputs": ["dist/**", ".next/**", "!.next/cache/**"],
|
"outputs": [
|
||||||
"dependsOn": ["@zitadel/client#build"]
|
"dist/**",
|
||||||
|
".next/**",
|
||||||
|
"!.next/cache/**"
|
||||||
|
],
|
||||||
|
"dependsOn": [
|
||||||
|
"@zitadel/client#build"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"dev": {
|
"dev": {
|
||||||
"dependsOn": ["@zitadel/client#build"]
|
"persistent": true,
|
||||||
|
"cache": false,
|
||||||
|
"dependsOn": [
|
||||||
|
"@zitadel/client#build"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"test": {
|
"test": {
|
||||||
"dependsOn": ["@zitadel/client#build"]
|
"dependsOn": [
|
||||||
|
"@zitadel/client#build"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"test:unit": {
|
"test:unit": {
|
||||||
"dependsOn": ["@zitadel/client#build"]
|
"dependsOn": [
|
||||||
|
"@zitadel/client#build"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"test:integration:login:debug": {
|
||||||
|
"persistent": true,
|
||||||
|
"cache": false,
|
||||||
|
"with": [
|
||||||
|
"dev"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -1,7 +1,9 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://turbo.build/schema.json",
|
"$schema": "https://turbo.build/schema.json",
|
||||||
"ui": "tui",
|
"ui": "tui",
|
||||||
"globalDependencies": ["**/.env.*local"],
|
"globalDependencies": [
|
||||||
|
"**/.env.*local"
|
||||||
|
],
|
||||||
"globalEnv": [
|
"globalEnv": [
|
||||||
"DEBUG",
|
"DEBUG",
|
||||||
"VERCEL_URL",
|
"VERCEL_URL",
|
||||||
@@ -36,6 +38,7 @@
|
|||||||
},
|
},
|
||||||
"start": {},
|
"start": {},
|
||||||
"test:unit": {},
|
"test:unit": {},
|
||||||
|
"test:integration:login": {},
|
||||||
"test:acceptance": {},
|
"test:acceptance": {},
|
||||||
"test:e2e": {},
|
"test:e2e": {},
|
||||||
"lint": {},
|
"lint": {},
|
||||||
|
Reference in New Issue
Block a user