From bbb0c5396e00d74cb208fb22481d09337416bcc3 Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Wed, 14 Jul 2021 18:50:34 +0800 Subject: [PATCH] test_page_position.py: change click order. --- app/test/test_page_position.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/app/test/test_page_position.py b/app/test/test_page_position.py index 4156d39..7900e32 100644 --- a/app/test/test_page_position.py +++ b/app/test/test_page_position.py @@ -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()