drone/web/cypress/cypress.config.ts

27 lines
741 B
TypeScript

/*
* Copyright 2024 Harness Inc. All rights reserved.
* Use of this source code is governed by the PolyForm Shield 1.0.0 license
* that can be found in the licenses directory at the root of this repository, also available at
* https://polyformproject.org/wp-content/uploads/2020/06/PolyForm-Shield-1.0.0.txt.
*/
import { defineConfig } from 'cypress'
export default defineConfig({
e2e: {
baseUrl: 'http://localhost:3020',
specPattern: 'integration/**/*.spec.{ts,tsx}',
supportFile: 'support/e2e.ts',
fixturesFolder: 'fixtures',
videoUploadOnPasses: false
},
projectId: 'mcssf4',
viewportWidth: 1500,
viewportHeight: 1000,
retries: {
runMode: 2,
openMode: 0
},
fixturesFolder: 'fixtures'
})