!302 音乐播放器测试优化

Merge pull request !302 from 贾孟元/master
This commit is contained in:
openharmony_ci 2024-03-20 06:10:05 +00:00 committed by Gitee
commit e3bf832b85
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -24,7 +24,7 @@ class DistributedMusicPlayer(ITestCase):
def process(self):
self.step('步骤1启动音乐应用')
self.common_oh.startAbility(self.Phone1, self.ability_name, self.bundle_name)
# self.common_oh.wait(self.Phone1, 5)
self.common_oh.wait(self.Phone1, 5)
self.step('步骤2点击弹窗的"允许"')
try:
self.common_oh.touchByText(self.Phone1, '允许')