From 940a7b51f70c9271ce141a79a4330addd926ec49 Mon Sep 17 00:00:00 2001 From: Mister-Hope Date: Wed, 22 May 2024 14:10:55 +0800 Subject: [PATCH] test: add test --- e2e/tests/client-config/no-export.spec.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 e2e/tests/client-config/no-export.spec.ts diff --git a/e2e/tests/client-config/no-export.spec.ts b/e2e/tests/client-config/no-export.spec.ts new file mode 100644 index 0000000000..73db389403 --- /dev/null +++ b/e2e/tests/client-config/no-export.spec.ts @@ -0,0 +1,9 @@ +import { expect, test } from '@playwright/test' + +test('should import styles in client config file not exports', async ({ + page, +}) => { + await page.goto('markdown/anchor.html', { waitUntil: 'domcontentloaded' }) + + await expect(page.locator('#title')).toHaveCSS('font-size', '32px') +})