From 29a53de6916696c2118995791453b57b87f93e54 Mon Sep 17 00:00:00 2001 From: Zed Date: Thu, 20 Jan 2022 06:03:08 +0100 Subject: [PATCH] Update test to reflect layout change --- tests/test_profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_profile.py b/tests/test_profile.py index 1a7fe84..d9aa4fa 100644 --- a/tests/test_profile.py +++ b/tests/test_profile.py @@ -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)