@@ -24,27 +24,13 @@ def test_all_your_base_are_belong_to_us(self):
2424 self .set_text_content ("#n-aboutsite a" , "BELONG" )
2525 self .set_text_content ("#n-contactpage a" , "TO" )
2626 self .set_text_content ("#n-sitesupport a" , "US" )
27- self .set_text_content (".tocsection-1 span.toctext" , "ALL" )
28- self .set_text_content (".tocsection-2 span.toctext" , "YOUR" )
29- self .set_text_content (".tocsection-3 span.toctext" , "BASE" )
30- self .set_text_content (".tocsection-4 span.toctext" , "ARE" )
31- self .set_text_content (".tocsection-5 span.toctext" , "BELONG" )
32- self .set_text_content (".tocsection-6 span.toctext" , "TO" )
33- self .set_text_content (".tocsection-7 span.toctext" , "US" )
34- self .highlight ("h1#firstHeading" , loops = 2 , scroll = False )
35- self .highlight ("#ca-history a" , loops = 2 , scroll = False )
36- self .highlight ("nav#p-navigation" , loops = 2 , scroll = False )
37- self .highlight ("div#toc" , loops = 2 , scroll = False )
38- self .highlight (".tocsection-1 span.toctext" , loops = 1 , scroll = False )
39- self .highlight (".tocsection-2 span.toctext" , loops = 1 , scroll = False )
40- self .highlight (".tocsection-3 span.toctext" , loops = 2 , scroll = False )
41- self .highlight (".tocsection-4 span.toctext" , loops = 1 , scroll = False )
42- self .highlight (".tocsection-5 span.toctext" , loops = 1 , scroll = False )
43- self .highlight (".tocsection-6 span.toctext" , loops = 1 , scroll = False )
44- self .highlight (".tocsection-7 span.toctext" , loops = 2 , scroll = False )
45- zoom_in = "div.thumbinner{zoom: 1.4;-moz-transform: scale(1.4);}"
27+ self .highlight ("h1#firstHeading" , loops = 5 , scroll = False )
28+ zoom_in = "#ca-history a{zoom: 1.8;-moz-transform: scale(1.8);}"
4629 self .add_css_style (zoom_in )
47- self .highlight ("div.thumbinner" , loops = 8 , scroll = False )
30+ self .highlight ("#ca-history a" , loops = 5 , scroll = False )
31+ zoom_in = "div.thumbinner{zoom: 1.6;-moz-transform: scale(1.6);}"
32+ self .add_css_style (zoom_in )
33+ self .highlight ("div.thumbinner" , loops = 10 , scroll = False )
4834
4935 if not self .headless :
5036 self .open ("https://www.apple.com/store" )
@@ -170,8 +156,7 @@ def test_all_your_base_are_belong_to_us(self):
170156
171157 self .open ("https://xkcd.com/286/" )
172158 self .set_text_content ('a[href="/archive"]' , "ALL" )
173- self .set_text_content ('a[href*="what-if"]' , "YOUR" )
174- self .set_text_content ('a[href*="//blag."]' , "BASE" )
159+ self .set_text_content ('a[href*="what-if"]' , "YOUR BASE" )
175160 self .set_text_content ('a[href*="/about"]' , abtu )
176161 self .remove_element ('li:contains("Feed")' )
177162 self .remove_element ('li:contains("TW")' )
@@ -185,8 +170,7 @@ def test_all_your_base_are_belong_to_us(self):
185170 self .set_text_content ('a[rel="next"]' , "Base" )
186171 self .highlight ("#topLeft ul" , loops = 5 , scroll = False )
187172 self .highlight ('a[href="/archive"]' , loops = 1 , scroll = False )
188- self .highlight ('a[href*="what-if"]' , loops = 1 , scroll = False )
189- self .highlight ('a[href*="//blag."]' , loops = 2 , scroll = False )
173+ self .highlight ('a[href*="what-if"]' , loops = 3 , scroll = False )
190174 self .highlight ('a[href*="/about"]' , loops = 5 , scroll = False )
191175 self .highlight ('a[rel="prev"]' , loops = 1 , scroll = False )
192176 self .highlight ('a[href*="random"]' , loops = 1 , scroll = False )
0 commit comments