🧪 Add checkly

This commit is contained in:
ajnart
2023-05-16 15:25:32 +09:00
parent 052a8c9489
commit 841cd6ab28
6 changed files with 39116 additions and 9025 deletions

View 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' })
})