test(cms): clean up all partner-logo test artifacts
CI Pipeline with Test Management / 🧪 Run Tests & Generate Reports (push) Waiting to run
CI Pipeline with Test Management / 🐳 Docker Integration Tests (push) Blocked by required conditions
CI Pipeline with Test Management / 🏗️ Build Docker Image (push) Blocked by required conditions
CI Pipeline with Test Management / 📊 Generate Test Summary (push) Blocked by required conditions
Test Reporting & Gherkin Analysis / 🧪 Run Tests & Generate Reports (push) Waiting to run
Test Reporting & Gherkin Analysis / 📊 Analyze Test Coverage (push) Blocked by required conditions
Test Reporting & Gherkin Analysis / 🔄 Sync with Linear (push) Blocked by required conditions
Test Reporting & Gherkin Analysis / ⚡ Performance Monitoring (push) Blocked by required conditions
CI Pipeline with Test Management / 🧪 Run Tests & Generate Reports (push) Waiting to run
CI Pipeline with Test Management / 🐳 Docker Integration Tests (push) Blocked by required conditions
CI Pipeline with Test Management / 🏗️ Build Docker Image (push) Blocked by required conditions
CI Pipeline with Test Management / 📊 Generate Test Summary (push) Blocked by required conditions
Test Reporting & Gherkin Analysis / 🧪 Run Tests & Generate Reports (push) Waiting to run
Test Reporting & Gherkin Analysis / 📊 Analyze Test Coverage (push) Blocked by required conditions
Test Reporting & Gherkin Analysis / 🔄 Sync with Linear (push) Blocked by required conditions
Test Reporting & Gherkin Analysis / ⚡ Performance Monitoring (push) Blocked by required conditions
This commit is contained in:
@@ -166,8 +166,10 @@ async function main() {
|
|||||||
assert.ok(tBody.path.startsWith('/partners/'), 'traversal name is sanitized to a safe slug');
|
assert.ok(tBody.path.startsWith('/partners/'), 'traversal name is sanitized to a safe slug');
|
||||||
assert.ok(!tBody.path.includes('..'), 'no traversal in the returned path');
|
assert.ok(!tBody.path.includes('..'), 'no traversal in the returned path');
|
||||||
} finally {
|
} finally {
|
||||||
try { fs.unlinkSync(partnerFile); } catch { /* noop */ }
|
try {
|
||||||
try { fs.rmdirSync(partnerDir); } catch { /* not empty */ }
|
for (const f of fs.readdirSync(partnerDir)) fs.unlinkSync(path.join(partnerDir, f));
|
||||||
|
fs.rmdirSync(partnerDir);
|
||||||
|
} catch { /* best effort */ }
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('Content Editor logo upload test: OK');
|
console.log('Content Editor logo upload test: OK');
|
||||||
|
|||||||
Reference in New Issue
Block a user