已关闭
feat: testhelper新增网络状态控制Shell命令 #1200
yangyuyan创建于 9月14日关闭于 6 天前
openharmony_ci
9月14日 评论:
9月14日 评论:
感谢提交Issue!关于Issue的交互操作,请访问OpenHarmony社区支持命令清单。如果有问题,请联系 [@inter515](https://gitcode.com/inter515) [@leid_1021](https://gitcode.com/leid_1021) 。如果需要调整订阅PR、Issue的变更状态,请访问链接。
Thanks for submitting the issue. For more commands, please visit OpenHarmony Command List. If you have any questions, please refer to committer gitcode for help. If you need to change the subscription of a Pull Request or Issue, please visit the link.


9月14日 添加了label:waiting_for_assign
6 天前 关闭了 issue
6 天前 issue状态由 待办的 改变为 已完成
需求背景
三方应用在自动化测试中缺少网络状态控制的测试命令,无法模拟网络切换场景(WiFi/移动数据/飞行模式),导致网络相关测试场景无法自动化覆盖。
需求内容
testhelper新增6条Shell命令,通过testserver SA 5502委托系统服务innerAPI实现网络开关控制:
enable-wifi/disable-wifienable-cellular-data/disable-cellular-dataenable-airplane/disable-airplane关联 PR
https://gitcode.com/openharmony/testfwk_arkxtest/merge_requests/1433