feat(workspace): refine career workflows
Make job/CV comparisons language-aware and filter recruitment noise. Improve responsive career navigation, shared spacing, dashboard priorities, settings, localized workspace controls, and portable browser tests.
This commit is contained in:
@@ -7,6 +7,11 @@ const appUrl = "http://localhost:3300";
|
||||
const dataRoot = path.join(os.tmpdir(), `jobtracker-e2e-${process.pid}-${Date.now().toString(36)}`);
|
||||
const reuseServers = process.env.PLAYWRIGHT_REUSE_SERVERS === "true";
|
||||
const useStaticExport = process.env.PLAYWRIGHT_STATIC_EXPORT === "true";
|
||||
const quote = (value: string) => `"${value.replaceAll('"', '\\"')}"`;
|
||||
const nodeCommand = quote(process.execPath);
|
||||
const dotnetCommand = quote(process.env.DOTNET_HOST_PATH || "dotnet");
|
||||
const nextCommand = quote(path.resolve("node_modules/next/dist/bin/next"));
|
||||
const exportServerCommand = quote(path.resolve("scripts/serve-export.mjs"));
|
||||
|
||||
export default defineConfig({
|
||||
testDir: "./e2e",
|
||||
@@ -22,7 +27,7 @@ export default defineConfig({
|
||||
projects: [{ name: "chromium", use: { ...devices["Desktop Chrome"] } }],
|
||||
webServer: [
|
||||
{
|
||||
command: "dotnet run --no-build --configuration Release --project ../JobTrackerApi/JobTrackerApi.csproj --urls http://localhost:5302",
|
||||
command: `${dotnetCommand} run --no-build --configuration Release --project ../JobTrackerApi/JobTrackerApi.csproj --urls http://localhost:5302`,
|
||||
url: `${apiUrl}/health`,
|
||||
timeout: 120_000,
|
||||
reuseExistingServer: reuseServers,
|
||||
@@ -43,8 +48,8 @@ export default defineConfig({
|
||||
},
|
||||
{
|
||||
command: useStaticExport
|
||||
? "npm run build && npm run serve:export"
|
||||
: "npm run dev -- --hostname localhost --port 3300",
|
||||
? `${nodeCommand} ${nextCommand} build && ${nodeCommand} ${exportServerCommand}`
|
||||
: `${nodeCommand} ${nextCommand} dev --webpack --hostname localhost --port 3300`,
|
||||
url: appUrl,
|
||||
timeout: 120_000,
|
||||
reuseExistingServer: reuseServers,
|
||||
|
||||
Reference in New Issue
Block a user