From 9f38cdfd0f9bbeafe5441d064878ed4303f7d203 Mon Sep 17 00:00:00 2001 From: ShareVB Date: Sun, 7 Jul 2024 23:37:42 +0200 Subject: [PATCH] fix: ignore some tools ie /camera-recorder --- src/tools/all-tools.e2e.spec.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/tools/all-tools.e2e.spec.ts b/src/tools/all-tools.e2e.spec.ts index 148c0857..dd2dc24a 100644 --- a/src/tools/all-tools.e2e.spec.ts +++ b/src/tools/all-tools.e2e.spec.ts @@ -1,5 +1,7 @@ import { expect, test } from '@playwright/test'; +const ignoredHrefs = new Set(['/camera-recorder']); + test.describe('IT Tool', () => { test('Loads all tools correctly', async ({ page }) => { test.slow(); @@ -26,6 +28,9 @@ test.describe('IT Tool', () => { }); for (const toolHref of allTools) { + if (ignoredHrefs.has(toolHref)) { + continue; + } await test.step(toolHref, async () => { errors.splice(0, errors.length);