How to test a sound is playing?
问题 I've been trying to cover <audio> tag by automated tests, to start with just to confirmed it is playing. I'm using the usual angular test suite, karma and protractor. "devDependencies": { "karma": "~0.10", "protractor": "~0.20.1", "http-server": "^0.6.1", "bower": "^1.3.1", "shelljs": "^0.2.6", "karma-junit-reporter": "^0.2.2", "grunt": "~0.4.1", "grunt-contrib-uglify": "~0.2.0", "grunt-contrib-concat": "~0.3.0", "grunt-contrib-watch": "~0.4.3" } On the Karma side the issue is I couldn't find