code quality

This commit is contained in:
2026-01-26 23:23:15 +01:00
parent 09632d004d
commit 9b31eaf728
7 changed files with 47 additions and 20 deletions

View File

@@ -1,11 +1,11 @@
import { defineConfig } from '@playwright/test';
/**
* Playwright configuration for API smoke tests
*
* Purpose: Test API endpoints directly without browser interaction
* Scope: HTTP requests to API server, response validation, error handling
*/
/**
* Playwright configuration for API smoke tests
*
* Purpose: Test API endpoints directly without browser interaction
* Scope: HTTP requests to API server, response validation, error handling
*/
export default defineConfig({
testDir: './tests/e2e/api',
@@ -40,6 +40,10 @@ export default defineConfig({
// No webServer - API should be running externally
webServer: undefined,
// No browser projects needed for API tests
projects: [],
// API project for smoke tests (no browser needed)
projects: [
{
name: 'api-smoke'
}
],
});