mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-07 16:18:34 +00:00
Signed-off-by: Rui Chen <rui@chenrui.dev> Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
13 lines
375 B
JavaScript
13 lines
375 B
JavaScript
import { test } from '@playwright/test';
|
|
|
|
test('page should load without errors', async ({ page }) => {
|
|
// Listen for any errors that occur within the page
|
|
page.on('pageerror', error => {
|
|
console.error('Page error:', error.message);
|
|
throw new Error(`Page error: ${error.message}`);
|
|
});
|
|
|
|
// Navigate to the URL
|
|
await page.goto('http://localhost:8080/');
|
|
});
|