Closed Bug 937081 Opened 12 years ago Closed 12 years ago

Try using action chain to tap on Play button in test_music.py

Categories

(Firefox OS Graveyard :: Gaia::UI Tests, defect, P4)

Other
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: zcampbell, Unassigned)

Details

In running this test we are blocked by bug #862156; we cannot tap on the play button because Marionette thinks it is invisible. David Burns has suggested we experiment with using an Action chain - eg press().release().perform() - to see if the play works. Please experiment and see if we can get the test to go a bit further.
I'll try to see if it works using Action chain
I modified the test by using Action chain and it fails, because the play button still not visible. This is the error I got: Traceback (most recent call last): File "/home/viorelaioia/.virtualenvs/gaia/local/lib/python2.7/site-packages/marionette_client-0.6.0-py2.7.egg/marionette/marionette_test.py", line 132, in run testMethod() File "/home/viorelaioia/gaia/tests/python/gaia-ui-tests/gaiatest/tests/functional/music/test_music.py", line 59, in test_select_album_play Actions(self.marionette).press(play_button).wait(1).release().perform() File "/home/viorelaioia/.virtualenvs/gaia/local/lib/python2.7/site-packages/marionette_client-0.6.0-py2.7.egg/marionette/marionette.py", line 367, in perform self.current_id = self.marionette._send_message('actionChain', 'value', chain=self.action_chain, nextId=self.current_id) File "/home/viorelaioia/.virtualenvs/gaia/local/lib/python2.7/site-packages/marionette_client-0.6.0-py2.7.egg/marionette/marionette.py", line 577, in _send_message self._handle_error(response) File "/home/viorelaioia/.virtualenvs/gaia/local/lib/python2.7/site-packages/marionette_client-0.6.0-py2.7.egg/marionette/marionette.py", line 604, in _handle_error raise ElementNotVisibleException(message=message, status=status, stacktrace=stacktrace) TEST-UNEXPECTED-FAIL | test_music.py test_music.TestMusic.test_select_album_play | ElementNotVisibleException: Element is not currently visible and may not be manipulated
We feared this might happen.. thanks Viorela.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.