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)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(feature-b2g:2.6+)

RESOLVED FIXED
2.6 S1 - 11/20
feature-b2g 2.6+

People

(Reporter: whsu, Assigned: hub)

References

Details

(Whiteboard: [gip-to-gij])

Attachments

(1 file)

Component: Gaia::UI Tests → Gaia::Music
feature-b2g: --- → 2.6+
Blocks: 1212694
I'm sure we can combine this with bug 1219684 and bug 1219687. It is already mostly tested.
Also dealing with artist and songs. See duped bugs.
Assignee: nobody → hub
Status: NEW → ASSIGNED
Attachment #8684467 - Flags: review?(jdarcangelo)
Shall I remove the .py from the repository or will it be done separately?
Flags: needinfo?(whsu)
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
(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)
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)
Attachment #8684467 - Flags: review?(jdarcangelo) → review+
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.6 S1 - 11/20
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)
Filed bug 1228130 for that.
Flags: needinfo?(hub)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: