1
0
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:
Zed 2022-01-20 06:03:08 +01:00
parent 637168ecc6
commit 29a53de691

View File

@ -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)