Closed
Bug 1219627
Opened 9 years ago
Closed 9 years ago
Implement *test_browser_play_video.py* as an integration test in JavaScript
Categories
(Firefox OS Graveyard :: Gaia::Browser, defect)
Tracking
(feature-b2g:2.6+)
People
(Reporter: whsu, Assigned: apastor)
References
Details
(Whiteboard: [gip-to-gij][systemsfe])
Attachments
(1 file)
Reporter | ||
Updated•9 years ago
|
Component: Gaia::UI Tests → Gaia::Browser
Updated•9 years ago
|
feature-b2g: --- → 2.6+
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → apastor
Assignee | ||
Updated•9 years ago
|
Target Milestone: --- → 2.6 S3 - 12/18
Assignee | ||
Updated•9 years ago
|
Whiteboard: [gip-to-gij] → [gip-to-gij][systemsfe]
Assignee | ||
Comment 1•9 years ago
|
||
Martijn, do you know if we can execute things like [1] in our JS marionette client?
I tried with the same .executeScript method and doesn't seem to work.
Do you know who can help with this?
Thanks!
[1] https://github.com/mozilla-b2g/gaia/blob/master/tests/python/gaia-ui-tests/gaiatest/apps/search/regions/html5_player.py#L73
Flags: needinfo?(martijn.martijn)
Comment 2•9 years ago
|
||
Weird that it doesn't work. It can be tricky, because of native anonymous content and shadow dom here. I could take a look at it next week (currently on vacation).
Comment 3•9 years ago
|
||
Alberto, could you perhaps attach a pull request/patch of what you have thus far, then I'll try and see if I can get it working.
Flags: needinfo?(apastor)
Assignee | ||
Comment 4•9 years ago
|
||
This is what I got so far -> https://github.com/albertopq/gaia/tree/1219627-video-test
Is just trying to execute a simple method for getting the location of one of the shadow dom elements, and wanted to make sure this is supported in the js client before spending too much time on it.
Let me know if I can help with something!
Thanks!
Flags: needinfo?(apastor)
Comment 5•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Attachment #8700963 -
Flags: review?(martijn.martijn)
Comment 6•9 years ago
|
||
I've rebased this commit and ran the CI tests [1], everything is looking green. I'm going to do the review myself and merge. If Martijn has further comments about this test let's fix this in a followup.
1.) https://treeherder.mozilla.org/#/jobs?repo=gaia&revision=332d1f6024386b9080d6b1458f1c90ae18214c30
Updated•9 years ago
|
Attachment #8700963 -
Flags: review?(martijn.martijn) → review+
Comment 7•9 years ago
|
||
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment 8•9 years ago
|
||
I'm sorry, I don't understand MarionetteJS enough to give meaningful comments to the code. It all seems weird to me in general.
Flags: needinfo?(martijn.martijn)
You need to log in
before you can comment on or make changes to this bug.
Description
•