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',
|
testDir: './tests',
|
||||||
timeout: 30000,
|
timeout: 30000,
|
||||||
expect: {
|
expect: {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { defineConfig } from '@playwright/test';
|
import { defineConfig, devices } from '@playwright/test';
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
testDir: './tests',
|
testDir: './tests',
|
||||||
|
|
@ -20,7 +20,7 @@ export default defineConfig({
|
||||||
{
|
{
|
||||||
name: 'chromium',
|
name: 'chromium',
|
||||||
use: {
|
use: {
|
||||||
// ...devices['Desktop Chrome'],
|
...devices['Desktop Chrome'],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import { test, expect } from '@playwright/test';
|
import { test, expect } from '@playwright/test';
|
||||||
|
|
||||||
test('API server starts and returns 200', async ({ page }) => {
|
test('API server starts and returns 200', async () => {
|
||||||
await page.goto('http://localhost:3000/api/health');
|
// Verwende fetch statt Playwrights page-Objekt für einen einfachen HTTP-Test
|
||||||
const status = await page.status();
|
const response = await fetch('http://localhost:3000/api/health');
|
||||||
expect(status).toBe(200);
|
expect(response.status).toBe(200);
|
||||||
});
|
});
|
||||||
Loading…
Add table
Add a link
Reference in a new issue