Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/release-3.0.0' into v3-remove-bo…
Browse files Browse the repository at this point in the history
…otstrap
  • Loading branch information
danielleroux committed Nov 26, 2024
2 parents 9ec86bc + 333e970 commit ce1fcd3
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 0 deletions.
29 changes: 29 additions & 0 deletions packages/core/src/tests/html-tags/basic/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<!--
SPDX-FileCopyrightText: 2024 Siemens AG
SPDX-License-Identifier: MIT
-->

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0"
/>
<title>Stencil Component Starter</title>
</head>
<body>
<h1>I am a h1</h1>
<h2>I am a h2</h2>
<h3>I am a h3</h3>
<h4>I am a h4</h4>
<h5>I am a h5</h5>
<h6>I am a h6</h6>
<p>I am a p</p>
<a href="https://www.google.com">I am a link</a>
<a>Iam a a</a>
<script src="http://127.0.0.1:8080/scripts/e2e/load-e2e-runtime.js"></script>
</body>
</html>
18 changes: 18 additions & 0 deletions packages/core/src/tests/html-tags/html-tags.e2e.ts
Original file line number Diff line number Diff line change
@@ -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();
});
});
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ce1fcd3

Please sign in to comment.