diff --git a/tests/job-history.spec.ts b/tests/job-history.spec.ts index 5484069..6879afc 100644 --- a/tests/job-history.spec.ts +++ b/tests/job-history.spec.ts @@ -18,7 +18,6 @@ test("JobHistory shows jobs and job detail navigates", async ({ page }) => { expect(jobId).toBeTruthy(); // Navigate to stock detail page directly (use absolute URL to avoid SPA navigation races) - const base = new URL(page.url()).origin; await page.goto(`${base}/stocks/${ticker}`, { waitUntil: 'load', timeout: 20000 }); await page.waitForSelector('text=Job History', { timeout: 10000 });