From fa8fd4e414ae6118b2c9a60267c7025b10ab814b Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Wed, 14 Jul 2021 21:29:32 +0800 Subject: [PATCH] (1) test_page_position.py: reduce the number of click_by_random. (2) Jenkinsfile: trigger build after each push. --- app/test/test_page_position.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/test/test_page_position.py b/app/test/test_page_position.py index 0b78124..be6ece3 100644 --- a/app/test/test_page_position.py +++ b/app/test/test_page_position.py @@ -47,7 +47,7 @@ def test_page_position(): driver.find_element_by_xpath('//form[1]/p[3]/input[1]').click() # 找到登录按钮 - + # 这里随机测试一个单词,点击不熟悉 click_by_random('不熟悉') @@ -56,3 +56,4 @@ def test_page_position(): finally: driver.quit() +