我如何在Testcafe中隐藏密码或使用机密?

问题描述 投票:1回答:1

我目前正在测试登录页面,因此我需要在代码中隐藏密码,因为在我们公司中,禁止在Git中签入密码。

是否有已知的方式可以在Testcafe中隐藏密码或使用机密?

security testing automated-tests passwords testcafe
1个回答
0
投票

您可以通过环境变量传递敏感数据。

© www.soinside.com 2019 - 2024. All rights reserved.