diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 56c38b2f..05e2ca62 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -18,7 +18,7 @@ jobs: - name: Install Playwright Browsers run: npx playwright install --with-deps chromium - name: Run Playwright tests - run: npx playwright test minimum.spec.ts + run: npx playwright test minimum.spec.ts --project 'chromium' --project 'chromium dark' - uses: actions/upload-artifact@v4 if: always() with: diff --git a/tests/minimum.spec.ts b/tests/minimum.spec.ts index 65939318..78c0ccab 100644 --- a/tests/minimum.spec.ts +++ b/tests/minimum.spec.ts @@ -8,6 +8,10 @@ test('Visual Diff Text and Image', async ({ page }) => { await visualDiff(page, '/blog/space-games/'); }); +test('Visual Diff Small Album', async ({ page }) => { + await visualDiff(page, '/albums/fall-trail-walk/'); +}); + async function visualDiff(page: Page, url: string) { await page.goto(url); @@ -18,5 +22,5 @@ async function visualDiff(page: Page, url: string) { } // Set up listeners concurrently - await expect(page).toHaveScreenshot({ fullPage: true, timeout: 50000}); + await expect(page).toHaveScreenshot({ fullPage: true, timeout: 50000, stylePath: "tests/screenshot.css"}); } diff --git a/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-Google-Chrome-win32.png b/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-Google-Chrome-win32.png deleted file mode 100644 index a55422c4..00000000 Binary files a/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-Google-Chrome-win32.png and /dev/null differ diff --git a/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-Microsoft-Edge-win32.png b/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-Microsoft-Edge-win32.png deleted file mode 100644 index 7b37dcbb..00000000 Binary files a/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-Microsoft-Edge-win32.png and /dev/null differ diff --git a/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-Mobile-Chrome-Dark-win32.png b/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-Mobile-Chrome-Dark-win32.png deleted file mode 100644 index 1ee542a5..00000000 Binary files a/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-Mobile-Chrome-Dark-win32.png and /dev/null differ diff --git a/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-Mobile-Chrome-win32.png b/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-Mobile-Chrome-win32.png deleted file mode 100644 index ecd646db..00000000 Binary files a/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-Mobile-Chrome-win32.png and /dev/null differ diff --git a/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-Mobile-Safari-win32.png b/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-Mobile-Safari-win32.png deleted file mode 100644 index 284c28a8..00000000 Binary files a/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-Mobile-Safari-win32.png and /dev/null differ diff --git a/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-chromium-dark-win32.png b/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-chromium-dark-win32.png index b6dba0ae..9c33e51f 100644 Binary files a/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-chromium-dark-win32.png and b/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-chromium-dark-win32.png differ diff --git a/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-chromium-win32.png b/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-chromium-win32.png index 7b37dcbb..cf217c50 100644 Binary files a/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-chromium-win32.png and b/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-chromium-win32.png differ diff --git a/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-firefox-win32.png b/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-firefox-win32.png deleted file mode 100644 index c16753af..00000000 Binary files a/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-firefox-win32.png and /dev/null differ diff --git a/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-webkit-dark-win32.png b/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-webkit-dark-win32.png deleted file mode 100644 index a855c30a..00000000 Binary files a/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-webkit-dark-win32.png and /dev/null differ diff --git a/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-webkit-win32.png b/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-webkit-win32.png deleted file mode 100644 index d2f93acb..00000000 Binary files a/tests/minimum.spec.ts-snapshots/Visual-Diff-About-1-webkit-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-chromium-dark-win32.png b/tests/minimum.spec.ts-snapshots/Visual-Diff-Small-Album-1-chromium-dark-win32.png similarity index 97% rename from tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-chromium-dark-win32.png rename to tests/minimum.spec.ts-snapshots/Visual-Diff-Small-Album-1-chromium-dark-win32.png index 2edce281..ecfe01de 100644 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-chromium-dark-win32.png and b/tests/minimum.spec.ts-snapshots/Visual-Diff-Small-Album-1-chromium-dark-win32.png differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-chromium-win32.png b/tests/minimum.spec.ts-snapshots/Visual-Diff-Small-Album-1-chromium-win32.png similarity index 97% rename from tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-chromium-win32.png rename to tests/minimum.spec.ts-snapshots/Visual-Diff-Small-Album-1-chromium-win32.png index 3944b7d3..5e22f0d4 100644 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-chromium-win32.png and b/tests/minimum.spec.ts-snapshots/Visual-Diff-Small-Album-1-chromium-win32.png differ diff --git a/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Google-Chrome-win32.png b/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Google-Chrome-win32.png deleted file mode 100644 index e19d5920..00000000 Binary files a/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Google-Chrome-win32.png and /dev/null differ diff --git a/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Microsoft-Edge-win32.png b/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Microsoft-Edge-win32.png deleted file mode 100644 index 2652115f..00000000 Binary files a/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Microsoft-Edge-win32.png and /dev/null differ diff --git a/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Mobile-Chrome-Dark-win32.png b/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Mobile-Chrome-Dark-win32.png deleted file mode 100644 index 97e8f89f..00000000 Binary files a/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Mobile-Chrome-Dark-win32.png and /dev/null differ diff --git a/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Mobile-Chrome-win32.png b/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Mobile-Chrome-win32.png deleted file mode 100644 index 5e668a8e..00000000 Binary files a/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Mobile-Chrome-win32.png and /dev/null differ diff --git a/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Mobile-Safari-win32.png b/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Mobile-Safari-win32.png deleted file mode 100644 index bdb86bf0..00000000 Binary files a/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Mobile-Safari-win32.png and /dev/null differ diff --git a/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-chromium-dark-win32.png b/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-chromium-dark-win32.png index aadff7cd..d02af8b6 100644 Binary files a/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-chromium-dark-win32.png and b/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-chromium-dark-win32.png differ diff --git a/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-chromium-win32.png b/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-chromium-win32.png index 2652115f..ccc6c404 100644 Binary files a/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-chromium-win32.png and b/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-chromium-win32.png differ diff --git a/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-firefox-win32.png b/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-firefox-win32.png deleted file mode 100644 index a2d01ae4..00000000 Binary files a/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-firefox-win32.png and /dev/null differ diff --git a/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-webkit-dark-win32.png b/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-webkit-dark-win32.png deleted file mode 100644 index ba6c9db7..00000000 Binary files a/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-webkit-dark-win32.png and /dev/null differ diff --git a/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-webkit-win32.png b/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-webkit-win32.png deleted file mode 100644 index e6f35e5d..00000000 Binary files a/tests/minimum.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-webkit-win32.png and /dev/null differ diff --git a/tests/screenshot.css b/tests/screenshot.css new file mode 100644 index 00000000..230018cd --- /dev/null +++ b/tests/screenshot.css @@ -0,0 +1,3 @@ +.gitinfo { + display: none; +} \ No newline at end of file diff --git a/tests/visual.spec.ts b/tests/visual.spec.ts index 0899ba81..c3a14369 100644 --- a/tests/visual.spec.ts +++ b/tests/visual.spec.ts @@ -26,5 +26,5 @@ async function visualDiff(page: Page, url: string) { } // Set up listeners concurrently - await expect(page).toHaveScreenshot({ fullPage: true, timeout: 10000}); + await expect(page).toHaveScreenshot({ fullPage: true, timeout: 10000, stylePath: "tests/screenshot.css" }); } diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-Google-Chrome-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-Google-Chrome-win32.png deleted file mode 100644 index a55422c4..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-Google-Chrome-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-Microsoft-Edge-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-Microsoft-Edge-win32.png deleted file mode 100644 index 7b37dcbb..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-Microsoft-Edge-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-Mobile-Chrome-Dark-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-Mobile-Chrome-Dark-win32.png deleted file mode 100644 index 1ee542a5..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-Mobile-Chrome-Dark-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-Mobile-Chrome-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-Mobile-Chrome-win32.png deleted file mode 100644 index ecd646db..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-Mobile-Chrome-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-Mobile-Safari-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-Mobile-Safari-win32.png deleted file mode 100644 index 284c28a8..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-Mobile-Safari-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-chromium-dark-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-chromium-dark-win32.png deleted file mode 100644 index b6dba0ae..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-chromium-dark-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-chromium-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-chromium-win32.png deleted file mode 100644 index 7b37dcbb..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-chromium-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-firefox-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-firefox-win32.png deleted file mode 100644 index 9bf00423..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-firefox-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-webkit-dark-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-webkit-dark-win32.png deleted file mode 100644 index a855c30a..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-webkit-dark-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-webkit-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-webkit-win32.png deleted file mode 100644 index d2f93acb..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-About-1-webkit-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-Google-Chrome-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-Google-Chrome-win32.png deleted file mode 100644 index 7eab9250..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-Google-Chrome-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-Microsoft-Edge-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-Microsoft-Edge-win32.png deleted file mode 100644 index 3847a1b0..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-Microsoft-Edge-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-Mobile-Chrome-Dark-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-Mobile-Chrome-Dark-win32.png deleted file mode 100644 index cb819a43..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-Mobile-Chrome-Dark-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-Mobile-Chrome-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-Mobile-Chrome-win32.png deleted file mode 100644 index f5470da1..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-Mobile-Chrome-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-Mobile-Safari-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-Mobile-Safari-win32.png deleted file mode 100644 index 62d17dd7..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-Mobile-Safari-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-chromium-dark-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-chromium-dark-win32.png deleted file mode 100644 index 24226daf..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-chromium-dark-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-chromium-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-chromium-win32.png deleted file mode 100644 index 3847a1b0..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-chromium-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-firefox-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-firefox-win32.png deleted file mode 100644 index ca82b02f..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-firefox-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-webkit-dark-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-webkit-dark-win32.png deleted file mode 100644 index eb8e2f7a..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-webkit-dark-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-webkit-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-webkit-win32.png deleted file mode 100644 index 85d07dea..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Sample-Code-1-webkit-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-Google-Chrome-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-Google-Chrome-win32.png deleted file mode 100644 index 90c93eff..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-Google-Chrome-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-Microsoft-Edge-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-Microsoft-Edge-win32.png deleted file mode 100644 index 3944b7d3..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-Microsoft-Edge-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-Mobile-Chrome-Dark-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-Mobile-Chrome-Dark-win32.png deleted file mode 100644 index 67269c62..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-Mobile-Chrome-Dark-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-Mobile-Chrome-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-Mobile-Chrome-win32.png deleted file mode 100644 index a1ea1400..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-Mobile-Chrome-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-Mobile-Safari-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-Mobile-Safari-win32.png deleted file mode 100644 index 9cf5aef2..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-Mobile-Safari-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-firefox-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-firefox-win32.png deleted file mode 100644 index dd0fc4a3..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-firefox-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-webkit-dark-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-webkit-dark-win32.png deleted file mode 100644 index b76680e7..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-webkit-dark-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-webkit-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-webkit-win32.png deleted file mode 100644 index 741dfeb6..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Small-Album-1-webkit-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Google-Chrome-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Google-Chrome-win32.png deleted file mode 100644 index e19d5920..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Google-Chrome-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Microsoft-Edge-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Microsoft-Edge-win32.png deleted file mode 100644 index 2652115f..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Microsoft-Edge-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Mobile-Chrome-Dark-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Mobile-Chrome-Dark-win32.png deleted file mode 100644 index 97e8f89f..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Mobile-Chrome-Dark-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Mobile-Chrome-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Mobile-Chrome-win32.png deleted file mode 100644 index 5e668a8e..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Mobile-Chrome-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Mobile-Safari-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Mobile-Safari-win32.png deleted file mode 100644 index bdb86bf0..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-Mobile-Safari-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-chromium-dark-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-chromium-dark-win32.png deleted file mode 100644 index aadff7cd..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-chromium-dark-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-chromium-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-chromium-win32.png deleted file mode 100644 index 2652115f..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-chromium-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-firefox-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-firefox-win32.png deleted file mode 100644 index 891a3b9d..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-firefox-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-webkit-dark-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-webkit-dark-win32.png deleted file mode 100644 index ba6c9db7..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-webkit-dark-win32.png and /dev/null differ diff --git a/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-webkit-win32.png b/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-webkit-win32.png deleted file mode 100644 index e6f35e5d..00000000 Binary files a/tests/visual.spec.ts-snapshots/Visual-Diff-Text-and-Image-1-webkit-win32.png and /dev/null differ diff --git a/themes/hello-friend-ng/layouts/_default/single.html b/themes/hello-friend-ng/layouts/_default/single.html index c839b3f8..a05720e7 100644 --- a/themes/hello-friend-ng/layouts/_default/single.html +++ b/themes/hello-friend-ng/layouts/_default/single.html @@ -45,7 +45,7 @@
{{ .GitInfo.AbbreviatedHash }} @ {{ if .Site.Params.dateformNum }}{{ dateFormat .Site.Params.dateformNum .GitInfo.AuthorDate.Local }}{{ else }}{{ dateFormat "2006-01-02" .GitInfo.AuthorDate.Local }}{{ end }}
+{{ .GitInfo.AbbreviatedHash }} @ {{ if .Site.Params.dateformNum }}{{ dateFormat .Site.Params.dateformNum .GitInfo.AuthorDate.Local }}{{ else }}{{ dateFormat "2006-01-02" .GitInfo.AuthorDate.Local }}{{ end }}
{{- end }} diff --git a/themes/hello-friend-ng/layouts/albums/single.html b/themes/hello-friend-ng/layouts/albums/single.html index b6894a0b..d8bb71c2 100644 --- a/themes/hello-friend-ng/layouts/albums/single.html +++ b/themes/hello-friend-ng/layouts/albums/single.html @@ -60,7 +60,7 @@{{ .GitInfo.AbbreviatedHash }} @ {{ if .Site.Params.dateformNum }}{{ dateFormat .Site.Params.dateformNum .GitInfo.AuthorDate.Local }}{{ else }}{{ dateFormat "2006-01-02" .GitInfo.AuthorDate.Local }}{{ end }}
+{{ .GitInfo.AbbreviatedHash }} @ {{ if .Site.Params.dateformNum }}{{ dateFormat .Site.Params.dateformNum .GitInfo.AuthorDate.Local }}{{ else }}{{ dateFormat "2006-01-02" .GitInfo.AuthorDate.Local }}{{ end }}
{{- end }} diff --git a/themes/hello-friend-ng/layouts/posts/single.html b/themes/hello-friend-ng/layouts/posts/single.html index ec7fda51..89fe5a0b 100644 --- a/themes/hello-friend-ng/layouts/posts/single.html +++ b/themes/hello-friend-ng/layouts/posts/single.html @@ -48,7 +48,7 @@{{ .GitInfo.AbbreviatedHash }} @ {{ if .Site.Params.dateformNum }}{{ dateFormat .Site.Params.dateformNum .GitInfo.AuthorDate.Local }}{{ else }}{{ dateFormat "2006-01-02" .GitInfo.AuthorDate.Local }}{{ end }}
+{{ .GitInfo.AbbreviatedHash }} @ {{ if .Site.Params.dateformNum }}{{ dateFormat .Site.Params.dateformNum .GitInfo.AuthorDate.Local }}{{ else }}{{ dateFormat "2006-01-02" .GitInfo.AuthorDate.Local }}{{ end }}
{{- end }}