(1) test_page_position.py: reduce the number of click_by_random. (2) Jenkinsfile: trigger build after each push.
parent
b13df92bf7
commit
fa8fd4e414
|
@ -47,7 +47,7 @@ def test_page_position():
|
||||||
|
|
||||||
driver.find_element_by_xpath('//form[1]/p[3]/input[1]').click() # 找到登录按钮
|
driver.find_element_by_xpath('//form[1]/p[3]/input[1]').click() # 找到登录按钮
|
||||||
|
|
||||||
|
|
||||||
# 这里随机测试一个单词,点击不熟悉
|
# 这里随机测试一个单词,点击不熟悉
|
||||||
click_by_random('不熟悉')
|
click_by_random('不熟悉')
|
||||||
|
|
||||||
|
@ -56,3 +56,4 @@ def test_page_position():
|
||||||
|
|
||||||
finally:
|
finally:
|
||||||
driver.quit()
|
driver.quit()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue