File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,12 @@ def test_例子1(self):
1313 self .单击 ('button:contains("搜索")' )
1414 self .断言文本 ("舞龍" , "#firstHeading" )
1515 self .断言元素 ('img[src*="Chinese_draak.jpg"]' )
16+ self .回去 ()
1617 self .输入文本 ('input[name="search"]' , "麻婆豆腐" )
1718 self .单击 ('button:contains("搜索")' )
1819 self .断言文本 ("麻婆豆腐" , "#firstHeading" )
1920 self .断言元素 ('figure:contains("一家中餐館的麻婆豆腐")' )
21+ self .回去 ()
2022 self .输入文本 ('input[name="search"]' , "精武英雄" )
2123 self .单击 ('button:contains("搜索")' )
2224 self .断言元素 ('img[src*="Fist_of_legend.jpg"]' )
Original file line number Diff line number Diff line change @@ -415,10 +415,12 @@ class 我的测试类(硒测试用例):
415415 self .单击(' button:contains("搜索")' )
416416 self .断言文本(" 舞龍" , " #firstHeading" )
417417 self .断言元素(' img[src*="Chinese_draak.jpg"]' )
418+ self .回去()
418419 self .输入文本(' input[name="search"]' , " 麻婆豆腐" )
419420 self .单击(' button:contains("搜索")' )
420421 self .断言文本(" 麻婆豆腐" , " #firstHeading" )
421422 self .断言元素(' figure:contains("一家中餐館的麻婆豆腐")' )
423+ self .回去()
422424 self .输入文本(' input[name="search"]' , " 精武英雄" )
423425 self .单击(' button:contains("搜索")' )
424426 self .断言元素(' img[src*="Fist_of_legend.jpg"]' )
You can’t perform that action at this time.
0 commit comments