Join Discord
Powered by
I need to retrieve different baseUrl from differen...
# i-need-help
f
full-helmet-93291
05/18/2023, 1:23 PM
Hi! A friend of mine came across this situation: 1. Having multiple config.ts files to store different configurations for different environments and apps 2. Needing to retrieve the baseUrl of a specific config file for a particular test.
https://stackoverflow.com/questions/76276112/how-do-i-call-my-baseurl-when-i-have-multiple-configuration-files-in-cypress
We couldn't find a way to do this. Any ideas?
l
late-greece-72449
05/18/2023, 4:26 PM
See if this might be of some help.
https://medium.com/cypress-corner/different-ways-to-set-up-baseurl-in-cypress-f661268365fb
f
full-helmet-93291
05/18/2023, 4:50 PM
thank you!
l
late-greece-72449
05/18/2023, 6:13 PM
might not give you exact solution but maybe some idea for implementation and if you think of something you can contribute to this blog and add more if interested
Previous
Next