Estaba usando la opción grepOmitFiltered en cypress-grep. cypress-grep funciona como grepOmitFiltered: false, está leyendo todos mis archivos de especificaciones desde que actualicé el proyecto a Cypress 10. Aquí está mi archivo cypress.config.ts. ¿Podrían apoyarme con este problema?
/// <reference types="cypress" /> import { defineConfig } from 'cypress' export default defineConfig({ projectId: '22eajy', reporter: 'cypress-multi-reporters', viewportWidth: 1280, viewportHeight: 720, reporterOptions: { configFile: 'reporter-config.json', }, numTestsKeptInMemory: 1, videoUploadOnPasses: false, chromeWebSecurity: false, retries: 3, env: { grepOmitFiltered: true, }, video: true, 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('cypress-grep/src/plugin')(on, config) }, specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}', }, })Devuelve este error:
Warning: We failed to trash the existing run results. This error will not alter the exit code. Error: spawn /Users/erdinc.ramanli/Library/Caches/Cypress/10.1.0/Cypress.app/Contents/Resources/app/node_modules/trash/lib/macos-trash EACCES at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19) at onErrorNT (node:internal/child_process:477:16) at processTicksAndRejections (node:internal/process/task_queues:83:21)