Add task attachment management to Self-Serve Studio. Extend graph, path outcomes, and flow logic. Update E2E/unit tests with attachment creation, upload, download, deletion flows, and related validations.
This commit is contained in:
@@ -386,12 +386,21 @@ async function warmModuleGraph(entryUrl, { depth = 2, timeoutMs = 120_000 } = {}
|
||||
|
||||
async function warmUpDevServer(url) {
|
||||
const warmupTargets = await buildWarmupTargets();
|
||||
const selfServeEntryModules = [
|
||||
"/src/views/dashboards/userDashboard/wash/MyWash.vue",
|
||||
"/src/views/dashboards/userDashboard/wash/MyWashStart.vue",
|
||||
"/src/views/dashboards/departmentDashboard/modules/self-serve/DepartmentSelfServeStudio.vue",
|
||||
"/src/views/guest/book/GuestBookExteriorWash.vue",
|
||||
];
|
||||
|
||||
for (const target of warmupTargets) {
|
||||
await warmUpAsset(new URL(target.pathname, url).toString(), target.expectedContentType);
|
||||
}
|
||||
|
||||
await warmModuleGraph(new URL("/src/main.js", url).toString());
|
||||
for (const entryModule of selfServeEntryModules) {
|
||||
await warmModuleGraph(new URL(entryModule, url).toString(), { depth: 2 });
|
||||
}
|
||||
await new Promise((resolve) => setTimeout(resolve, 1000));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user