Closed
Bug 1219683
Opened 9 years ago
Closed 9 years ago
Implement *test_music_{album,artist,song}_mp3.py* as an integration test in JavaScript
Categories
(Firefox OS Graveyard :: Gaia::Music, defect)
Tracking
(feature-b2g:2.6+)
People
(Reporter: whsu, Assigned: hub)
References
Details
(Whiteboard: [gip-to-gij])
Attachments
(1 file)
Reporter | ||
Updated•9 years ago
|
Component: Gaia::UI Tests → Gaia::Music
Updated•9 years ago
|
feature-b2g: --- → 2.6+
Assignee | ||
Comment 1•9 years ago
|
||
I'm sure we can combine this with bug 1219684 and bug 1219687. It is already mostly tested.
Assignee | ||
Comment 4•9 years ago
|
||
Also dealing with artist and songs. See duped bugs.
Assignee: nobody → hub
Status: NEW → ASSIGNED
Comment 5•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Attachment #8684467 -
Flags: review?(jdarcangelo)
Assignee | ||
Comment 6•9 years ago
|
||
Shall I remove the .py from the repository or will it be done separately?
Flags: needinfo?(whsu)
Assignee | ||
Updated•9 years ago
|
Summary: Implement *test_music_album_mp3.py* as an integration test in JavaScript → Implement *test_music_{album,artist,song}_mp3.py* as an integration test in JavaScript
Reporter | ||
Comment 7•9 years ago
|
||
(In reply to Hubert Figuiere [:hub] from comment #6)
> Shall I remove the .py from the repository or will it be done separately?
Hi, Johan,
Can you help answer this question?
Thank you.
Flags: needinfo?(whsu) → needinfo?(jlorenzo)
Comment 8•9 years ago
|
||
This will be done separately. There are some tests we would like to keep, because they don't behave the same way on device, and for now, we have no tests periodically running on device with MarionetteJS.
There are some page classes that can't be removed, because they are use by other projects like AreWeFastYet.
Hence, let's track the removal in bug 1222975.
Flags: needinfo?(jlorenzo)
Updated•9 years ago
|
Attachment #8684467 -
Flags: review?(jdarcangelo) → review+
Assignee | ||
Comment 9•9 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.6 S1 - 11/20
Comment 10•9 years ago
|
||
Thank you for adding these tests.
The Python one also verifies that the music is playing by checking the evolution of the timestamp[1]. I agree it'd be better to have 2 integration tests. The playing scenario looks cover by [2], which is currently skipped because of bug 1032037. Bug 1032037 looks out of date. Hub, do you think we can reactivate that test?
[1] https://github.com/mozilla-b2g/gaia/blob/master/tests/python/gaia-ui-tests/gaiatest/apps/music/regions/player_view.py#L97 . Please note this function is not perfect, as this causes bug 1201880. One safer way to make sure the timestamp evolves is to wait for the value to change.
[2] https://github.com/mozilla-b2g/gaia/blob/2f630f649bb2cb09be1f7527b207161c8972bad0/apps/music/test/marionette/Player_test.js#L94
Flags: needinfo?(hub)
You need to log in
before you can comment on or make changes to this bug.
Description
•