mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Skipping Caddy tests on CICD.
This commit is contained in:
parent
b8eaac8ec1
commit
1e37f0d4dd
2 changed files with 5 additions and 1 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
|
|
@ -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', () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue