test: layout header, footer and sidebar
This commit is contained in:
14
playwright/tests/components/footer/footerTest.ts
Normal file
14
playwright/tests/components/footer/footerTest.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { Page, expect } from "@playwright/test";
|
||||
|
||||
/**
|
||||
* Footer assertions.
|
||||
*/
|
||||
export async function footerTest(page: Page) {
|
||||
await expect(page.getByText(/Littwin Systemtechnik GmbH/)).toBeVisible();
|
||||
await expect(page.getByText(/Telefon: 04402 972577/)).toBeVisible();
|
||||
await expect(
|
||||
page.getByText(/kontakt@littwin-systemtechnik\.de/)
|
||||
).toBeVisible();
|
||||
// Handbücher Button/Icon (Text oder Button reicht)
|
||||
await expect(page.getByText(/Handbücher/)).toBeVisible();
|
||||
}
|
||||
Reference in New Issue
Block a user