在我的config.json
中,我想要多个堆栈。我使用不同的URL,每次运行不同的测试时都必须记住要切换堆栈,这很烦人。有没有办法做到这一点,还是我只需要继续手动更改它即可?
{
"environment": "grp",
"mode": "local",
"browser": "chrome",
"headless": false,
"screenshots": "onFail",
"timeout": 30,
"stack": "prod",
"_examples": {
"environment": "local | prod | dev | int | pre-prod | brightcove",
"mode": "local | docker | browserstack | localgrid | hub",
"browser": "chrome | firefox | safari",
"headless": "true | false",
"screenshots": "true | onFail | false",
"timeout": "Number-in-seconds 30 to avoid Gateway timeout on
remote"
}
}