Exemplo n.º 1
0
 def test_wp_pic_free_rotate(self):
     # 图片自由旋转
     logging.info('==========test_wp_pic_free_rotate==========')
     self.choose_pic_setup()
     wp = WpView(self.driver)
     connect_device(wp.get_phone_dev())
     wp.adjust_object_place()
     wp.object_free_rotate()
     time.sleep(10)
Exemplo n.º 2
0
    def test_wp_shape_free_rotate(self):
        # 形状自由旋转
        logging.info('==========test_wp_shape_free_rotate==========')
        self.shapeatt_setup()
        wv = WpView(self.driver)
        connect_device(wv.get_phone_dev())

        wv.object_free_rotate()
        time.sleep(10)