File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,13 @@ def test_trackers_link(self):
169
169
# Look for EFF website and return if found.
170
170
eff_url = "https://www.eff.org/privacybadger#faq-What-is-a-third-party-tracker?"
171
171
self .assertEqual (self .driver .current_url , eff_url ,
172
- "tracker explanation should open after clicking donate button on popup" )
172
+ "tracker explanation should open after clicking trackers button on popup" )
173
+
174
+ def test_no_third_party (self ):
175
+ self .open_url_and_popup ()
176
+
177
+ self .assertIn ('no third party' , self .find_el_by_css ('#pbInstructions' ).text )
178
+ self .assertFalse (self .find_el_by_css ('#blockedResources' ).is_displayed ())
173
179
174
180
def test_disable_enable_buttons (self ):
175
181
"""Ensure disable/enable buttons change popup state."""
You can’t perform that action at this time.
0 commit comments