From d31c889df346b7579ce1afe0746fb4aa0ed8227d Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 14 Feb 2024 13:07:09 -0400 Subject: content, external-links, test: provide album track count as context --- test/snapshot/linkExternal.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'test') diff --git a/test/snapshot/linkExternal.js b/test/snapshot/linkExternal.js index 92cb8947..f4138630 100644 --- a/test/snapshot/linkExternal.js +++ b/test/snapshot/linkExternal.js @@ -57,6 +57,24 @@ testContentFunctions(t, 'linkExternal (snapshot)', async (t, evaluate) => { 'https://youtube.com/Playlist?list=kweh', ]); + quickSnapshotAllStyles('albumNoTracks', [ + 'https://youtu.be/abc', + 'https://youtube.com/watch?v=abc', + 'https://youtube.com/Playlist?list=kweh', + ]); + + quickSnapshotAllStyles('albumOneTrack', [ + 'https://youtu.be/abc', + 'https://youtube.com/watch?v=abc', + 'https://youtube.com/Playlist?list=kweh', + ]); + + quickSnapshotAllStyles('albumMultipleTracks', [ + 'https://youtu.be/abc', + 'https://youtube.com/watch?v=abc', + 'https://youtube.com/Playlist?list=kweh', + ]); + quickSnapshotAllStyles('flash', [ 'https://www.bgreco.net/hsflash/002238.html', 'https://homestuck.com/story/1234', -- cgit 1.3.0-6-gf8a5