mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-12 11:06:30 +00:00
Disable photo rail test
This commit is contained in:
parent
54e6ce14ac
commit
d7ca353a55
1 changed files with 7 additions and 7 deletions
|
@ -55,10 +55,10 @@ class TweetTest(BaseTestCase):
|
||||||
self.assert_element_absent(Timeline.older)
|
self.assert_element_absent(Timeline.older)
|
||||||
self.assert_element_absent(Timeline.end)
|
self.assert_element_absent(Timeline.end)
|
||||||
|
|
||||||
@parameterized.expand(photo_rail)
|
#@parameterized.expand(photo_rail)
|
||||||
def test_photo_rail(self, username, images):
|
#def test_photo_rail(self, username, images):
|
||||||
self.open_nitter(username)
|
#self.open_nitter(username)
|
||||||
self.assert_element_visible(Timeline.photo_rail)
|
#self.assert_element_visible(Timeline.photo_rail)
|
||||||
for i, url in enumerate(images):
|
#for i, url in enumerate(images):
|
||||||
img = self.get_attribute(Timeline.photo_rail + f' a:nth-child({i + 1}) img', 'src')
|
#img = self.get_attribute(Timeline.photo_rail + f' a:nth-child({i + 1}) img', 'src')
|
||||||
self.assertIn(url, img)
|
#self.assertIn(url, img)
|
||||||
|
|
Loading…
Reference in a new issue