- Implement dynamic caching for reports summary API to ensure up-to-date data. - Update reports summary endpoint to include guest counts and table details. - Improve error handling and user feedback in the ReportsExports component. - Add retry functionality for failed data fetches and display appropriate alerts. - Update UI to inform users when no guests are present in the database.
18 lines
515 B
TypeScript
18 lines
515 B
TypeScript
import { defineConfig } from "@playwright/test";
|
|
import base from "./playwright.config";
|
|
|
|
/**
|
|
* Config for running reports e2e against an already-running dev server on port 3001.
|
|
* Usage: npx playwright test e2e/reports-exports.spec.ts --config=playwright.reports-check.config.ts
|
|
*/
|
|
export default defineConfig({
|
|
...base,
|
|
use: { ...base.use, baseURL: "http://localhost:3001" },
|
|
webServer: {
|
|
url: "http://localhost:3001",
|
|
reuseExistingServer: true,
|
|
command: "true",
|
|
timeout: 5_000,
|
|
},
|
|
});
|