Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #20018 from AndreiH/bug_1020298
Browse files Browse the repository at this point in the history
Bug 1020298 - "Add videos to get started" message is shown when opening Video app
  • Loading branch information
AndreiH committed Jun 6, 2014
2 parents 9bb5a01 + 7130e07 commit 7cef106
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/python/gaia-ui-tests/gaiatest/apps/videoplayer/app.py
Expand Up @@ -23,8 +23,9 @@ def launch(self):
Base.launch(self)

def wait_for_thumbnails_to_load(self, files_number):
timeout = (self.marionette.timeout / 1000) + (files_number * 5)
self.wait_for_condition(lambda m: len(m.find_elements(*self._video_items_locator)) == files_number,
timeout=files_number * 5)
timeout=timeout)

@property
def total_video_count(self):
Expand Down

0 comments on commit 7cef106

Please sign in to comment.