From 9c4553f3d0d299b47c49031037c573fb62ef2e5c Mon Sep 17 00:00:00 2001 From: Keith Solomon Date: Sat, 25 Jul 2026 00:16:26 -0500 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20test:=20Add=20assertion=20for=20dyn?= =?UTF-8?q?amic=20grid=20column=20class?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/services-page.spec.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/services-page.spec.js b/tests/services-page.spec.js index c187822..7bc68d7 100644 --- a/tests/services-page.spec.js +++ b/tests/services-page.spec.js @@ -11,6 +11,9 @@ test.describe("Services List block on /services/mapping/", () => { await expect(blocks.nth(0).locator(".services-list__card")).toHaveCount(2); await expect(blocks.nth(1).locator(".services-list__card")).toHaveCount(4); + await expect(blocks.nth(0)).toHaveClass(/lg:grid-cols-2/); + await expect(blocks.nth(1)).toHaveClass(/lg:grid-cols-4/); + const firstCard = blocks.nth(0).locator(".services-list__card").first(); await expect(firstCard.locator(".services-list__media img")).toBeVisible(); await expect(firstCard.locator(".services-list__heading")).toBeVisible();