Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
iOS
Description
This problem does not surface in the automated CI tests because Sauce Labs emulators do not have audio playback devices for iOS (the tests are all green, since audio playing tests are skipped on Sauce, see CB-11430)
Tested in the plugin repo, using cordova-paramedic:
cordova-paramedic --platform ios --plugin .
Log:
cordova-plugin-media-tests.tests >> Media media.spec.27 should call success or error when trying to stop a media that is in starting state Expected false to be true. stack@file:///Users/shazron/Library/Developer/CoreSimulator/Devices/02F85251-BFF2-40EB-8421-E45C5C4FDCB1/data/Containers/Bundle/Application/8774E66C-2E15-48C6-81A4-6C9218ECC2B3/HelloCordova.app/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:26 buildExpectationResult@file:///Users/shazron/Library/Developer/CoreSimulator/Devices/02F85251-BFF2-40EB-8421-E45C5C4FDCB1/data/Containers/Bundle/Application/8774E66C-2E15-48C6-81A4-6C9218ECC2B3/HelloCordova.app/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:19 expectationResultFactory@file:///Users/shazron/Library/Developer/CoreSimulator/Devices/02F85251-BFF2-40EB-8421-E45C5C4FDCB1/data/Containers/Bundle/Application/8774E66C-2E15-48C6-81A4-6C9218ECC2B3/HelloCordova.app/www/cdvtests/jasmine-2.4.1/jasmine.js:638:40 addExpectationResult@file:///Users/shazron/Library/Developer/CoreSimulator/Devices/02F85251-BFF2-40EB-8421-E45C5C4FDCB1/data/Containers/Bundle/Application/8774E66C-2E15-48C6-81A4-6C9218ECC2B3/HelloCordova.app/www/cdvtests/jasmine-2.4.1/jasmine.js:330:58 addExpectationResult@file:///Users/shazron/Library/Developer/CoreSimulator/Devices/02F85251-BFF2-40EB-8421-E45C5C4FDCB1/data/Containers/Bundle/Application/8774E66C-2E15-48C6-81A4-6C9218ECC2B3/HelloCordova.app/www/cdvtests/jasmine-2.4.1/jasmine.js:588:41 file:///Users/shazron/Library/Developer/CoreSimulator/Devices/02F85251-BFF2-40EB-8421-E45C5C4FDCB1/data/Containers/Bundle/Application/8774E66C-2E15-48C6-81A4-6C9218ECC2B3/HelloCordova.app/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:32 file:///Users/shazron/Library/Developer/CoreSimulator/Devices/02F85251-BFF2-40EB-8421-E45C5C4FDCB1/data/Containers/Bundle/Application/8774E66C-2E15-48C6-81A4-6C9218ECC2B3/HelloCordova.app/www/plugins/cordova-plugin-media-tests/tests.js:492:42 exec@file:///Users/shazron/Library/Developer/CoreSimulator/Devices/02F85251-BFF2-40EB-8421-E45C5C4FDCB1/data/Containers/Bundle/Application/8774E66C-2E15-48C6-81A4-6C9218ECC2B3/HelloCordova.app/www/cdvtests/jasmine-2.4.1/jasmine.js:2052:24 spy@file:///Users/shazron/Library/Developer/CoreSimulator/Devices/02F85251-BFF2-40EB-8421-E45C5C4FDCB1/data/Containers/Bundle/Application/8774E66C-2E15-48C6-81A4-6C9218ECC2B3/HelloCordova.app/www/cdvtests/jasmine-2.4.1/jasmine.js:194:49 onStatus@file:///Users/shazron/Library/Developer/CoreSimulator/Devices/02F85251-BFF2-40EB-8421-E45C5C4FDCB1/data/Containers/Bundle/Application/8774E66C-2E15-48C6-81A4-6C9218ECC2B3/HelloCordova.app/www/plugins/cordova-plugin-media/www/Media.js:219:40 file:///Users/shazron/Library/Developer/CoreSimulator/Devices/02F85251-BFF2-40EB-8421-E45C5C4FDCB1/data/Containers/Bundle/Application/8774E66C-2E15-48C6-81A4-6C9218ECC2B3/HelloCordova.app/www/cdvtests/index.html:1:121 nativeEvalAndFetch@file:///Users/shazron/Library/Developer/CoreSimulator/Devices/02F85251-BFF2-40EB-8421-E45C5C4FDCB1/data/Containers/Bundle/Application/8774E66C-2E15-48C6-81A4-6C9218ECC2B3/HelloCordova.app/www/cordova.js:1056:13 nativeEvalAndFetch@file:///Users/shazron/Library/Developer/CoreSimulator/Devices/02F85251-BFF2-40EB-8421-E45C5C4FDCB1/data/Containers/Bundle/Application/8774E66C-2E15-48C6-81A4-6C9218ECC2B3/HelloCordova.app/www/cordova.js:1080:50 global code@file:///Users/shazron/Library/Developer/CoreSimulator/Devices/02F85251-BFF2-40EB-8421-E45C5C4FDCB1/data/Containers/Bundle/Application/8774E66C-2E15-48C6-81A4-6C9218ECC2B3/HelloCordova.app/www/cdvtests/index.html:1:55