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)
|
@parameterized.expand(banner_color)
|
||||||
def test_banner_color(self, username, color):
|
def test_banner_color(self, username, color):
|
||||||
self.open_nitter(username)
|
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'))
|
self.assertIn(color, banner.value_of_css_property('background-color'))
|
||||||
|
|
||||||
@parameterized.expand(banner_image)
|
@parameterized.expand(banner_image)
|
||||||
|
|
Loading…
Reference in New Issue