【发布时间】:2021-01-22 19:08:59
【问题描述】:
我正在自动化 React Native 应用程序并减少我正在使用 testID 的 UI 测试的脆弱性。
在 Detox 自动化中,显示使用 testID:https://github.com/wix/Detox/blob/master/docs/Troubleshooting.RunningTests.md#cant-find-my-component-even-though-i-added-testid-to-its-props
我在 Appium 上工作过,它还要求我们使用唯一 ID。
我的问题是“使用 testID 自动化移动应用程序的好坏习惯”我们还能做些什么吗?
【问题讨论】:
标签: react-native automation jestjs automated-tests detox