test(e2e): fix duplicate base const in job-history spec
This commit is contained in:
@@ -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 });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user