mardi 9 mars 2021

Configuration cypress pluginFile

Hello I have configured Cypress but I have a small problem with my paths in the Cypress.json file. I created several files according to the environments "production", "dev" but I can not find the path to point to the plugin file knowing that my files are in :

Cypress/config/cypress.prod.json

my error :

/config/plugins/index`, but either the file is missing, it contains a syntax error, or threw an error when required. The `pluginsFile` must be a `.js`, `.ts`, or `.coffee` file.

Do you have a solution please ? thank you

Aucun commentaire:

Enregistrer un commentaire