-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
I use config files to switch between environment URL's. I have multiple URL's I need to initiate with as well on my different test suites. Hence, I am not using a specific baseUrl. However, if baseUrl is not present in cypress.json, my tests fail. I had to include this variable with an actual value (e.g. https://loginsite.com) but will never use it.
I understand it is not best practice, but switching between environments would require me with one environment 'http' and another having 'https' and multiple other reasons. Example:
"baseUrls":
{
"protocol": "https://",
"domain": "test.com",
"subDomain": "login"
}
This is just a minor issue but I would like a cleaner code and not include parameters/variables that are not being used.
tstackhouse
Metadata
Metadata
Assignees
Labels
No labels
