79289584

Date: 2024-12-17 23:12:20
Score: 1
Natty:
Report link

I have found my solution...

I can pass it in like so

npx cypress run --env formID=myID --spec cypress/e2e/regression/forms/basicLayoutForm.cy.js

And access it like this in the .cy.js file Cypress.env('formID')

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Cookies