diff --git a/routes/_components/NonAutoplayGifv.html b/routes/_components/NonAutoplayGifv.html index 666b7352..dd48e579 100644 --- a/routes/_components/NonAutoplayGifv.html +++ b/routes/_components/NonAutoplayGifv.html @@ -26,15 +26,21 @@ on:imgLoadError="set({imageError: true})" /> {{/if}} + \ No newline at end of file diff --git a/routes/_components/PlayVideoIcon.html b/routes/_components/PlayVideoIcon.html new file mode 100644 index 00000000..8b73d5bc --- /dev/null +++ b/routes/_components/PlayVideoIcon.html @@ -0,0 +1,26 @@ +
+ + + +
+ \ No newline at end of file diff --git a/routes/_components/status/Media.html b/routes/_components/status/Media.html index 1c5036f6..77fe9a77 100644 --- a/routes/_components/status/Media.html +++ b/routes/_components/status/Media.html @@ -5,11 +5,7 @@ on:click="onClickPlayVideoButton()" style="width: {{inlineWidth}}px; height: {{inlineHeight}}px;" > -
- - - -
+ {{media.description || ''}} \ No newline at end of file diff --git a/tests/spec/104-streaming.js b/tests/spec/104-streaming.js index d9bba27d..e3b22cd0 100644 --- a/tests/spec/104-streaming.js +++ b/tests/spec/104-streaming.js @@ -1,7 +1,6 @@ import { foobarRole } from '../roles' import { - getFirstVisibleStatus, getNthReplyButton, getNthStatus, getUrl, homeNavButton, notificationsNavButton, - postStatusButton, scrollContainerToTop, showMoreButton, sleep + getNthStatus, scrollContainerToTop, showMoreButton, sleep } from '../utils' import { postAsAdmin } from '../serverActions' @@ -20,6 +19,7 @@ test('new incoming toots show a button if scrolled down', async t => { .hover(getNthStatus(0)) .hover(getNthStatus(2)) .hover(getNthStatus(4)) + await sleep(1000) await postAsAdmin('hello my ragtime gal') await postAsAdmin('send me a kiss by wire') await sleep(4000)