You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is missing: As a new SpecFlow adventurer 👶🏴☠️ , could some brave soul please show me how to setup a .NET 6 + SpecFlow+Selenium using both appsettings.<environment>.json and specflow.actions.<browser>.json, this would probably fit right at home here in the collection. Most of the examples cover one or the other but I think an example using both is missing.
Request Specifics:
Project type:
SpecFlow project template
Selenium
Framework .NET 6.0
Test Framework: NUnit (any)
Here's a bunch of dummy info to put in the files themselves, unfortunately I don't know what is the best way in setting it up.
Multiple (at least 2) environments. appsettings.<environment>.json
appsettings.debug.json
{
"AppUrl": "http://localhost:4200/"
}
appsettings.release.json
{
"AppUrl": "http://actualurl.omg"
}
Multiple browser specific configuration.specflow.actions.<browser>.json
specflow.actions.firefox.json
It only seems to work with double dash arguments although Firefox arguments are single dashed?
Thanks for the tip however, I was looking for a solution using specflow.actions because as far as I understand about it, it will run all the browsers along with their respective specific configurations without having to perform additional actions.
Product:
What is missing: As a new SpecFlow adventurer 👶🏴☠️ , could some brave soul please show me how to setup a .NET 6 + SpecFlow+Selenium using both
appsettings.<environment>.json
andspecflow.actions.<browser>.json
, this would probably fit right at home here in the collection. Most of the examples cover one or the other but I think an example using both is missing.Request Specifics:
Project type:
Here's a bunch of dummy info to put in the files themselves, unfortunately I don't know what is the best way in setting it up.
Multiple (at least 2) environments.
appsettings.<environment>.json
appsettings.debug.json
appsettings.release.json
Multiple browser specific configuration.
specflow.actions.<browser>.json
specflow.actions.firefox.json
It only seems to work with double dash arguments although Firefox arguments are single dashed?
specflow.actions.chrome.json
specflow.actions.json
The text was updated successfully, but these errors were encountered: