mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-12 00:15:48 +01:00
12 lines
401 B
TypeScript
12 lines
401 B
TypeScript
import { test, expect } from '@playwright/test'
|
|
|
|
// You can override the default Playwright test timeout of 30s
|
|
// test.setTimeout(60_000);
|
|
|
|
test('Checkly Homepage', async ({ page }) => {
|
|
const response = await page.goto('https://danube-web.shop')
|
|
expect(response?.status()).toBeLessThan(400)
|
|
await expect(page).toHaveTitle(/Danube WebShop/)
|
|
await page.screenshot({ path: 'homepage.jpg' })
|
|
})
|