Shun Miyazawa 3 лет назад
Родитель
Сommit
526c720509
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      packages/app/cypress.config.ts

+ 2 - 2
packages/app/cypress.config.ts

@@ -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) => {