Update test to reflect layout change
This commit is contained in:
parent
637168ecc6
commit
29a53de691
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue