|
@@ -3,9 +3,9 @@ import { defineConfig } from 'cypress';
|
|
|
export default defineConfig({
|
|
export default defineConfig({
|
|
|
e2e: {
|
|
e2e: {
|
|
|
baseUrl: 'http://localhost:3000',
|
|
baseUrl: 'http://localhost:3000',
|
|
|
- specPattern: 'test/cypress/integration/**/*',
|
|
|
|
|
|
|
+ specPattern: 'test/cypress/integration/',
|
|
|
supportFile: 'test/cypress/support/index.ts',
|
|
supportFile: 'test/cypress/support/index.ts',
|
|
|
- setupNodeEvents: (on, config) => {
|
|
|
|
|
|
|
+ setupNodeEvents: (on) => {
|
|
|
// change screen size
|
|
// change screen size
|
|
|
// see: https://docs.cypress.io/api/plugins/browser-launch-api#Set-screen-size-when-running-headless
|
|
// see: https://docs.cypress.io/api/plugins/browser-launch-api#Set-screen-size-when-running-headless
|
|
|
on('before:browser:launch', (browser, launchOptions) => {
|
|
on('before:browser:launch', (browser, launchOptions) => {
|