test_page_position.py: change click order.

pull/1/head
Hui Lan 2021-07-14 18:50:34 +08:00
parent 5c7096a96b
commit bbb0c5396e
1 changed files with 7 additions and 4 deletions

View File

@ -46,14 +46,17 @@ def test_page_position():
driver.find_element_by_xpath('//form[1]/p[3]/input[1]').click() # 找到登录按钮
# 这里随机测试三个单词,点击熟悉
click_by_random('熟悉')
click_by_random('熟悉')
click_by_random('熟悉')
# 这里随机测试三个单词,点击不熟悉
click_by_random('不熟悉')
click_by_random('不熟悉')
click_by_random('不熟悉')
# 这里随机测试三个单词,点击熟悉
click_by_random('熟悉')
click_by_random('熟悉')
click_by_random('熟悉')
finally:
driver.quit()