config.json中有多个堆栈

时间:2019-10-29 18:16:31

标签: javascript selenium cucumber config.json

在我的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"
}
}

0 个答案:

没有答案