update cases/smoke/basic/screenshot32/xdevice_smoke/testcases/DistributedMusicPlayer.py.

音乐播放器测试优化

Signed-off-by: 贾孟元 <jiamengyuan@h-partners.com>
This commit is contained in:
贾孟元 2024-03-20 06:07:10 +00:00 committed by Gitee
parent 2b4535f8da
commit 0b46b581d8
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, '允许')