(1) test_page_position.py: reduce the number of click_by_random. (2) Jenkinsfile: trigger build after each push.

Lanhui-add-articles
Hui Lan 2021-07-14 21:29:32 +08:00
parent b13df92bf7
commit fa8fd4e414
1 changed files with 2 additions and 1 deletions

View File

@ -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()