docbrown/public
Aayush Gupta 4280434aed
Make podcast-playback to be controllable via keyboard (#14139)
* Make podcast-playback to be controllable via keyboard

* Add improved state handling for the play/pause controller

* Fix business logic + Improve HTML semantics

* Remove manual tabIndex addition (not required now)

* Refactor redudant event-listener

* Keep aria-pressed label in sync in all cases

* Code refactor

* Add seed data to create a test podcast

* Add a static file and use that as example podcast episode (#1)

Rather than relying at test time on external media, and requiring the
podcast episode import flow to run during e2e testing, just insert a
canned episode that shows.

Confirmed in cypress this does show after visit('/pod') in the
togglePodcastPlayback.spec.js

* Add cypress test

* Move cypress tests

* Update cypress/integration/seededFlows/podcastFlows/togglePodcastPlayback.spec.js

Co-authored-by: Suzanne Aitchison <suzanne@forem.com>

* fix button name in test

Co-authored-by: Daniel Uber <djuber@gmail.com>
Co-authored-by: rhymes <github@rhymes.dev>
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
2021-08-20 12:45:53 +02:00
..
.well-known Upgrade airbrake to 9.1.0 (#2526) 2019-04-24 11:41:16 -04:00
media Make podcast-playback to be controllable via keyboard (#14139) 2021-08-20 12:45:53 +02:00
404.html Restore static error pages (#11882) 2020-12-14 12:06:41 -05:00
422.html Restore static error pages (#11882) 2020-12-14 12:06:41 -05:00
500.html Restore static error pages (#11882) 2020-12-14 12:06:41 -05:00
503.html Restore static error pages (#11882) 2020-12-14 12:06:41 -05:00
ahrefs_1f6d9c5eee7265ac24482a2d70a1bf091346f16d6f5e2e4c9c934af6ebf9d431 Modify sample_application.yml and write test (#456) 2018-06-19 19:06:22 -04:00
favicon.ico change Dev_favicon to Forem_favicon (#13872) 2021-06-03 18:07:58 -05:00
google7c0286fae6fe45be.html Initial commit 2018-02-28 16:11:08 -05:00
google78d33e39533e3e7f.html Initial commit 2018-02-28 16:11:08 -05:00
maintenance.html resolves mixed content warning on maintenance.html (#983) 2018-10-23 12:42:11 -04:00