mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-14 09:25:47 +01:00
🧪 Add checkly
This commit is contained in:
11
__checks__/homepage.spec.ts
Normal file
11
__checks__/homepage.spec.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
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' })
|
||||
})
|
||||
Reference in New Issue
Block a user