已关闭
feat: testhelper新增网络状态控制Shell命令 #1200
yangyuyan创建于  9月14日关闭于  6 天前
yangyuyan
9月14日 创建

需求背景

三方应用在自动化测试中缺少网络状态控制的测试命令,无法模拟网络切换场景(WiFi/移动数据/飞行模式),导致网络相关测试场景无法自动化覆盖。

需求内容

testhelper新增6条Shell命令,通过testserver SA 5502委托系统服务innerAPI实现网络开关控制:

  • enable-wifi / disable-wifi
  • enable-cellular-data / disable-cellular-data
  • enable-airplane / disable-airplane

关联 PR

https://gitcode.com/openharmony/testfwk_arkxtest/merge_requests/1433

likedislike
openharmony_ci
openharmony_ci成员
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.

likedislike
openharmony_ciopenharmony_ci成员
9月14日 添加了label:waiting_for_assign
Yyangyuyan
21 天前 关联了pull request:feat: testserver网络控制命令补充test_server域SELinux策略
Yyangyuyan
21 天前 关联了pull request:update: testserver补充MANAGE_WIFI_CONNECTION ACL白名单
openharmony_ciopenharmony_ci成员
6 天前 关闭了 issue
openharmony_ciopenharmony_ci成员
6 天前 issue状态由 待办的 改变为 已完成
Yyangyuyan
17 小时前 关联了pull request:feat: testhelper飞行模式命令名与输出文案统一为airplane mode