Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

180
Views
How to hide email and password from cypress tests?

I hope you all are doing well. The problem is that I don't want to check email and passwords in version control. The idea is to use env and pass them in cypress tests and use secrets to provide value at runtime. But how can I setup that structure when I am running the tests locally? i.e. providing the value for those env variables. Looking forward to your answers. Thanks in advance

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You can use a package (e.g. dotenv) that will configure your environment variables from an external source that isn't version controlled: just make sure the source file (.env/.env.local/etc.) is listed in your .gitignore.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!