diff --git a/backend/package.json b/backend/package.json index a56ca31360..f0b8327dc1 100644 --- a/backend/package.json +++ b/backend/package.json @@ -6,7 +6,7 @@ "scripts": { "start": "SSL_CERT_FILE=certs.pem NODE_ENV=development nodemon --exec babel-node index.js", "build": "webpack --mode=production", - "start:prod": "SSL_CERT_FILE=certs.pem NODE_ENV=production node backend-production.js", + "start:prod": "SSL_CERT_FILE=certs.pem NODE_ENV=production node --max-http-header-size 24576 backend-production.js", "test": "jest" }, "keywords": [], diff --git a/src/components/Extensibility/components/Badge.js b/src/components/Extensibility/components/Badge.js index 003c96a72e..766e8586af 100644 --- a/src/components/Extensibility/components/Badge.js +++ b/src/components/Extensibility/components/Badge.js @@ -72,15 +72,23 @@ export function Badge({ type = TYPE_FALLBACK.get(type) || type; + const getTooltipContent = description => { + if (tooltip && !tooltipError) { + return tooltip; + } + if (!tooltip && !tooltipError) { + return ''; + } + return description; + }; + return isNil(value) ? ( emptyLeafPlaceholder ) : structure?.description ? ( {tExt(value)} diff --git a/src/resources/Namespaces/ResourcesUsage.js b/src/resources/Namespaces/ResourcesUsage.js index 3bc6eb5426..3f09126f31 100644 --- a/src/resources/Namespaces/ResourcesUsage.js +++ b/src/resources/Namespaces/ResourcesUsage.js @@ -138,7 +138,7 @@ export const ResourcesUsage = ({ namespace }) => { pollingInterval: 3300, }, ); - + if (resourceQuotas?.length < 1) return null; return ( <>
diff --git a/tests/lighthouse/package-lock.json b/tests/lighthouse/package-lock.json index 154e4d8df2..bb99740b35 100644 --- a/tests/lighthouse/package-lock.json +++ b/tests/lighthouse/package-lock.json @@ -10,7 +10,7 @@ "license": "ISC", "devDependencies": { "@playwright/browser-chromium": "1.44.0", - "@playwright/test": "^1.44.0", + "@playwright/test": "^1.49.1", "lighthouse": "^12.0.0", "playwright": "^1.44.0", "playwright-lighthouse": "^4.0.0" @@ -115,18 +115,18 @@ } }, "node_modules/@playwright/test": { - "version": "1.44.0", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.44.0.tgz", - "integrity": "sha512-rNX5lbNidamSUorBhB4XZ9SQTjAqfe5M+p37Z8ic0jPFBMo5iCtQz1kRWkEMg+rYOKSlVycpQmpqjSFq7LXOfg==", + "version": "1.49.1", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.49.1.tgz", + "integrity": "sha512-Ky+BVzPz8pL6PQxHqNRW1k3mIyv933LML7HktS8uik0bUXNCdPhoS/kLihiO1tMf/egaJb4IutXd7UywvXEW+g==", "dev": true, "dependencies": { - "playwright": "1.44.0" + "playwright": "1.49.1" }, "bin": { "playwright": "cli.js" }, "engines": { - "node": ">=16" + "node": ">=18" } }, "node_modules/@puppeteer/browsers": { @@ -1427,18 +1427,18 @@ "dev": true }, "node_modules/playwright": { - "version": "1.44.0", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.44.0.tgz", - "integrity": "sha512-F9b3GUCLQ3Nffrfb6dunPOkE5Mh68tR7zN32L4jCk4FjQamgesGay7/dAAe1WaMEGV04DkdJfcJzjoCKygUaRQ==", + "version": "1.49.1", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.49.1.tgz", + "integrity": "sha512-VYL8zLoNTBxVOrJBbDuRgDWa3i+mfQgDTrL8Ah9QXZ7ax4Dsj0MSq5bYgytRnDVVe+njoKnfsYkH3HzqVj5UZA==", "dev": true, "dependencies": { - "playwright-core": "1.44.0" + "playwright-core": "1.49.1" }, "bin": { "playwright": "cli.js" }, "engines": { - "node": ">=16" + "node": ">=18" }, "optionalDependencies": { "fsevents": "2.3.2" @@ -1478,6 +1478,18 @@ } } }, + "node_modules/playwright/node_modules/playwright-core": { + "version": "1.49.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.49.1.tgz", + "integrity": "sha512-BzmpVcs4kE2CH15rWfzpjzVGhWERJfmnXmniSyKeRZUs9Ws65m+RGIi7mjJK/euCegfn3i7jvqWeWyHe9y3Vgg==", + "dev": true, + "bin": { + "playwright-core": "cli.js" + }, + "engines": { + "node": ">=18" + } + }, "node_modules/progress": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", @@ -2144,12 +2156,12 @@ } }, "@playwright/test": { - "version": "1.44.0", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.44.0.tgz", - "integrity": "sha512-rNX5lbNidamSUorBhB4XZ9SQTjAqfe5M+p37Z8ic0jPFBMo5iCtQz1kRWkEMg+rYOKSlVycpQmpqjSFq7LXOfg==", + "version": "1.49.1", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.49.1.tgz", + "integrity": "sha512-Ky+BVzPz8pL6PQxHqNRW1k3mIyv933LML7HktS8uik0bUXNCdPhoS/kLihiO1tMf/egaJb4IutXd7UywvXEW+g==", "dev": true, "requires": { - "playwright": "1.44.0" + "playwright": "1.49.1" } }, "@puppeteer/browsers": { @@ -3131,13 +3143,21 @@ "dev": true }, "playwright": { - "version": "1.44.0", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.44.0.tgz", - "integrity": "sha512-F9b3GUCLQ3Nffrfb6dunPOkE5Mh68tR7zN32L4jCk4FjQamgesGay7/dAAe1WaMEGV04DkdJfcJzjoCKygUaRQ==", + "version": "1.49.1", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.49.1.tgz", + "integrity": "sha512-VYL8zLoNTBxVOrJBbDuRgDWa3i+mfQgDTrL8Ah9QXZ7ax4Dsj0MSq5bYgytRnDVVe+njoKnfsYkH3HzqVj5UZA==", "dev": true, "requires": { "fsevents": "2.3.2", - "playwright-core": "1.44.0" + "playwright-core": "1.49.1" + }, + "dependencies": { + "playwright-core": { + "version": "1.49.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.49.1.tgz", + "integrity": "sha512-BzmpVcs4kE2CH15rWfzpjzVGhWERJfmnXmniSyKeRZUs9Ws65m+RGIi7mjJK/euCegfn3i7jvqWeWyHe9y3Vgg==", + "dev": true + } } }, "playwright-core": { diff --git a/tests/lighthouse/package.json b/tests/lighthouse/package.json index db9859b06d..b31e393d32 100644 --- a/tests/lighthouse/package.json +++ b/tests/lighthouse/package.json @@ -8,7 +8,7 @@ "test": "npx playwright test" }, "devDependencies": { - "@playwright/test": "^1.44.0", + "@playwright/test": "^1.49.1", "lighthouse": "^12.0.0", "playwright": "^1.44.0", "playwright-lighthouse": "^4.0.0",