File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -17,5 +17,5 @@ def test_github(self):
1717 self .assert_element ("div.repository-content" )
1818 self .assert_text ("SeleniumBase" , "strong a" )
1919 self .click ('a[title="seleniumbase"]' )
20- self .slow_click ('a[title= "fixtures"] ' )
21- self .assert_element ('a[title= "base_case.py"] ' )
20+ self .slow_click ('a:contains( "fixtures") ' )
21+ self .assert_element ('a:contains( "base_case.py") ' )
Original file line number Diff line number Diff line change @@ -87,11 +87,8 @@ def test_all_your_base_are_belong_to_us(self):
8787 self .set_text_content ("h1 span:nth-of-type(3)" , "BELONG" )
8888 self .set_text_content ("h1 span:nth-of-type(4)" , "TO" )
8989 self .set_text_content ("h1 span:nth-of-type(5)" , "US" )
90- self .type ('input[name="q"]' , aybabtu .lower ())
91- self .click ("h1" , scroll = False )
92- self .highlight ('a[href="/pricing"]' , loops = 5 , scroll = False )
93- self .highlight ('input[name="q"]' , loops = 5 , scroll = False )
94- self .highlight ("h1" , loops = 8 , scroll = False )
90+ self .highlight ('a[href="/pricing"]' , loops = 6 , scroll = False )
91+ self .highlight ("h1.h2-mktg" , loops = 7 , scroll = False )
9592
9693 self .open ("https://dev.to/top/infinity" )
9794 self .click_if_visible ('button[aria-label="Close campaign banner"]' )
You can’t perform that action at this time.
0 commit comments