mirror of
https://github.com/zedeus/nitter
synced 2024-11-22 18:07:14 +01:00
Update test to reflect layout change
This commit is contained in:
parent
637168ecc6
commit
29a53de691
@ -78,7 +78,7 @@ class ProfileTest(BaseTestCase):
|
||||
@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)
|
||||
|
Loading…
Reference in New Issue
Block a user