Skip to content

Commit

Permalink
Update test to reflect layout change
Browse files Browse the repository at this point in the history
  • Loading branch information
zedeus committed Jan 20, 2022
1 parent 637168e commit 29a53de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def test_suspended(self):
@parameterized.expand(banner_color)
def test_banner_color(self, username, color):
self.open_nitter(username)
banner = self.find_element(Profile.banner + '-color')
banner = self.find_element(Profile.banner + ' a')
self.assertIn(color, banner.value_of_css_property('background-color'))

@parameterized.expand(banner_image)
Expand Down

0 comments on commit 29a53de

Please sign in to comment.