diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-10-29 09:26:59 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-10-29 09:26:59 -0300 |
commit | bfa1953e79a562ee675940b7acc52b5b29d22d8f (patch) | |
tree | 5c1cd2f4050c801a60f4b65b367a714ed0979759 /tap-snapshots/test/snapshot/image.js.test.cjs | |
parent | c4ef4ced62d659d217873c6c48dd8038dbf765af (diff) | |
parent | 940b2cbf8b68eb0b446cca0feeb507840c486394 (diff) |
Merge branch 'preview' into listing-tweaks
Diffstat (limited to 'tap-snapshots/test/snapshot/image.js.test.cjs')
-rw-r--r-- | tap-snapshots/test/snapshot/image.js.test.cjs | 40 |
1 files changed, 28 insertions, 12 deletions
diff --git a/tap-snapshots/test/snapshot/image.js.test.cjs b/tap-snapshots/test/snapshot/image.js.test.cjs index c2f6aea6..f88141d5 100644 --- a/tap-snapshots/test/snapshot/image.js.test.cjs +++ b/tap-snapshots/test/snapshot/image.js.test.cjs @@ -5,7 +5,7 @@ * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' -exports[`test/snapshot/image.js TAP image (snapshot) > content warnings via tags 1`] = ` +exports[`test/snapshot/image.js > TAP > image (snapshot) > content warnings via tags 1`] = ` <div class="reveal"> <div class="image-container"><div class="image-inner-area"><img src="media/album-art/beyond-canon/cover.png"></div></div> <span class="reveal-text-container"> @@ -18,43 +18,59 @@ exports[`test/snapshot/image.js TAP image (snapshot) > content warnings via tags </div> ` -exports[`test/snapshot/image.js TAP image (snapshot) > id with link 1`] = ` +exports[`test/snapshot/image.js > TAP > image (snapshot) > id with link 1`] = ` <a id="banana" class="box image-link" href="foobar"><div class="image-container"><div class="image-inner-area"><img src="foobar"></div></div></a> ` -exports[`test/snapshot/image.js TAP image (snapshot) > id with square 1`] = ` +exports[`test/snapshot/image.js > TAP > image (snapshot) > id with square 1`] = ` <div class="square"><div class="square-content"><div class="image-container"><div class="image-inner-area"><img id="banana" src="foobar"></div></div></div></div> ` -exports[`test/snapshot/image.js TAP image (snapshot) > id without link 1`] = ` +exports[`test/snapshot/image.js > TAP > image (snapshot) > id without link 1`] = ` <div class="image-container"><div class="image-inner-area"><img id="banana" src="foobar"></div></div> ` -exports[`test/snapshot/image.js TAP image (snapshot) > lazy with square 1`] = ` +exports[`test/snapshot/image.js > TAP > image (snapshot) > lazy with square 1`] = ` <noscript><div class="square"><div class="square-content"><div class="image-container"><div class="image-inner-area"><img src="foobar"></div></div></div></div></noscript> <div class="square js-hide"><div class="square-content"><div class="image-container"><div class="image-inner-area"><img class="lazy" data-original="foobar"></div></div></div></div> ` -exports[`test/snapshot/image.js TAP image (snapshot) > link with file size 1`] = ` -<a class="box image-link" href="media/album-art/pingas/cover.png"><div class="image-container"><div class="image-inner-area"><img data-original-size="1000000" src="media/album-art/pingas/cover.png"></div></div></a> +exports[`test/snapshot/image.js > TAP > image (snapshot) > link with file size 1`] = ` +<a class="box image-link" href="media/album-art/pingas/cover.png"><div class="image-container"><div class="image-inner-area"><img src="media/album-art/pingas/cover.png"></div></div></a> ` -exports[`test/snapshot/image.js TAP image (snapshot) > source missing 1`] = ` +exports[`test/snapshot/image.js > TAP > image (snapshot) > missing image path 1`] = ` +<div class="image-container"><div class="image-inner-area"><div class="image-text-area">(This image file is missing)</div></div></div> +` + +exports[`test/snapshot/image.js > TAP > image (snapshot) > missing image path w/ missingSourceContent 1`] = ` +<div class="image-container"><div class="image-inner-area"><div class="image-text-area">Cover's missing, whoops</div></div></div> +` + +exports[`test/snapshot/image.js > TAP > image (snapshot) > source missing 1`] = ` <div class="image-container placeholder-image"><div class="image-inner-area"><div class="image-text-area">Example of missing source message.</div></div></div> ` -exports[`test/snapshot/image.js TAP image (snapshot) > source via path 1`] = ` +exports[`test/snapshot/image.js > TAP > image (snapshot) > source via path 1`] = ` <div class="image-container"><div class="image-inner-area"><img src="media/album-art/beyond-canon/cover.png"></div></div> ` -exports[`test/snapshot/image.js TAP image (snapshot) > source via src 1`] = ` +exports[`test/snapshot/image.js > TAP > image (snapshot) > source via src 1`] = ` <div class="image-container"><div class="image-inner-area"><img src="https://example.com/bananas.gif"></div></div> ` -exports[`test/snapshot/image.js TAP image (snapshot) > square 1`] = ` +exports[`test/snapshot/image.js > TAP > image (snapshot) > square 1`] = ` <div class="square"><div class="square-content"><div class="image-container"><div class="image-inner-area"><img src="foobar"></div></div></div></div> ` -exports[`test/snapshot/image.js TAP image (snapshot) > width & height 1`] = ` +exports[`test/snapshot/image.js > TAP > image (snapshot) > thumb requested but source is gif 1`] = ` +<div class="image-container"><div class="image-inner-area"><img src="media/flash-art/5426.gif"></div></div> +` + +exports[`test/snapshot/image.js > TAP > image (snapshot) > thumbnail details 1`] = ` +<div class="image-container"><div class="image-inner-area"><img data-original-length="1200" data-thumbs="voluminous:1200 middling:900 petite:20" src="media/album-art/beyond-canon/cover.voluminous.jpg"></div></div> +` + +exports[`test/snapshot/image.js > TAP > image (snapshot) > width & height 1`] = ` <div class="image-container"><div class="image-inner-area"><img width="600" height="400" src="foobar"></div></div> ` |