Skipping Caddy tests on CICD.
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Controller Tests / controller-tests (push) Has been cancelled
Jest Tests / jest-tests (push) Has been cancelled

This commit is contained in:
Roland 2026-03-10 20:26:00 -06:00 • committed by lrnselfreliance
parent b8eaac8ec1
commit 1e37f0d4dd
2 changed files with 5 additions and 1 deletions

View file

@ -8,6 +8,9 @@ module.exports = defineConfig({
supportFile: 'cypress/support/e2e.js',
video: process.env.CI ? true : false,
screenshotOnRunFailure: true,
env: {
CI: !!process.env.CI,
},
},
component: {
devServer: {

View file

@ -1,4 +1,5 @@
describe('Caddy Media Serving Tests', () => {
// These tests require Caddy (not available in CI where only React dev server runs)
(Cypress.env('CI') ? describe.skip : describe)('Caddy Media Serving Tests', () => {
describe('/media/ Content-Disposition inline', () => {
it('sets Content-Disposition inline on /media/ file requests', () => {