auto(agent): Run expanded local discovery and continue with next actionable task
This commit is contained in:
parent
73029aefec
commit
8f9833c731
3 changed files with 8 additions and 8 deletions
|
|
@ -1,6 +1,6 @@
|
|||
const { defineConfig, devices } = require('@playwright/test');
|
||||
import { defineConfig, devices } from '@playwright/test';
|
||||
|
||||
module.exports = defineConfig({
|
||||
export default defineConfig({
|
||||
testDir: './tests',
|
||||
timeout: 30000,
|
||||
expect: {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { defineConfig } from '@playwright/test';
|
||||
import { defineConfig, devices } from '@playwright/test';
|
||||
|
||||
export default defineConfig({
|
||||
testDir: './tests',
|
||||
|
|
@ -20,7 +20,7 @@ export default defineConfig({
|
|||
{
|
||||
name: 'chromium',
|
||||
use: {
|
||||
// ...devices['Desktop Chrome'],
|
||||
...devices['Desktop Chrome'],
|
||||
},
|
||||
},
|
||||
],
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import { test, expect } from '@playwright/test';
|
||||
|
||||
test('API server starts and returns 200', async ({ page }) => {
|
||||
await page.goto('http://localhost:3000/api/health');
|
||||
const status = await page.status();
|
||||
expect(status).toBe(200);
|
||||
test('API server starts and returns 200', async () => {
|
||||
// Verwende fetch statt Playwrights page-Objekt für einen einfachen HTTP-Test
|
||||
const response = await fetch('http://localhost:3000/api/health');
|
||||
expect(response.status).toBe(200);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue