Skip to content

Commit

Permalink
fix: fix test indicator link
Browse files Browse the repository at this point in the history
If using Playwright in Docker
  • Loading branch information
gregberge committed Oct 24, 2024
1 parent 067d6f8 commit 691f891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/frontend/src/pages/Build/metadata/TestIndicator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function TestIndicator({
<Tooltip content="View test on GitHub">
<Chip icon={FlaskConical} scale="xs" {...props}>
<Link
href={`${repoUrl}/blob/${branch}/${test.location.file}#L${test.location.line}`}
href={`${repoUrl}/blob/${branch}/${test.location.file.replace(/^\/workspace\/github\//, "")}#L${test.location.line}`}
target="_blank"
>
{title}
Expand Down

0 comments on commit 691f891

Please sign in to comment.