diff --git a/tests/minimum.spec.ts b/tests/posts-and-tags.spec.ts similarity index 67% rename from tests/minimum.spec.ts rename to tests/posts-and-tags.spec.ts index 5cd92062..3fd7b09c 100644 --- a/tests/minimum.spec.ts +++ b/tests/posts-and-tags.spec.ts @@ -1,14 +1,6 @@ import { test, expect, Page } from '@playwright/test'; import { visualDiff } from './visualDiffAlbum'; -test('About', async ({ page }) => { - await visualDiff(page, '/about/'); -}); - -test('Home', async ({ page }) => { - await visualDiff(page, '/'); -}); - test('Post with images', async ({ page }) => { await visualDiff(page, '/blog/space-games/'); }); @@ -25,6 +17,6 @@ test('Tag Performance', async ({ page }) => { await visualDiff(page, '/tags/performance/'); }); -test('Publications', async ({ page }) => { - await visualDiff(page, '/publications/'); +test('Blog', async ({ page }) => { + await visualDiff(page, '/blog/'); }); diff --git a/tests/posts-and-tags.spec.ts-snapshots/Blog-1-Mobile-Chrome-Dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Blog-1-Mobile-Chrome-Dark-win32.png new file mode 100644 index 00000000..cd074859 Binary files /dev/null and b/tests/posts-and-tags.spec.ts-snapshots/Blog-1-Mobile-Chrome-Dark-win32.png differ diff --git a/tests/posts-and-tags.spec.ts-snapshots/Blog-1-Mobile-Chrome-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Blog-1-Mobile-Chrome-win32.png new file mode 100644 index 00000000..edbc4185 Binary files /dev/null and b/tests/posts-and-tags.spec.ts-snapshots/Blog-1-Mobile-Chrome-win32.png differ diff --git a/tests/posts-and-tags.spec.ts-snapshots/Blog-1-Mobile-Safari-Dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Blog-1-Mobile-Safari-Dark-win32.png new file mode 100644 index 00000000..0ada45a8 Binary files /dev/null and b/tests/posts-and-tags.spec.ts-snapshots/Blog-1-Mobile-Safari-Dark-win32.png differ diff --git a/tests/posts-and-tags.spec.ts-snapshots/Blog-1-Mobile-Safari-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Blog-1-Mobile-Safari-win32.png new file mode 100644 index 00000000..7c8bae1c Binary files /dev/null and b/tests/posts-and-tags.spec.ts-snapshots/Blog-1-Mobile-Safari-win32.png differ diff --git a/tests/posts-and-tags.spec.ts-snapshots/Blog-1-chromium-dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Blog-1-chromium-dark-win32.png new file mode 100644 index 00000000..7823771a Binary files /dev/null and b/tests/posts-and-tags.spec.ts-snapshots/Blog-1-chromium-dark-win32.png differ diff --git a/tests/posts-and-tags.spec.ts-snapshots/Blog-1-chromium-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Blog-1-chromium-win32.png new file mode 100644 index 00000000..c7c7e7a4 Binary files /dev/null and b/tests/posts-and-tags.spec.ts-snapshots/Blog-1-chromium-win32.png differ diff --git a/tests/posts-and-tags.spec.ts-snapshots/Blog-1-firefox-dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Blog-1-firefox-dark-win32.png new file mode 100644 index 00000000..e0d2411e Binary files /dev/null and b/tests/posts-and-tags.spec.ts-snapshots/Blog-1-firefox-dark-win32.png differ diff --git a/tests/posts-and-tags.spec.ts-snapshots/Blog-1-firefox-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Blog-1-firefox-win32.png new file mode 100644 index 00000000..9f633fc6 Binary files /dev/null and b/tests/posts-and-tags.spec.ts-snapshots/Blog-1-firefox-win32.png differ diff --git a/tests/posts-and-tags.spec.ts-snapshots/Blog-1-webkit-dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Blog-1-webkit-dark-win32.png new file mode 100644 index 00000000..f7846eaf Binary files /dev/null and b/tests/posts-and-tags.spec.ts-snapshots/Blog-1-webkit-dark-win32.png differ diff --git a/tests/posts-and-tags.spec.ts-snapshots/Blog-1-webkit-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Blog-1-webkit-win32.png new file mode 100644 index 00000000..246f7375 Binary files /dev/null and b/tests/posts-and-tags.spec.ts-snapshots/Blog-1-webkit-win32.png differ diff --git a/tests/minimum.spec.ts-snapshots/Post-with-Code-1-Mobile-Chrome-Dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Post-with-Code-1-Mobile-Chrome-Dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Post-with-Code-1-Mobile-Chrome-Dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Post-with-Code-1-Mobile-Chrome-Dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Post-with-Code-1-Mobile-Chrome-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Post-with-Code-1-Mobile-Chrome-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Post-with-Code-1-Mobile-Chrome-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Post-with-Code-1-Mobile-Chrome-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Post-with-Code-1-Mobile-Safari-Dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Post-with-Code-1-Mobile-Safari-Dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Post-with-Code-1-Mobile-Safari-Dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Post-with-Code-1-Mobile-Safari-Dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Post-with-Code-1-Mobile-Safari-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Post-with-Code-1-Mobile-Safari-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Post-with-Code-1-Mobile-Safari-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Post-with-Code-1-Mobile-Safari-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Post-with-Code-1-chromium-dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Post-with-Code-1-chromium-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Post-with-Code-1-chromium-dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Post-with-Code-1-chromium-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Post-with-Code-1-chromium-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Post-with-Code-1-chromium-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Post-with-Code-1-chromium-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Post-with-Code-1-chromium-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Post-with-Code-1-firefox-dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Post-with-Code-1-firefox-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Post-with-Code-1-firefox-dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Post-with-Code-1-firefox-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Post-with-Code-1-firefox-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Post-with-Code-1-firefox-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Post-with-Code-1-firefox-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Post-with-Code-1-firefox-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Post-with-Code-1-webkit-dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Post-with-Code-1-webkit-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Post-with-Code-1-webkit-dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Post-with-Code-1-webkit-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Post-with-Code-1-webkit-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Post-with-Code-1-webkit-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Post-with-Code-1-webkit-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Post-with-Code-1-webkit-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Post-with-images-1-Mobile-Chrome-Dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Post-with-images-1-Mobile-Chrome-Dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Post-with-images-1-Mobile-Chrome-Dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Post-with-images-1-Mobile-Chrome-Dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Post-with-images-1-Mobile-Chrome-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Post-with-images-1-Mobile-Chrome-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Post-with-images-1-Mobile-Chrome-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Post-with-images-1-Mobile-Chrome-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Post-with-images-1-Mobile-Safari-Dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Post-with-images-1-Mobile-Safari-Dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Post-with-images-1-Mobile-Safari-Dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Post-with-images-1-Mobile-Safari-Dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Post-with-images-1-Mobile-Safari-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Post-with-images-1-Mobile-Safari-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Post-with-images-1-Mobile-Safari-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Post-with-images-1-Mobile-Safari-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Post-with-images-1-chromium-dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Post-with-images-1-chromium-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Post-with-images-1-chromium-dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Post-with-images-1-chromium-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Post-with-images-1-chromium-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Post-with-images-1-chromium-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Post-with-images-1-chromium-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Post-with-images-1-chromium-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Post-with-images-1-firefox-dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Post-with-images-1-firefox-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Post-with-images-1-firefox-dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Post-with-images-1-firefox-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Post-with-images-1-firefox-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Post-with-images-1-firefox-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Post-with-images-1-firefox-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Post-with-images-1-firefox-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Post-with-images-1-webkit-dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Post-with-images-1-webkit-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Post-with-images-1-webkit-dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Post-with-images-1-webkit-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Post-with-images-1-webkit-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Post-with-images-1-webkit-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Post-with-images-1-webkit-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Post-with-images-1-webkit-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tag-Performance-1-Mobile-Chrome-Dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-1-Mobile-Chrome-Dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tag-Performance-1-Mobile-Chrome-Dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-1-Mobile-Chrome-Dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tag-Performance-1-Mobile-Chrome-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-1-Mobile-Chrome-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tag-Performance-1-Mobile-Chrome-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-1-Mobile-Chrome-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tag-Performance-1-Mobile-Safari-Dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-1-Mobile-Safari-Dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tag-Performance-1-Mobile-Safari-Dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-1-Mobile-Safari-Dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tag-Performance-1-Mobile-Safari-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-1-Mobile-Safari-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tag-Performance-1-Mobile-Safari-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-1-Mobile-Safari-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tag-Performance-1-chromium-dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-1-chromium-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tag-Performance-1-chromium-dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-1-chromium-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tag-Performance-1-chromium-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-1-chromium-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tag-Performance-1-chromium-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-1-chromium-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tag-Performance-1-firefox-dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-1-firefox-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tag-Performance-1-firefox-dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-1-firefox-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tag-Performance-1-firefox-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-1-firefox-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tag-Performance-1-firefox-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-1-firefox-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tag-Performance-1-webkit-dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-1-webkit-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tag-Performance-1-webkit-dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-1-webkit-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tag-Performance-1-webkit-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-1-webkit-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tag-Performance-1-webkit-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-1-webkit-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tag-Performance-Mobile-Chrome-Dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-Mobile-Chrome-Dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tag-Performance-Mobile-Chrome-Dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-Mobile-Chrome-Dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tag-Performance-Mobile-Chrome-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-Mobile-Chrome-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tag-Performance-Mobile-Chrome-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-Mobile-Chrome-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tag-Performance-Mobile-Safari-Dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-Mobile-Safari-Dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tag-Performance-Mobile-Safari-Dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-Mobile-Safari-Dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tag-Performance-Mobile-Safari-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-Mobile-Safari-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tag-Performance-Mobile-Safari-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-Mobile-Safari-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tag-Performance-chromium-dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-chromium-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tag-Performance-chromium-dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-chromium-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tag-Performance-chromium-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-chromium-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tag-Performance-chromium-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-chromium-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tag-Performance-firefox-dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-firefox-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tag-Performance-firefox-dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-firefox-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tag-Performance-firefox-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-firefox-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tag-Performance-firefox-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-firefox-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tag-Performance-webkit-dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-webkit-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tag-Performance-webkit-dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-webkit-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tag-Performance-webkit-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-webkit-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tag-Performance-webkit-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tag-Performance-webkit-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tags-1-Mobile-Chrome-Dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tags-1-Mobile-Chrome-Dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tags-1-Mobile-Chrome-Dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tags-1-Mobile-Chrome-Dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tags-1-Mobile-Chrome-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tags-1-Mobile-Chrome-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tags-1-Mobile-Chrome-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tags-1-Mobile-Chrome-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tags-1-Mobile-Safari-Dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tags-1-Mobile-Safari-Dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tags-1-Mobile-Safari-Dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tags-1-Mobile-Safari-Dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tags-1-Mobile-Safari-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tags-1-Mobile-Safari-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tags-1-Mobile-Safari-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tags-1-Mobile-Safari-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tags-1-chromium-dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tags-1-chromium-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tags-1-chromium-dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tags-1-chromium-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tags-1-chromium-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tags-1-chromium-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tags-1-chromium-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tags-1-chromium-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tags-1-firefox-dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tags-1-firefox-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tags-1-firefox-dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tags-1-firefox-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tags-1-firefox-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tags-1-firefox-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tags-1-firefox-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tags-1-firefox-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tags-1-webkit-dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tags-1-webkit-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tags-1-webkit-dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tags-1-webkit-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tags-1-webkit-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tags-1-webkit-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tags-1-webkit-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tags-1-webkit-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tags-Mobile-Chrome-Dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tags-Mobile-Chrome-Dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tags-Mobile-Chrome-Dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tags-Mobile-Chrome-Dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tags-Mobile-Chrome-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tags-Mobile-Chrome-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tags-Mobile-Chrome-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tags-Mobile-Chrome-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tags-Mobile-Safari-Dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tags-Mobile-Safari-Dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tags-Mobile-Safari-Dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tags-Mobile-Safari-Dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tags-Mobile-Safari-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tags-Mobile-Safari-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tags-Mobile-Safari-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tags-Mobile-Safari-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tags-chromium-dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tags-chromium-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tags-chromium-dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tags-chromium-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tags-chromium-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tags-chromium-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tags-chromium-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tags-chromium-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tags-firefox-dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tags-firefox-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tags-firefox-dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tags-firefox-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tags-firefox-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tags-firefox-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tags-firefox-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tags-firefox-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tags-webkit-dark-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tags-webkit-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tags-webkit-dark-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tags-webkit-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Tags-webkit-win32.png b/tests/posts-and-tags.spec.ts-snapshots/Tags-webkit-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Tags-webkit-win32.png rename to tests/posts-and-tags.spec.ts-snapshots/Tags-webkit-win32.png diff --git a/tests/specialpages.spec.ts b/tests/specialpages.spec.ts new file mode 100644 index 00000000..4c6597bc --- /dev/null +++ b/tests/specialpages.spec.ts @@ -0,0 +1,14 @@ +import { test, expect, Page } from '@playwright/test'; +import { visualDiff } from './visualDiffAlbum'; + +test('About', async ({ page }) => { + await visualDiff(page, '/about/'); +}); + +test('Home', async ({ page }) => { + await visualDiff(page, '/'); +}); + +test('Publications', async ({ page }) => { + await visualDiff(page, '/publications/'); +}); diff --git a/tests/minimum.spec.ts-snapshots/About-1-Mobile-Chrome-Dark-win32.png b/tests/specialpages.spec.ts-snapshots/About-1-Mobile-Chrome-Dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/About-1-Mobile-Chrome-Dark-win32.png rename to tests/specialpages.spec.ts-snapshots/About-1-Mobile-Chrome-Dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/About-1-Mobile-Chrome-win32.png b/tests/specialpages.spec.ts-snapshots/About-1-Mobile-Chrome-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/About-1-Mobile-Chrome-win32.png rename to tests/specialpages.spec.ts-snapshots/About-1-Mobile-Chrome-win32.png diff --git a/tests/minimum.spec.ts-snapshots/About-1-Mobile-Safari-Dark-win32.png b/tests/specialpages.spec.ts-snapshots/About-1-Mobile-Safari-Dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/About-1-Mobile-Safari-Dark-win32.png rename to tests/specialpages.spec.ts-snapshots/About-1-Mobile-Safari-Dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/About-1-Mobile-Safari-win32.png b/tests/specialpages.spec.ts-snapshots/About-1-Mobile-Safari-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/About-1-Mobile-Safari-win32.png rename to tests/specialpages.spec.ts-snapshots/About-1-Mobile-Safari-win32.png diff --git a/tests/minimum.spec.ts-snapshots/About-1-chromium-dark-win32.png b/tests/specialpages.spec.ts-snapshots/About-1-chromium-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/About-1-chromium-dark-win32.png rename to tests/specialpages.spec.ts-snapshots/About-1-chromium-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/About-1-chromium-win32.png b/tests/specialpages.spec.ts-snapshots/About-1-chromium-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/About-1-chromium-win32.png rename to tests/specialpages.spec.ts-snapshots/About-1-chromium-win32.png diff --git a/tests/minimum.spec.ts-snapshots/About-1-firefox-dark-win32.png b/tests/specialpages.spec.ts-snapshots/About-1-firefox-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/About-1-firefox-dark-win32.png rename to tests/specialpages.spec.ts-snapshots/About-1-firefox-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/About-1-firefox-win32.png b/tests/specialpages.spec.ts-snapshots/About-1-firefox-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/About-1-firefox-win32.png rename to tests/specialpages.spec.ts-snapshots/About-1-firefox-win32.png diff --git a/tests/minimum.spec.ts-snapshots/About-1-webkit-dark-win32.png b/tests/specialpages.spec.ts-snapshots/About-1-webkit-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/About-1-webkit-dark-win32.png rename to tests/specialpages.spec.ts-snapshots/About-1-webkit-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/About-1-webkit-win32.png b/tests/specialpages.spec.ts-snapshots/About-1-webkit-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/About-1-webkit-win32.png rename to tests/specialpages.spec.ts-snapshots/About-1-webkit-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Home-1-Mobile-Chrome-Dark-win32.png b/tests/specialpages.spec.ts-snapshots/Home-1-Mobile-Chrome-Dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Home-1-Mobile-Chrome-Dark-win32.png rename to tests/specialpages.spec.ts-snapshots/Home-1-Mobile-Chrome-Dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Home-1-Mobile-Chrome-win32.png b/tests/specialpages.spec.ts-snapshots/Home-1-Mobile-Chrome-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Home-1-Mobile-Chrome-win32.png rename to tests/specialpages.spec.ts-snapshots/Home-1-Mobile-Chrome-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Home-1-Mobile-Safari-Dark-win32.png b/tests/specialpages.spec.ts-snapshots/Home-1-Mobile-Safari-Dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Home-1-Mobile-Safari-Dark-win32.png rename to tests/specialpages.spec.ts-snapshots/Home-1-Mobile-Safari-Dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Home-1-Mobile-Safari-win32.png b/tests/specialpages.spec.ts-snapshots/Home-1-Mobile-Safari-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Home-1-Mobile-Safari-win32.png rename to tests/specialpages.spec.ts-snapshots/Home-1-Mobile-Safari-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Home-1-chromium-dark-win32.png b/tests/specialpages.spec.ts-snapshots/Home-1-chromium-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Home-1-chromium-dark-win32.png rename to tests/specialpages.spec.ts-snapshots/Home-1-chromium-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Home-1-chromium-win32.png b/tests/specialpages.spec.ts-snapshots/Home-1-chromium-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Home-1-chromium-win32.png rename to tests/specialpages.spec.ts-snapshots/Home-1-chromium-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Home-1-firefox-dark-win32.png b/tests/specialpages.spec.ts-snapshots/Home-1-firefox-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Home-1-firefox-dark-win32.png rename to tests/specialpages.spec.ts-snapshots/Home-1-firefox-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Home-1-firefox-win32.png b/tests/specialpages.spec.ts-snapshots/Home-1-firefox-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Home-1-firefox-win32.png rename to tests/specialpages.spec.ts-snapshots/Home-1-firefox-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Home-1-webkit-dark-win32.png b/tests/specialpages.spec.ts-snapshots/Home-1-webkit-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Home-1-webkit-dark-win32.png rename to tests/specialpages.spec.ts-snapshots/Home-1-webkit-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Home-1-webkit-win32.png b/tests/specialpages.spec.ts-snapshots/Home-1-webkit-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Home-1-webkit-win32.png rename to tests/specialpages.spec.ts-snapshots/Home-1-webkit-win32.png diff --git a/tests/specialpages.spec.ts-snapshots/Post-with-Code-1-chromium-win32.png b/tests/specialpages.spec.ts-snapshots/Post-with-Code-1-chromium-win32.png new file mode 100644 index 00000000..8f127bb8 Binary files /dev/null and b/tests/specialpages.spec.ts-snapshots/Post-with-Code-1-chromium-win32.png differ diff --git a/tests/specialpages.spec.ts-snapshots/Post-with-images-1-chromium-dark-win32.png b/tests/specialpages.spec.ts-snapshots/Post-with-images-1-chromium-dark-win32.png new file mode 100644 index 00000000..67cf42af Binary files /dev/null and b/tests/specialpages.spec.ts-snapshots/Post-with-images-1-chromium-dark-win32.png differ diff --git a/tests/specialpages.spec.ts-snapshots/Post-with-images-1-chromium-win32.png b/tests/specialpages.spec.ts-snapshots/Post-with-images-1-chromium-win32.png new file mode 100644 index 00000000..f941bc4a Binary files /dev/null and b/tests/specialpages.spec.ts-snapshots/Post-with-images-1-chromium-win32.png differ diff --git a/tests/minimum.spec.ts-snapshots/Publications-1-Mobile-Chrome-Dark-win32.png b/tests/specialpages.spec.ts-snapshots/Publications-1-Mobile-Chrome-Dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Publications-1-Mobile-Chrome-Dark-win32.png rename to tests/specialpages.spec.ts-snapshots/Publications-1-Mobile-Chrome-Dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Publications-1-Mobile-Chrome-win32.png b/tests/specialpages.spec.ts-snapshots/Publications-1-Mobile-Chrome-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Publications-1-Mobile-Chrome-win32.png rename to tests/specialpages.spec.ts-snapshots/Publications-1-Mobile-Chrome-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Publications-1-Mobile-Safari-Dark-win32.png b/tests/specialpages.spec.ts-snapshots/Publications-1-Mobile-Safari-Dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Publications-1-Mobile-Safari-Dark-win32.png rename to tests/specialpages.spec.ts-snapshots/Publications-1-Mobile-Safari-Dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Publications-1-Mobile-Safari-win32.png b/tests/specialpages.spec.ts-snapshots/Publications-1-Mobile-Safari-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Publications-1-Mobile-Safari-win32.png rename to tests/specialpages.spec.ts-snapshots/Publications-1-Mobile-Safari-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Publications-1-chromium-dark-win32.png b/tests/specialpages.spec.ts-snapshots/Publications-1-chromium-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Publications-1-chromium-dark-win32.png rename to tests/specialpages.spec.ts-snapshots/Publications-1-chromium-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Publications-1-chromium-win32.png b/tests/specialpages.spec.ts-snapshots/Publications-1-chromium-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Publications-1-chromium-win32.png rename to tests/specialpages.spec.ts-snapshots/Publications-1-chromium-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Publications-1-firefox-dark-win32.png b/tests/specialpages.spec.ts-snapshots/Publications-1-firefox-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Publications-1-firefox-dark-win32.png rename to tests/specialpages.spec.ts-snapshots/Publications-1-firefox-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Publications-1-firefox-win32.png b/tests/specialpages.spec.ts-snapshots/Publications-1-firefox-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Publications-1-firefox-win32.png rename to tests/specialpages.spec.ts-snapshots/Publications-1-firefox-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Publications-1-webkit-dark-win32.png b/tests/specialpages.spec.ts-snapshots/Publications-1-webkit-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Publications-1-webkit-dark-win32.png rename to tests/specialpages.spec.ts-snapshots/Publications-1-webkit-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Publications-1-webkit-win32.png b/tests/specialpages.spec.ts-snapshots/Publications-1-webkit-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Publications-1-webkit-win32.png rename to tests/specialpages.spec.ts-snapshots/Publications-1-webkit-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Publications-Mobile-Chrome-Dark-win32.png b/tests/specialpages.spec.ts-snapshots/Publications-Mobile-Chrome-Dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Publications-Mobile-Chrome-Dark-win32.png rename to tests/specialpages.spec.ts-snapshots/Publications-Mobile-Chrome-Dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Publications-Mobile-Chrome-win32.png b/tests/specialpages.spec.ts-snapshots/Publications-Mobile-Chrome-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Publications-Mobile-Chrome-win32.png rename to tests/specialpages.spec.ts-snapshots/Publications-Mobile-Chrome-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Publications-Mobile-Safari-Dark-win32.png b/tests/specialpages.spec.ts-snapshots/Publications-Mobile-Safari-Dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Publications-Mobile-Safari-Dark-win32.png rename to tests/specialpages.spec.ts-snapshots/Publications-Mobile-Safari-Dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Publications-Mobile-Safari-win32.png b/tests/specialpages.spec.ts-snapshots/Publications-Mobile-Safari-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Publications-Mobile-Safari-win32.png rename to tests/specialpages.spec.ts-snapshots/Publications-Mobile-Safari-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Publications-chromium-dark-win32.png b/tests/specialpages.spec.ts-snapshots/Publications-chromium-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Publications-chromium-dark-win32.png rename to tests/specialpages.spec.ts-snapshots/Publications-chromium-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Publications-chromium-win32.png b/tests/specialpages.spec.ts-snapshots/Publications-chromium-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Publications-chromium-win32.png rename to tests/specialpages.spec.ts-snapshots/Publications-chromium-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Publications-firefox-dark-win32.png b/tests/specialpages.spec.ts-snapshots/Publications-firefox-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Publications-firefox-dark-win32.png rename to tests/specialpages.spec.ts-snapshots/Publications-firefox-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Publications-firefox-win32.png b/tests/specialpages.spec.ts-snapshots/Publications-firefox-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Publications-firefox-win32.png rename to tests/specialpages.spec.ts-snapshots/Publications-firefox-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Publications-webkit-dark-win32.png b/tests/specialpages.spec.ts-snapshots/Publications-webkit-dark-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Publications-webkit-dark-win32.png rename to tests/specialpages.spec.ts-snapshots/Publications-webkit-dark-win32.png diff --git a/tests/minimum.spec.ts-snapshots/Publications-webkit-win32.png b/tests/specialpages.spec.ts-snapshots/Publications-webkit-win32.png similarity index 100% rename from tests/minimum.spec.ts-snapshots/Publications-webkit-win32.png rename to tests/specialpages.spec.ts-snapshots/Publications-webkit-win32.png diff --git a/tests/visualDiffAlbum.ts b/tests/visualDiffAlbum.ts index 04c7b497..aa559359 100644 --- a/tests/visualDiffAlbum.ts +++ b/tests/visualDiffAlbum.ts @@ -4,7 +4,7 @@ import { expect, Page, TestInfo } from '@playwright/test'; export async function visualDiffAlbum(page: Page, url: string, testInfo: TestInfo) { await page.goto(url); - + await page.evaluate(() => document.fonts.ready); // Trigger loading of all images for (const img of await page.locator('//img').all()) { await img.scrollIntoViewIfNeeded(); @@ -21,7 +21,7 @@ export async function visualDiffAlbum(page: Page, url: string, testInfo: TestInf export async function visualDiff(page: Page, url: string) { await page.goto(url); - + await page.evaluate(() => document.fonts.ready); // Trigger loading of all images for (const img of await page.locator('//img').all()) { await img.scrollIntoViewIfNeeded();