--env,e用来指定环境变量,这个参数可以用来动态传入环境变量。 npm run cypress open --env host=api.dev.local代码中可用Cypress.env('host').
確定! 回上一頁