Hello all!
In the case of testing multiple environments, My configuration: removed the baseUrl from cypress.config.js and used export CYPRESS_BASE_URL=.
In my test, I used to save the user data dynamically from API ('https://${baseUrl}/api/v1/users/sign_in') but I am stuck in getting the baseUrl in the API if I put baseUrl in cypress.config.js I called it as 'https://${Cypress.env('baseUrl)}/api/v1/users/sign_in' but when I use export one so how to get baseUrl? Please enlighten me.
Thank you