fix(web): show artifact paths relative to the workspace
This commit is contained in:
1 parent
b27d861741
commit
5b671d7df3
19 files changed
+80
-36
No files matched your search
@@ -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')
|
||||
|
||||
Reference in new issue
Block a user