2023-03-02 07:57:42 -06:00
|
|
|
import { defineConfig } from 'cypress';
|
2023-03-07 11:03:19 -06:00
|
|
|
import webpackConfig from './webpack.cy.config';
|
|
|
|
|
2023-03-02 07:57:42 -06:00
|
|
|
export default defineConfig({
|
|
|
|
env: {},
|
|
|
|
e2e: {
|
|
|
|
/*setupNodeEvents(on, config) {
|
|
|
|
// implement node event listeners here
|
|
|
|
},*/
|
2023-03-02 08:12:41 -06:00
|
|
|
baseUrl: 'http://localhost:3000',
|
2023-03-02 07:57:42 -06:00
|
|
|
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
|
|
|
|
experimentalRunAllSpecs: true,
|
|
|
|
},
|
2023-03-07 11:03:19 -06:00
|
|
|
component: {
|
|
|
|
specPattern: 'src/**/*.cy.{js,jsx,ts,tsx}',
|
|
|
|
devServer: {
|
|
|
|
framework: 'react',
|
|
|
|
bundler: 'webpack',
|
|
|
|
webpackConfig: webpackConfig,
|
|
|
|
},
|
|
|
|
viewportWidth: 1280,
|
|
|
|
viewportHeight: 720,
|
|
|
|
}
|
2023-03-02 07:57:42 -06:00
|
|
|
});
|