Files
ionic-framework/packages/vue/test/base/cypress.config.ts
2022-09-30 14:22:46 -04:00

21 lines
657 B
TypeScript

import { defineConfig } from 'cypress';
export default defineConfig({
video: false,
screenshotOnRunFailure: false,
defaultCommandTimeout: 10000,
fixturesFolder: 'tests/e2e/fixtures',
screenshotsFolder: 'tests/e2e/screenshots',
videosFolder: 'tests/e2e/videos',
e2e: {
// We've imported your old cypress plugins here.
// You may want to clean this up later by importing these.
setupNodeEvents(on, config) {
return require('./tests/e2e/plugins/index.js')(on, config)
},
specPattern: 'tests/e2e/specs/**/*.cy.{js,jsx,ts,tsx}',
supportFile: 'tests/e2e/support/index.js',
baseUrl: 'http://localhost:8080'
},
})