def test_slowShot(self,action:ElementActions):
     action.click(HomePage.拍摄按钮)
     action.click(ShotPage.拍摄速度)
     action.click(ShotPage.慢速)
     action.click(ShotPage.拍摄按钮)
     action.sleep(12)
     assert action.is_element_displayed(ShotPage.编辑完成,is_retry=False)
Exemple #2
0
 def test_otherHomepage(self, action: ElementActions):
     assert not action.is_element_displayed(MyPage.名字)
 def test_epicShot(self,action:ElementActions):
     action.click(ShotPage.拍摄速度)
     action.click(ShotPage.极慢)
     action.click(ShotPage.拍摄按钮)
     action.sleep(8)
     assert action.is_element_displayed(ShotPage.编辑完成,is_retry=False)