https://cypress.io logo
Hi <@715580668045951047> yep you were right, I mis...
# e2e-testing
v
Hi @gray-kilobyte-89541 yep you were right, I missed that line, now updated but the result is identical
packages/e2e/cypress/config/configFiles/cypress-desk.config.ts
Copy code
import { defineConfig } from 'cypress';

export default defineConfig({
  e2e: {
    experimentalSessionAndOrigin: true,
    experimentalRunAllSpecs: true,
    setupNodeEvents(on, config) {
      const pluginFile = require('../../plugins/index.ts');
      require('@cypress/grep/src/plugin')(config);
      pluginFile(on, config);

      return config;
    },
  },
});
packages/e2e/tsconfig.json
Copy code
{
  "compilerOptions": {
    "jsx": "react",
    "target": "ES6",
    "module": "CommonJS",
    "skipLibCheck": true,
    "noImplicitAny": false,
    "noUnusedLocals": true,
    "noUnusedParameters": true,
    "strict": true,
    "allowJs": true,
    "removeComments": true,
    "baseUrl": "./",
    "types": ["cypress", "node", "cypress-real-events", "cypress-wait-until", "cypress-grep"],
    "outDir": "./dist",
    "lib": ["es6", "ESNext", "dom", "ES5"],
    "moduleResolution": "node",
    "resolveJsonModule": true,
    "esModuleInterop": true
  },
  "include": ["./**/*.tsx", "./**/*.ts", "./**/*.d.ts"],
  ...
}
packages/e2e/cypress/plugins/index.ts
Copy code
const registerCypressGrep = require('@cypress/grep')
registerCypressGrep();

module.exports = (on, config) => {
  // we register our plugin using its register method: