One shell with the current look: indicators, follow-up list and patient view from FHIR; /conectar canvas; /revision; Playwright page tests
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
import { defineConfig } from '@playwright/test';
|
||||
|
||||
/** The pages against a running API (API_URL), served by the dev server with the same
|
||||
* proxy the app uses in production (`/api`). Run by WebApi/tests/test_webapp.py, which
|
||||
* starts the platform and loads the synthetic hospital first. */
|
||||
export default defineConfig({
|
||||
testDir: 'e2e',
|
||||
timeout: 15 * 60_000,
|
||||
expect: { timeout: 60_000 },
|
||||
workers: 1,
|
||||
reporter: 'list',
|
||||
use: {
|
||||
baseURL: 'http://127.0.0.1:4310',
|
||||
viewport: { width: 1440, height: 1000 },
|
||||
actionTimeout: 60_000, // a stuck step fails, not the whole run
|
||||
},
|
||||
webServer: {
|
||||
command: 'npx ng serve --port 4310 --proxy-config proxy.e2e.mjs',
|
||||
url: 'http://127.0.0.1:4310',
|
||||
timeout: 180_000,
|
||||
reuseExistingServer: false,
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user