I changed from version 2.4.1 to 3.0.0 or higher and I have not been able to run the tests again #591
-
Hey Guys! I have environment variables in the system and also in a .env file. I tried different ways and commands, but it always ends up in the Synpress.JS file showing a different error:
-Please provide SECRET_WORDS or PRIVATE_KEY environment variable'. Or other similar. Can anyone help me with what command format to send or how to make it take the installation, setup, secret phrase, etc., in this new version? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hey, How can I reproduce your issue? Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hey @drptbl ! I don't understand why, since I pass the following command: npx cross-env SECRET_WORDS='xxxx, xxxx, xxxx, xxxx, xxxx, xxxx, xxxx, xxxx, xxxx, xxxx, xxxx, xxxx' synpress run --config baseUrl=https://staking.synthetix.io/ --browser chrome |
Beta Was this translation helpful? Give feedback.
-
Great news @drptbl ! I was able to run Synpress version 3.0.5 + MM 10.21.0 on Windows. Follow the instructions there, upgrade synpress version and change the .env.example file to the network and data you want to use🦾 |
Beta Was this translation helpful? Give feedback.
Great news @drptbl ! I was able to run Synpress version 3.0.5 + MM 10.21.0 on Windows.
For those who have the same problem I recommend you to use this repo by @Belf33 :
https://github.com/Belf33/Cynpress_Metamask_Mvp
Follow the instructions there, upgrade synpress version and change the .env.example file to the network and data you want to use🦾