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 #18747 from zacc/bug_1002465
Browse files Browse the repository at this point in the history
Bug 1002465 - test_browser_play_you_tube.py - wait for the elements to b...
  • Loading branch information
bebef1987 committed Apr 28, 2014
2 parents 154fdef + e413096 commit de512f5
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -31,12 +31,12 @@ def test_play_youtube_video(self):
browser.go_to_url(self.video_URL)
browser.switch_to_content()

# Tap the video container
self.wait_for_element_present(*self._video_container_locator)
# Tap the video container to load the <video> element and start playing
self.wait_for_element_displayed(*self._video_container_locator)
self.marionette.find_element(*self._video_container_locator).tap()

# Wait HTML5 player to appear
self.wait_for_element_present(*self._video_element_locator)
self.wait_for_element_displayed(*self._video_element_locator)
video = self.marionette.find_element(*self._video_element_locator)
player = HTML5Player(self.marionette, video)

Expand Down

0 comments on commit de512f5

Please sign in to comment.