From 41820aacde928e3fd6bf44b182dc94f5e6ff89f6 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 31 Mar 2026 09:31:16 +0000 Subject: [PATCH] test: add test for description meta tag Co-authored-by: xRahul <1639945+xRahul@users.noreply.github.com> --- tests/seo.spec.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/seo.spec.ts b/tests/seo.spec.ts index 7758aec9..6bbe0957 100644 --- a/tests/seo.spec.ts +++ b/tests/seo.spec.ts @@ -1,5 +1,14 @@ import { test, expect } from '@playwright/test'; +test('has description meta tag', async ({ page }) => { + await page.goto('/'); + + await expect(page.locator('meta[name="description"]')).toHaveAttribute( + 'content', + 'Rahul Jain is a senior software engineer and tech enthusiast living in Singapore' + ); +}); + test('has opengraph and twitter meta tags', async ({ page }) => { await page.goto('/');