code quality
This commit is contained in:
@@ -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'
|
||||
}
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user