Skip to content

Commit

Permalink
Disable photo rail test
Browse files Browse the repository at this point in the history
  • Loading branch information
zedeus committed Aug 8, 2023
1 parent 54e6ce1 commit d7ca353
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/test_timeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ def test_protected(self, username):
self.assert_element_absent(Timeline.older)
self.assert_element_absent(Timeline.end)

@parameterized.expand(photo_rail)
def test_photo_rail(self, username, images):
self.open_nitter(username)
self.assert_element_visible(Timeline.photo_rail)
for i, url in enumerate(images):
img = self.get_attribute(Timeline.photo_rail + f' a:nth-child({i + 1}) img', 'src')
self.assertIn(url, img)
#@parameterized.expand(photo_rail)
#def test_photo_rail(self, username, images):
#self.open_nitter(username)
#self.assert_element_visible(Timeline.photo_rail)
#for i, url in enumerate(images):
#img = self.get_attribute(Timeline.photo_rail + f' a:nth-child({i + 1}) img', 'src')
#self.assertIn(url, img)

0 comments on commit d7ca353

Please sign in to comment.