apache / apache/cordova-plugin-media

Tests fail on Safari

Open
#235 0 comments 0 reactions 0 assignees View on GitHub
platform: browser
Dominant language
JavaScript
Stars
391
Forks
762
PR merge metrics
No merged PRs in 30d

Description

2 tests unexpectedly fail when run on a Safari browser on Travis:
https://travis-ci.org/apache/cordova-plugin-media/jobs/547250841

```
actual playback
✗ media.spec.21 should be able to resume playback after pause
- media1 = new Media - Error creating Media object. Media file: https://cordova.apache.org/downloads/BlueZedEx.mp3
✗ media.spec.22 should be able to seek through file
- media1 = new Media - Error creating Media object. Media file: https://cordova.apache.org/downloads/BlueZedEx.mp3
```

Unfortunately this is blocking https://github.com/apache/cordova-plugin-media/pull/227

Contributor guide

Open the contributing guide

Research direction

Start with the linked Travis job and the failures in media.spec.21 and media.spec.22, focusing on Safari's inability to create the Media object for BlueZedEx.mp3. Reproduce the failures and investigate the cause; done means both tests pass on Safari so pull request #227 is no longer blocked.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
mobile-dev, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.