Exemplo n.º 1
0
 def test_wp_pic_rotate_90(self):
     # 图片旋转90度
     logging.info('==========test_wp_pic_rotate_90==========')
     self.choose_pic_setup()
     wp = WpView(self.driver)
     connect_device(wp.get_phone_dev())
     wp.adjust_object_place()
     wp.object_rotate_90()
     time.sleep(10)
Exemplo n.º 2
0
    def test_wp_shape_rotate_90(self):
        # 形状旋转90度
        logging.info('==========test_wp_shape_rotate_90==========')
        self.shapeatt_setup()
        wv = WpView(self.driver)
        connect_device(wv.get_phone_dev())

        wv.object_rotate_90()
        time.sleep(10)