fix(web): show artifact paths relative to the workspace

This commit is contained in:
yudshj authored and imccyu committed 2026-09-09 15:26:34 +08:00
1 parent b27d861741
commit 5b671d7df3
19 files changed
+80 -36

No files matched your search

+1
View File
@@ -122,6 +122,7 @@ fs.appendFileSync(${JSON.stringify(openLog)}, JSON.stringify({ path, action, con
const row = page.locator('[data-presented-files-row]')
await row.waitFor()
expect(await row.getByRole('button').count()).toBe(4)
expect(await row.getByTitle(join(cwd, 'report.txt'), { exact: true }).innerText()).toBe('report.txt')
const beforeReveal = (await opened()).length
await row.getByRole('button', { name: 'More file actions for report.txt', exact: true }).click()
const revealResponse = page.waitForResponse(response => response.url().includes('action=reveal') && response.request().method() === 'POST')