mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 01:03:03 +08:00
21 lines
657 B
TypeScript
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'
|
|
},
|
|
})
|