Commit c23b0bc9 by Muhammad Ammar

Decrease Video Player Init Wait Timeout

parent 2bdc4bf0
...@@ -39,7 +39,7 @@ class VidoComponentPage(PageObject): ...@@ -39,7 +39,7 @@ class VidoComponentPage(PageObject):
def is_browser_on_page(self): def is_browser_on_page(self):
return self.q(css='div{0}'.format(CLASS_SELECTORS['video_xmodule'])).present return self.q(css='div{0}'.format(CLASS_SELECTORS['video_xmodule'])).present
def _wait_for(self, check_func, desc, result=False, timeout=200): def _wait_for(self, check_func, desc, result=False, timeout=30):
""" """
Calls the method provided as an argument until the Promise satisfied or BrokenPromise Calls the method provided as an argument until the Promise satisfied or BrokenPromise
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment