diff --git a/packages/core/src/tests/html-tags/basic/index.html b/packages/core/src/tests/html-tags/basic/index.html new file mode 100644 index 0000000000..ed8cda2585 --- /dev/null +++ b/packages/core/src/tests/html-tags/basic/index.html @@ -0,0 +1,29 @@ + + + + +
+ + +I am a p
+ I am a link + Iam a a + + + diff --git a/packages/core/src/tests/html-tags/html-tags.e2e.ts b/packages/core/src/tests/html-tags/html-tags.e2e.ts new file mode 100644 index 0000000000..68801800f1 --- /dev/null +++ b/packages/core/src/tests/html-tags/html-tags.e2e.ts @@ -0,0 +1,18 @@ +/* + * SPDX-FileCopyrightText: 2024 Siemens AG + * + * SPDX-License-Identifier: MIT + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +import { expect } from '@playwright/test'; +import { regressionTest } from '@utils/test'; + +regressionTest.describe('html-tags', () => { + regressionTest('basic', async ({ page }) => { + await page.goto('html-tags/basic'); + expect(await page.screenshot({ fullPage: true })).toMatchSnapshot(); + }); +}); diff --git a/packages/core/src/tests/html-tags/html-tags.e2e.ts-snapshots/html-tags-basic-1-chromium---theme-classic-dark-linux.png b/packages/core/src/tests/html-tags/html-tags.e2e.ts-snapshots/html-tags-basic-1-chromium---theme-classic-dark-linux.png new file mode 100644 index 0000000000..54641b55bf Binary files /dev/null and b/packages/core/src/tests/html-tags/html-tags.e2e.ts-snapshots/html-tags-basic-1-chromium---theme-classic-dark-linux.png differ diff --git a/packages/core/src/tests/html-tags/html-tags.e2e.ts-snapshots/html-tags-basic-1-chromium---theme-classic-light-linux.png b/packages/core/src/tests/html-tags/html-tags.e2e.ts-snapshots/html-tags-basic-1-chromium---theme-classic-light-linux.png new file mode 100644 index 0000000000..8cbacec5cb Binary files /dev/null and b/packages/core/src/tests/html-tags/html-tags.e2e.ts-snapshots/html-tags-basic-1-chromium---theme-classic-light-linux.png differ